Re: [PATCH/RFC 01/12] commit-tree: allow indirect tree references
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 13, 2010, 21:58 UTC
- Message-ID
- <7v634z7uke.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1268455984-19061-2-git-send-email-lodatom@gmail.com>
Mark Lodato <lodatom@gmail.com> writes:
> 'git commit-tree' was the last remaining built-in to accept a <tree> but > not a <tree-ish> (an indirect tree reference through a commit or tag > object.)
Historically we deliberately chose not to DWIM things down to tree for this plumbing command to catch mistakes by Porcelain scripts (e.g. arguments given in wrong order---the order of commit-tree's arguments are, eh, unintuitive).
I do not think that matters much anymore---I do not think this patch is unsafe.