diff options
| author | Matthias Lederhofer <matled@gmx.net> | 2007-06-03 16:48:16 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2007-06-06 16:07:53 -0700 |
| commit | 7ae3df8c0aa3b7337ae9ac7b6184ac05985bf996 (patch) | |
| tree | 7a0a38202a5dec2f1e509f624eb86b5979f63e84 /t/t4013/diff.diff_--patch-with-stat_initial..side | |
| parent | introduce GIT_WORK_TREE to specify the work tree (diff) | |
| download | git-7ae3df8c0aa3b7337ae9ac7b6184ac05985bf996.tar.gz git-7ae3df8c0aa3b7337ae9ac7b6184ac05985bf996.zip | |
Use new semantics of is_bare/inside_git_dir/inside_work_tree
Up to now to check for a working tree this was used:
!is_bare && !inside_git_dir
(the check for bare is redundant because is_inside_git_dir
returned already 1 for bare repositories).
Now the check is:
inside_work_tree && !inside_git_dir
Signed-off-by: Matthias Lederhofer <matled@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_--patch-with-stat_initial..side')
0 files changed, 0 insertions, 0 deletions
