diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-08-22 15:24:08 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-11-25 14:52:45 +0100 |
commit | 17f19806f7de23212561c879c0f2b003f3958642 (patch) | |
tree | f5976d251a20bfdf4f0c63503ea977e745b37898 /projects/linux/io/done/bsp392_SCIF.yaml | |
parent | b0d252d6a4a43a3143b488bba5a61c83e93a1301 (diff) |
scripts/pre-commit: Auto-generate keys when needed
Generate unique keys for YAML project files lacking them.
There are two minor issues left:
1. Due to the "git add", not only the key is added to the file,
but also any other changes that are not yet staged,
2. When doing "git add <file>; git commit <file>", the addition of
the key is also left in the unstaged changes as a side effect,
so "git diff" still shows that change as uncommitted.
More investigation shows this only happens when passing the
file name to the "git commit" command. Hence it does not
happen when doing "git add <file>; git commit".
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Diffstat (limited to 'projects/linux/io/done/bsp392_SCIF.yaml')
0 files changed, 0 insertions, 0 deletions