summaryrefslogtreecommitdiff
path: root/git-commit.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-10-06 00:16:05 -0700
committerJunio C Hamano <junkio@cox.net>2006-10-06 00:16:05 -0700
commit4b4a5dbb17e1136275665024689625ed5cc5a03d (patch)
tree5962c8c82b5a8c492c42c90c9b959c39970d0124 /git-commit.sh
parentb2d3476e15cefdbd94366d4cf46fd05c1623034f (diff)
parentb5c698d947c236559e338e45c6234ece7c819338 (diff)
downloadgit-4b4a5dbb17e1136275665024689625ed5cc5a03d.tar.gz
Merge branch 'jc/blame' into jc/web-blame
* jc/blame: git-blame --porcelain blame.c: move code to output metainfo into a separate function. git-blame: --show-number (and -n) git-blame: --show-name (and -f) blame.c: whitespace and formatting clean-up. gitweb: Make the Git logo link target to point to the homepage gitweb: blame: Minimize vertical table row padding gitweb: Do not print "log" and "shortlog" redundantly in commit view vc-git.el: Switch to using git-blame instead of git-annotate. git.el: Fixed inverted "renamed from/to" message. tar-tree deprecation: we eat our own dog food. Add git-upload-archive to the main git man page git-commit: cleanup unused function. Fix usage string to match that given in the man page Update the gitweb/README file to include setting the GITWEB_CONFIG environment Conflicts: gitweb/gitweb.perl
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