diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2008-05-25 22:17:57 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-25 20:29:30 -0700 |
commit | 97561fff3263add59ec25207a0c5a635b28ce9b9 (patch) | |
tree | c1dff2b66a00242996416d163840e6aa0b7bc252 /perl/Git.pm | |
parent | log --pretty: do not accept bogus "--prettyshort" (diff) | |
download | tgif-97561fff3263add59ec25207a0c5a635b28ce9b9.tar.xz |
Don't diff empty tree on branch creation in paranoid update hook
Listing all files in a branch during branch creation is silly;
the user's file-level ACLs probably don't mean anything at this
point. We now treat the base case of 0{40} as an empty diff,
as this happens only when the user is creating the branch and
there are file level ACLs that diff against the old value of
the branch.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'perl/Git.pm')
0 files changed, 0 insertions, 0 deletions