* git-status: do not mark unmerged paths as committable.
@ 2005-11-07 1:39 Junio C Hamano
0 siblings, 0 replies; only message in thread
From: Junio C Hamano @ 2005-11-07 1:39 UTC (permalink / raw)
To: git
An unmerged path appears as both "Updated but not checked in" list,
and "Changed but not updated" list. We are not going to commit that
path until it is resolved, so remove it from the former list.
Signed-off-by: Junio C Hamano <junkio@cox.net>
---
git-status.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
applies-to: 49ac95e5ebfd28b32ec1a23a0982900426f0c06c
f1790448628262e46496861bb6da76be63a2a247
diff --git a/git-status.sh b/git-status.sh
index 62a24a9..837f334 100755
--- a/git-status.sh
+++ b/git-status.sh
@@ -41,7 +41,7 @@ git-update-index -q --unmerged --refresh
if GIT_DIR="$GIT_DIR" git-rev-parse --verify HEAD >/dev/null 2>&1
then
- git-diff-index -M --cached --name-status HEAD |
+ git-diff-index -M --cached --name-status --diff-filter=MDTCRA HEAD |
sed -e '
s/\\/\\\\/g
s/ /\\ /g
---
0.99.9.GIT
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-07 1:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 1:39 git-status: do not mark unmerged paths as committable Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox