diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-03-27 23:14:39 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-28 08:01:21 -0700 |
commit | 3be1f18e1b15c28ac6c750ff1a42576fd981d0f5 (patch) | |
tree | 934849257071ebf9506cc6151e4ac5f2df8246a5 /builtin-diff.c | |
parent | Move chmod(foo, 0444) into move_temp_to_file() (diff) | |
download | tgif-3be1f18e1b15c28ac6c750ff1a42576fd981d0f5.tar.xz |
move_temp_to_file(): do not forget to chmod() in "Coda hack" codepath
Now move_temp_to_file() is responsible for doing everything that is
necessary to turn a tempfile in $GIT_DIR into its final form, it must make
sure "Coda hack" codepath correctly makes the file read-only.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-diff.c')
0 files changed, 0 insertions, 0 deletions