All of lore.kernel.org
 help / color / mirror / Atom feed
* Why does git-mergetool use /dev/tty?
@ 2010-08-24  1:49 Brian Gernhardt
  2010-08-24  1:53 ` Jonathan Nieder
  2010-08-24  6:43 ` Charles Bailey
  0 siblings, 2 replies; 5+ messages in thread
From: Brian Gernhardt @ 2010-08-24  1:49 UTC (permalink / raw)
  To: Git Mailing List, Charles Bailey, Theodore Ts'o

git-mergetool.sh, lines 298-302:
>     if test $last_status -ne 0; then
>         prompt_after_failed_merge < /dev/tty || exit 1
>     fi
>     printf "\n"
>     merge_file "$i" < /dev/tty > /dev/tty

Why does git-mergetool ignore the provided STDIN and STDOUT when not given a path to merge?

This wasn't apparent until bb0a484: "mergetool: Skip autoresolved paths" added a test that doesn't provide a file to merge on the command line.

~~ Brian Gernhardt

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-24  7:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-24  1:49 Why does git-mergetool use /dev/tty? Brian Gernhardt
2010-08-24  1:53 ` Jonathan Nieder
2010-08-24  1:58   ` Brian Gernhardt
2010-08-24  6:43 ` Charles Bailey
2010-08-24  7:04   ` Brian Gernhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.