From: Shawn O. Pearce Date: Fri, 02 Feb 2007 06:13:59 GMT Subject: Re: [PATCH 2/2] Teach 'git remote' how to cleanup stale tracking branches. Message-ID: <20070202061359.GB20719@spearce.org> In-Reply-To: <7v4pq5ks9i.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > If you are disconnected, would it fail gracefully without > removing stuff? From a cursory look it should, but just making > sure. Indeed, it crashes out: $ ./git-remote prune cs-src ssh: host.that.exists: No address associated with nodename fatal: The remote end hung up unexpectedly ls-remote --heads cs:sw/src/git: command returned error: 1 [git (sp/remote)]$ ls .git/refs/remotes/cs-src/ . .. master and the refs are still safe. -- Shawn.