From: Jeff King Date: Tue, 03 Jul 2007 04:18:59 GMT Subject: Re: git-fetch will leave a ref pointing to a tag Message-ID: <20070703041859.GB4007@coredump.intra.peff.net> In-Reply-To: <20070703032315.7279.qmail@science.horizon.com> On Mon, Jul 02, 2007 at 11:23:15PM -0400, linux@horizon.com wrote: > And until git-merge-ff is available, what's the recommended way to > "advance master to tag , but only if that wouldn't lose anything?" You can ask "do I have anything that foo doesn't?": test "`git-rev-list foo.. | wc -l`" -gt 0 -Peff