summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1532017)
raw | patch | inline | side by side (parent: 1532017)
author | Michael S. Tsirkin <mst@dev.mellanox.co.il> | |
Mon, 16 Apr 2007 05:51:11 +0000 (08:51 +0300) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 16 Apr 2007 08:06:00 +0000 (01:06 -0700) |
Useful e.g. to figure out what I did from screen history,
or to make sure subject line is short enough and makes sense
on its own.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Junio C Hamano <junkio@cox.net>
or to make sure subject line is short enough and makes sense
on its own.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh | patch | blob | history |
diff --git a/git-commit.sh b/git-commit.sh
index 9e0959aec06c4d4d7b4f14660c26bc9dd941f111..f28fc242241d3f0f5c88b287da0c59417667a013 100755 (executable)
--- a/git-commit.sh
+++ b/git-commit.sh
fi
if test -z "$quiet"
then
+ commit=`git-diff-tree --always --shortstat --pretty="format:%h: %s"\
+ --summary --root HEAD --`
echo "Created${initial_commit:+ initial} commit $commit"
- git-diff-tree --shortstat --summary --root --no-commit-id HEAD --
fi
fi