summaryrefslogtreecommitdiff
path: root/wiki/2016-10-miniperi/out_0155.jpg
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-08-22 15:24:08 +0200
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-11-25 14:52:45 +0100
commit17f19806f7de23212561c879c0f2b003f3958642 (patch)
treef5976d251a20bfdf4f0c63503ea977e745b37898 /wiki/2016-10-miniperi/out_0155.jpg
parentb0d252d6a4a43a3143b488bba5a61c83e93a1301 (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 'wiki/2016-10-miniperi/out_0155.jpg')
0 files changed, 0 insertions, 0 deletions