Junio C Hamano wrote:
René Scharfe <rene.scharfe@xxxxxxxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html