summaryrefslogtreecommitdiff
path: root/git-commit.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-21 00:15:21 -0800
committerJunio C Hamano <junkio@cox.net>2006-03-21 00:15:21 -0800
commitf1250edff5356cba7d8e71ec68418a4233b8bed0 (patch)
treef4db547180350e555fb267c24f3badad21ef7911 /git-commit.sh
parent83c137928c77b83a3d5557bcff467cd020424442 (diff)
parent2f8acdb38e513e4b983209563faf4c1d38c4013e (diff)
downloadgit-f1250edff5356cba7d8e71ec68418a4233b8bed0.tar.gz
Merge branch 'jc/name' into next
* jc/name: core.warnambiguousrefs: warns when "name" is used and both "name" branch and tag exists. contrib/git-svn: allow rebuild to work on non-linear remote heads http-push: don't assume char is signed http-push: add support for deleting remote branches Be verbose when !initial commit Fix multi-paragraph list items in OPTIONS section http-fetch: nicer warning for a server with unreliable 404 status
Diffstat (limited to 'git-commit.sh')
-rwxr-xr-xgit-commit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-commit.sh b/git-commit.sh
index 330a434b18..1e7c09e1f2 100755
--- a/git-commit.sh
+++ b/git-commit.sh
@@ -161,7 +161,7 @@ run_status () {
}
'
- if test -n "$verbose"
+ if test -n "$verbose" -a -z "$IS_INITIAL"
then
git-diff-index --cached -M -p --diff-filter=MDTCRA $REFERENCE
fi