Re: erratic behavior commit --allow-empty
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Oct 3, 2012, 19:05 UTC
- Message-ID
- <m2ehlfnzoz.fsf@igel.home>
- In-Reply-To
- <CAB9Jk9D5c-7QKkUFtur4rxBfiaPFzGaMi-+m=Owje_Aaoc6XJQ@mail.gmail.com>
Angelo Borsotti <angelo.borsotti@gmail.com> writes:
> Take then a git commit --allow-empty: if the trees are equal it may > create a commit or not depending on the parent, message, author and > date; if the trees are different it creates a commit.
The commit is _always_ created, with a name depending on the parent, message, author and date.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."