From: A Large Angry SCM Date: Sat, 19 May 2007 21:39:40 GMT Subject: Re: Commit ID in exported Tar Ball Message-ID: <464F6E9C.4070506@gmail.com> In-Reply-To: <7vd50wv88t.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > René Scharfe writes: > >> Something like the following patch? Since we're already embedding the >> commit ID in a comment, we might as well offer creating a synthetic file >> for it, too, if that solves a user's problem that might be difficult to >> work around otherwise. > > Are you detecting and erroring out if the named file already > exists in the tree being archived? > > Should we? Maybe we should just replace with warning? > > Also should we silently ignore the request if the tree-ish is > not a commit-ish, or error out? Silently ignoring conflicting command arguments is (almost always) a bug; either in the implementation or the design.