From: Torsten Bögershausen Date: Mon, 25 Apr 2016 16:56:27 +0000 (+0200) Subject: t0027: make commit_chk_wrnNNO() reliable X-Git-Tag: v2.8.4~3^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ded2444ad8ab8128cae2b91b8efa57ea2dd8c7a5?ds=inline;hp=ded2444ad8ab8128cae2b91b8efa57ea2dd8c7a5 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 Signed-off-by: Junio C Hamano ---