projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85cf643
)
checkout: Do not show local changes when in quiet mode
author
Jonas Fonseca
<fonseca@diku.dk>
Thu, 25 Sep 2008 08:35:38 +0000
(10:35 +0200)
committer
Shawn O. Pearce
<spearce@spearce.org>
Thu, 25 Sep 2008 14:46:59 +0000
(07:46 -0700)
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
builtin-checkout.c
patch
|
blob
|
history
diff --git
a/builtin-checkout.c
b/builtin-checkout.c
index 08c6d8614ae2b619f520616fecd45b24fd866732..c4fc2b2c562725018789dead3b86ccfbc4e2925f 100644
(file)
--- a/
builtin-checkout.c
+++ b/
builtin-checkout.c
@@
-328,7
+328,7
@@
static int merge_working_tree(struct checkout_opts *opts,
commit_locked_index(lock_file))
die("unable to write new index file");
- if (!opts->force)
+ if (!opts->force
&& !opts->quiet
)
show_local_changes(&new->commit->object);
return 0;