* [PATCH] git-commit: cleanup unused function.
@ 2006-10-03 16:38 Martin Waitz
0 siblings, 0 replies; only message in thread
From: Martin Waitz @ 2006-10-03 16:38 UTC (permalink / raw)
To: git
The report() function is not used anymore. Kill it.
Signed-off-by: Martin Waitz <tali@admingilde.org>
---
git-commit.sh | 27 ---------------------------
1 files changed, 0 insertions(+), 27 deletions(-)
diff --git a/git-commit.sh b/git-commit.sh
index 5a4c659..6f6cbda 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
--
1.4.2.1.gbc1a5
--
Martin Waitz
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-03 16:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-03 16:38 [PATCH] git-commit: cleanup unused function Martin Waitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).