chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f21ba53
)
Fix contrib/stg-whatchanged way of identifying a conflict.
author
Yann Dirson
<ydirson@altern.org>
Mon, 25 Jun 2007 21:24:26 +0000
(23:24 +0200)
committer
Catalin Marinas
<catalin.marinas@gmail.com>
Mon, 25 Jun 2007 21:45:32 +0000
(22:45 +0100)
Signed-off-by: Yann Dirson <ydirson@altern.org>
contrib/stg-whatchanged
patch
|
blob
|
blame
|
history
diff --git
a/contrib/stg-whatchanged
b/contrib/stg-whatchanged
index d5b6965ccef8f2e620642fe754fd7771561cd282..a416e97b6d1ccf27e7bec9c5aad473c220c7dbd4 100755
(executable)
--- a/
contrib/stg-whatchanged
+++ b/
contrib/stg-whatchanged
@@
-24,7
+24,7
@@
fi
# Merges via "push" leave top=bottom so we must look at old patch
# in this case (unlike, eg., "pick --fold")
patchdir="$(git-rev-parse --git-dir)/patches/$(stg branch)/patches/$(stg top)"
-if [
$(cat "$patchdir/bottom") = $(cat "$patchdir/top")
];
+if [
-s "$(git-rev-parse --git-dir)/conflicts"
];
then
current_cmd="stg show //top.old"
else