Re: [PATCH] Added hook in git-receive-pack
- From
Junio C Hamano <junkio@cox.net>
- Date
- Aug 13, 2005, 19:27 UTC
- Message-ID
- <7voe81myc4.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200508132031.27668.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes:
> Or is there already an easy way to detect the fast-forward situation in the > script?
Since you are given old and new, presumably you can do merge-base in the hook to see what it yields?