git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Minor UX annoyance w/`git add --patch untracked/file`
@ 2023-11-30 19:26 Vito Caputo
  2023-12-06 19:54 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Vito Caputo @ 2023-11-30 19:26 UTC (permalink / raw)
  To: git

Hello list,

Couldn't the following two steps be done automagically by --patch:

```
git add -N path/to/untracked/file/wishing/to/partially/add
git add --patch path/to/untracked/file/wishing/to/partially/add
```

when one simply does:

`git add --patch path/to/untracked/file/wishing/to/partially/add`

?

Cheers,
Vito Caputo

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

end of thread, other threads:[~2023-12-08 22:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-30 19:26 Minor UX annoyance w/`git add --patch untracked/file` Vito Caputo
2023-12-06 19:54 ` Jeff King
2023-12-08 21:09   ` Junio C Hamano
2023-12-08 22:29     ` Taylor Blau

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