diff options
author | Nicolas Pitre <nico@cam.org> | 2006-12-14 23:15:44 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-15 22:29:54 -0800 |
commit | ebd124c6783da5e064963611ee17741cd173f6b5 (patch) | |
tree | d3e5ba5b8a6ef190bc1144c841105a2de24425c9 /t/t1200-tutorial.sh | |
parent | 1510fea781cb0517eeba8c378964f7bc4f9577ab (diff) | |
download | git-ebd124c6783da5e064963611ee17741cd173f6b5.tar.gz |
make commit message a little more consistent and conforting
It is nicer to let the user know when a commit succeeded all the time,
not only the first time. Also the commit sha1 is much more useful than
the tree sha1 in this case.
This patch also introduces a -q switch to supress this message as well
as the summary of created/deleted files.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t1200-tutorial.sh')
-rwxr-xr-x | t/t1200-tutorial.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/t/t1200-tutorial.sh b/t/t1200-tutorial.sh index 0272dd4293..eebe643bda 100755 --- a/t/t1200-tutorial.sh +++ b/t/t1200-tutorial.sh @@ -37,8 +37,6 @@ test_expect_success 'tree' "test 8988da15d077d4829fc51d8544c097def6644dbb = $tre output="$(echo "Initial commit" | git-commit-tree $(git-write-tree) 2>&1 > .git/refs/heads/master)" -test_expect_success 'commit' "test 'Committing initial tree 8988da15d077d4829fc51d8544c097def6644dbb' = \"$output\"" - git-diff-index -p HEAD > diff.output test_expect_success 'git-diff-index -p HEAD' 'cmp diff.expect diff.output' |