diff options
author | Junio C Hamano <junkio@cox.net> | 2006-01-29 14:52:16 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-01-29 14:52:16 -0800 |
commit | d37fd03222ad6b38aa6e237f5f191238c0544850 (patch) | |
tree | 12188d86cc5cf5f7f7bb9bded98715967bd03c3f /git-add.sh | |
parent | 181dc776956b4d265891ac70514ed214e4b7564a (diff) | |
download | git-d37fd03222ad6b38aa6e237f5f191238c0544850.tar.gz git-d37fd03222ad6b38aa6e237f5f191238c0544850.tar.xz |
[PATCH] pre-commit sample hook: do not barf on the initial import
The example hook barfs on the initial import. Ideally it should
produce a diff from an empty tree, but for now let's stop at
squelching the bogus error message. Often an initial import
involves tons of badly formatted files from foreign SCM, so not
complaining about them like this patch does might actually be a
better idea than enforcing the "Perfect Patch" format on them.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-add.sh')
0 files changed, 0 insertions, 0 deletions