From: Johannes Schindelin Date: Tue, 17 Feb 2009 00:56:29 GMT Subject: Re: disallowing push to currently checked-out branch Message-ID: In-Reply-To: <499A07C4.5000908@gmail.com> Hi, On Tue, 17 Feb 2009, Sergio Callegari wrote: > Let us assume that I am working on branch B and that my worktree is based on > commit XYZ. Let's also assume that someone pushes behind my shoulders and > moves the tip of B (or even deletes B alltogether) either in one or in > multiple pushes. Is there an easy way so that I can now find out at what > commit (XYZ) I was before the push(es)? Nope. There was code flying around at some stage to record in the index what commit it was based on. I forgot why it was thrown out again; you'll have to look up the discussion yourself. Ciao, Dscho