Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [RFC/PATCH] Fix git-diff --cached to not error out if HEAD points to a nonexistant branch

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:56

Peter Baumann [off-list ref] writes:
..., but in the same sentence you have to say
"Oh, did I mention that it doesn't work until you have made a first commit?"
Well, you do not even have to mention that if you are explaining
things correctly.  If something does its thing relative to the
latest commit, then it obviously would not work until you have
that "latest commit".  There is _no_ initial "empty" commit in
git.

I think getting people used to that concept early on would
actually avoid such confusion.  In that sense,...
The plumbing commands are a diffrent story.
... I do not think the plumbing should be a different story.
Otherwise you would confuse people when they start learning the
plumbing.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help