summaryrefslogtreecommitdiff
path: root/git-commit.sh
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2006-10-03 18:38:25 +0200
committerJunio C Hamano <junkio@cox.net>2006-10-03 23:58:38 -0700
commitc065b6e4293f856012ec53fcff7bf4d47ac50927 (patch)
tree214614dcbf6b8020c091d544fd078a0c33d10d05 /git-commit.sh
parent281e67d6fa8e523147792c17fbe6db03f13f72e1 (diff)
downloadgit-c065b6e4293f856012ec53fcff7bf4d47ac50927.tar.gz
git-commit: cleanup unused function.
The report() function is not used anymore. Kill it. Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-commit.sh')
-rwxr-xr-xgit-commit.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/git-commit.sh b/git-commit.sh
index 5a4c659b6f..6f6cbda898 100755
--- a/git-commit.sh
+++ b/git-commit.sh
@@ -32,33 +32,6 @@ save_index () {
cp -p "$THIS_INDEX" "$NEXT_INDEX"
}
-report () {
- header="#
-# $1:
-# ($2)
-#
-"
- trailer=""
- while read status name newname
- do
- printf '%s' "$header"
- header=""
- trailer="#
-"
- case "$status" in
- M ) echo "# modified: $name";;
- D*) echo "# deleted: $name";;
- T ) echo "# typechange: $name";;
- C*) echo "# copied: $name -> $newname";;
- R*) echo "# renamed: $name -> $newname";;
- A*) echo "# new file: $name";;
- U ) echo "# unmerged: $name";;
- esac
- done
- printf '%s' "$trailer"
- [ "$header" ]
-}
-
run_status () {
# If TMP_INDEX is defined, that means we are doing
# "--only" partial commit, and that index file is used