Re: [PATCH v2] log: Handle new repository case.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 26, 2012, 04:00 UTC
- Message-ID
- <7v7guuen8m.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAA3EhHK25rLU-gQNUG0cmJ4E1g+Ce6AHcMF6jzcco5QaTJE+jA@mail.gmail.com>
Leila <muhtasib@gmail.com> writes:
Show 8 quoted lines
>> I didn't think about other commands, but I do not think format-patch >> wants to silently succeed without doing anything---it is definitely >> a user error, no? >> > > The other changed commands are git show, git whatchanged, git reflog. > And I think for the initial repo case, they can just silently succeed > vs display that error message.
What should happen if you say "git log/show/whatchanged" immediately after running "git checkout --orphan foo"? Should these commands succeed silently?