diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-08-29 00:16:39 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-29 00:16:39 -0700 |
commit | 445cac18c015809a7fcb4a570d3c6571b1ddaf7d (patch) | |
tree | 89eeb8e6618d9eb582ea5bd1a2cf781625ebc001 /t | |
parent | e990501312e22cfa910d88dc7143bc4eb3632ae1 (diff) | |
parent | 53d1589ff6bd336e3ece39e0a963a3d2a537cf96 (diff) | |
download | git-445cac18c015809a7fcb4a570d3c6571b1ddaf7d.tar.gz git-445cac18c015809a7fcb4a570d3c6571b1ddaf7d.tar.xz |
Merge branch 'maint'
* maint:
tutorial: gentler illustration of Alice/Bob workflow using gitk
pretty=format: respect date format options
make git-shell paranoid about closed stdin/stdout/stderr
Document gitk --argscmd flag.
Fix '--dirstat' with cross-directory renaming
for-each-ref: Allow a trailing slash in the patterns
Diffstat (limited to 't')
-rwxr-xr-x | t/t6006-rev-list-format.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t6006-rev-list-format.sh b/t/t6006-rev-list-format.sh index 9176484db..485ad4d44 100755 --- a/t/t6006-rev-list-format.sh +++ b/t/t6006-rev-list-format.sh @@ -139,6 +139,12 @@ commit 131a310eb913d107dd3c09a65d1651175898735d commit 86c75cfd708a0e5868dc876ed5b8bb66c80b4873 EOF +test_expect_success '%ad respects --date=' ' + echo 2005-04-07 >expect.ad-short && + git log -1 --date=short --pretty=tformat:%ad >output.ad-short master && + test_cmp expect.ad-short output.ad-short +' + test_expect_success 'empty email' ' test_tick && C=$(GIT_AUTHOR_EMAIL= git commit-tree HEAD^{tree} </dev/null) && |