Code

Remove unused variable (git-commit.sh)
authorJunio C Hamano <junkio@cox.net>
Tue, 2 Jan 2007 07:42:53 +0000 (23:42 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 2 Jan 2007 07:42:53 +0000 (23:42 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh

index 6bce41af4dc73d90028e76ba174e4e7795103d6c..04aad5e5da6fad46bc71c859286615c2f6ce11ab 100755 (executable)
@@ -8,7 +8,6 @@ SUBDIRECTORY_OK=Yes
 . git-sh-setup
 
 git-rev-parse --verify HEAD >/dev/null 2>&1 || initial_commit=t
-branch=$(GIT_DIR="$GIT_DIR" git-symbolic-ref HEAD)
 
 case "$0" in
 *status)