author | Junio C Hamano <gitster@pobox.com> | |
Fri, 3 Sep 2010 16:43:44 +0000 (09:43 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 3 Sep 2010 16:43:44 +0000 (09:43 -0700) |
* cb/maint-mergetool-no-tty:
mergetool: Remove explicit references to /dev/tty
Conflicts:
git-mergetool.sh
mergetool: Remove explicit references to /dev/tty
Conflicts:
git-mergetool.sh
1 | 2 | |||
---|---|---|---|---|
git-mergetool.sh | patch | | diff1 | | diff2 | | blob | history |
diff --cc git-mergetool.sh
index bd7ab02f1161d2d97ea57b2a2ceacc307f6a74e8,e7fa67bd9c227b703dd4852c18b064463c8c92d6..2f8dc441c6d575323f2fad920ecdb7b20e1445e6
--- 1/git-mergetool.sh
--- 2/git-mergetool.sh
+++ b/git-mergetool.sh
echo "No files need merging"
exit 0
fi
- echo Merging the files: "$files"
- git ls-files -u |
- sed -e 's/^[^ ]* //' |
- sort -u |
+
+ # Save original stdin
+ exec 3<&0
+
+ printf "Merging:\n"
+ printf "$files\n"
+
+ files_to_merge |
while IFS= read i
do
if test $last_status -ne 0; then