Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2011-04-01 13:20:33 +0400
committerJunio C Hamano <gitster@pobox.com>2011-04-02 01:42:31 +0400
commit4b56cf58a9ee684d47e01d815eccd75252d61da5 (patch)
treeb1906e020252b7f249b0e8bb9ff9fc091058a531 /t/t1411-reflog-show.sh
parent21d2616a7181472ae43e33d762a2733827cff9e9 (diff)
reflog: fix overriding of command line options
Currently, "git reflog" overrides some command line options such as "--format". Fix this by using the new 2-phase version of cmd_log_init(). Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1411-reflog-show.sh')
-rwxr-xr-xt/t1411-reflog-show.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1411-reflog-show.sh b/t/t1411-reflog-show.sh
index 88dc6a781b..caa687b5b4 100755
--- a/t/t1411-reflog-show.sh
+++ b/t/t1411-reflog-show.sh
@@ -41,7 +41,7 @@ Author: A U Thor <author@example.com>
one
EOF
-test_expect_failure 'override reflog default format' '
+test_expect_success 'override reflog default format' '
git reflog --format=short -1 >actual &&
test_cmp expect actual
'