git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* But in `git checkout --patch`
@ 2014-12-15 14:41 Benjamin Quorning
  2014-12-15 16:35 ` [PATCH] add--interactive: leave main loop on read error Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Quorning @ 2014-12-15 14:41 UTC (permalink / raw)
  To: git

I'm not entirely sure how you like your bug reports, so I'll just the
best I can :-)

$ git --version
git version 2.2.0

$ uname -a
Darwin buzz.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17
19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64

Reproduction steps:

1. A repository with a changed file, but no staged changes.
2. Execute `git checkout --patch`
3. When asked, press `e` to edit a chunk (opens an external editor in my case)
4. With the editor still open, click ctrl-C in the terminal.
5. The diff that was being edited, and the command prompt ("discard
this hunk from worktree" etc) is printed to the screen, over and over
again.
6. I have to grep and kill this process: /usr/bin/perl
/usr/local/Cellar/git/2.2.0/libexec/git-core/git-add--interactive
--patch=checkout --

--
Benjamin Quorning

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

end of thread, other threads:[~2014-12-15 22:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 14:41 But in `git checkout --patch` Benjamin Quorning
2014-12-15 16:35 ` [PATCH] add--interactive: leave main loop on read error Jeff King
2014-12-15 22:49   ` 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;
as well as URLs for NNTP newsgroup(s).