Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix sample pre-commit hook
author
Junio C Hamano
<gitster@pobox.com>
Fri, 23 Nov 2007 07:25:19 +0000
(23:25 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 23 Nov 2007 07:25:19 +0000
(23:25 -0800)
If the worktree happened to have a file called HEAD, "diff-index --cached HEAD"
would complain about the ambiguity between revision and path. Avoid it by
using an explicit "--" for disambiguation.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
raw
|
patch
| inline |
side by side
(from:
7a3db75
)
No differences found