Subject: Re: Commit ID in exported Tar Ball

From: A Large Angry SCM <[email-masked]>
Date: Sat, 19 May 2007 17:39:40 -0400

Junio C Hamano wrote:
> René Scharfe <[email-masked]> 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.