* [GUILT] [PATCH] The tests should not fail if log.date or log.decorate are set.
@ 2012-04-30 10:25 Per Cederqvist
2012-04-30 15:04 ` Jeff Sipek
0 siblings, 1 reply; 2+ messages in thread
From: Per Cederqvist @ 2012-04-30 10:25 UTC (permalink / raw)
To: Jeff Sipek; +Cc: git, ceder
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 <cederp@opera.com>
---
regression/scaffold | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/regression/scaffold b/regression/scaffold
index b38a3f0..546d8c6 100644
--- a/regression/scaffold
+++ b/regression/scaffold
@@ -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
--
1.7.10
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [GUILT] [PATCH] The tests should not fail if log.date or log.decorate are set.
2012-04-30 10:25 [GUILT] [PATCH] The tests should not fail if log.date or log.decorate are set Per Cederqvist
@ 2012-04-30 15:04 ` Jeff Sipek
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Sipek @ 2012-04-30 15:04 UTC (permalink / raw)
To: Per Cederqvist; +Cc: git, ceder
On Mon, Apr 30, 2012 at 12:25:49PM +0200, Per Cederqvist wrote:
> 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.
> Signed-off-by: Per Cederqvist <cederp@opera.com>
> ---
> regression/scaffold | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/regression/scaffold b/regression/scaffold
> index b38a3f0..546d8c6 100644
> --- a/regression/scaffold
> +++ b/regression/scaffold
> @@ -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
> --
> 1.7.10
>
--
OpenIndiana oi_151a3: 8 cores, 16 GB RAM
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-30 15:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30 10:25 [GUILT] [PATCH] The tests should not fail if log.date or log.decorate are set Per Cederqvist
2012-04-30 15:04 ` Jeff Sipek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).