Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Git commit won't add an untracked file given on the command line

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:40

Mark Burton [off-list ref] writes:
quoted
Allowing what Mark wants without any explicit user customization will be a
disaster to the end user experience.
If the ability to commit a currently untracked file/tree whilst
preserving the index is really worth having (and that's debatable, as
the git user community has survived until now without that capability)
then another option (say, -O) could be added to git-commit that does
what -o does but allows untracked files/trees to be specified - that
way, the current behaviour would remain unchanged and the above
mentioned disaster averted.
Heh, I apparently failed to convey what I wanted to say with "without any
explicit user customization" part of my message.  IOW, I think you are
saying the same thing as what I wanted to say from the opposite angle.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help