From: Junio C Hamano Date: Sat, 13 Aug 2005 19:27:39 GMT Subject: Re: [PATCH] Added hook in git-receive-pack Message-ID: <7voe81myc4.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <200508132031.27668.Josef.Weidendorfer@gmx.de> Josef Weidendorfer 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?