Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Bögershausen <tboegi@web.de>2016-04-25 19:56:27 +0300
committerJunio C Hamano <gitster@pobox.com>2016-04-25 22:10:48 +0300
commitded2444ad8ab8128cae2b91b8efa57ea2dd8c7a5 (patch)
treed580695a93c81ffe920ce3c062739a4d62a17573 /config.c
parent90f7b16b3adc78d4bbabbd426fb69aa78c714f71 (diff)
t0027: make commit_chk_wrnNNO() reliable
When the content of a commited file is unchanged and the attributes are changed, Git may not detect that the next commit must treat the file as changed. This happens when lstat() doesn't detect a change, since neither inode, mtime nor size are changed. Add a single "Z" character to change the file size and content. When the files are compared later in checkout_files(), the "Z" is removed before the comparison. Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
0 files changed, 0 insertions, 0 deletions