summaryrefslogtreecommitdiff
path: root/contrib/subtree/t/t7900-subtree.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-08-19 14:41:24 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-19 14:41:25 -0700
commit5a30374a29a4ee9725d6ea165ead19a748eaed4c (patch)
tree7027cad79019819a66c130d9764ec92544d69bf3 /contrib/subtree/t/t7900-subtree.sh
parentSync with 2.4.8 (diff)
parentcontrib/subtree: ignore log.date configuration (diff)
downloadtgif-5a30374a29a4ee9725d6ea165ead19a748eaed4c.tar.xz
Merge branch 'da/subtree-date-confusion' into maint
"git subtree" (in contrib/) depended on "git log" output to be stable, which was a no-no. Apply a workaround to force a particular date format. * da/subtree-date-confusion: contrib/subtree: ignore log.date configuration
Diffstat (limited to 'contrib/subtree/t/t7900-subtree.sh')
-rwxr-xr-xcontrib/subtree/t/t7900-subtree.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/subtree/t/t7900-subtree.sh b/contrib/subtree/t/t7900-subtree.sh
index bd3df97936..90519823be 100755
--- a/contrib/subtree/t/t7900-subtree.sh
+++ b/contrib/subtree/t/t7900-subtree.sh
@@ -94,6 +94,10 @@ test_expect_success 'add sub3' '
# Back to mainline
cd ..
+test_expect_success 'enable log.date=relative to catch errors' '
+ git config log.date relative
+'
+
test_expect_success 'add main4' '
create main4 &&
git commit -m "main4" &&