git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature suggestion: new 'git add -i' command to discard working copy changes
@ 2012-12-18 21:03 Evan Driscoll
  2012-12-18 21:34 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Evan Driscoll @ 2012-12-18 21:03 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

It's not infrequent that I want to discard changes I've made locally to
files ('git checkout file.txt') and find myself wishing that this was an
action available from the 'git add --interactive' UI; it feels like it
would fit in.

Does this sound like it would be useful? I might even be able to try my
hand at adding it if it seems like something that might be accepted
upstream and someone can point me at the places in the code to look.

Evan



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]

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

end of thread, other threads:[~2012-12-18 22:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18 21:03 Feature suggestion: new 'git add -i' command to discard working copy changes Evan Driscoll
2012-12-18 21:34 ` Junio C Hamano
2012-12-18 21:59   ` Jeff King
2012-12-18 22:10     ` Evan Driscoll
2012-12-18 22:20       ` Jeff King

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).