The tests should not fail if log.date or log.decorate are set.
PATCH 1/1 The tests should not fail if log.date or log.decorate are set.
Explicitly set log.date and log.decorate to their Git default values, so that git produces the expected output even if log.date and log.decorate are set by the user in his .gitconfig.
Signed-off-by Per Cederqvist <[email protected]>
--- regression/scaffold | 4 ++++ 1 file changed, 4 insertions(+)
regression/scaffold +4 -0
@@ -83,6 +83,10 @@ function setup_git_repo git add def git commit -s -m "initial" 2> /dev/null > /dev/null # the commit should be d4850419ccc1146c7169f500725ce504b9774ed0 + + # Explicitly set config that the tests rely on. + git config log.date default + git config log.decorate no } function setup_guilt_repo
Signature · 1 line
1.7.10
Quoted 3 lines · Per Cederqvist
Explicitly set log.date and log.decorate to their Git default values, so that git produces the expected output even if log.date and log.decorate are set by the user in his .gitconfig.
Looks good.
Jeff.
Quoted 23 lines
Signed-off-by Per Cederqvist <[email protected]>--- regression/scaffold | 4 ++++ 1 file changed, 4 insertions(+)regression/scaffold +4
-0@@ -83,6 +83,10 @@ function setup_git_repo git add def git commit -s -m "initial" 2> /dev/null > /dev/null # the commit should be d4850419ccc1146c7169f500725ce504b9774ed0 + + # Explicitly set config that the tests rely on. + git config log.date default + git config log.decorate no } function setup_guilt_repoSignature · 1 line
1.7.10
Signature · 1 line
OpenIndiana oi_151a3: 8 cores, 16 GB RAM