From: Junio C Hamano Date: Tue, 12 Jun 2007 05:28:08 GMT Subject: Re: [PATCH 0/3] Support config-based names Message-ID: <7vbqfln3mf.fsf@assigned-by-dhcp.pobox.com> In-Reply-To: Daniel Barkalow writes: > It can be useful to refer to commits in remotes based on their configured > relationship to local branches. For example, "git log HEAD^[push]..HEAD" > would, when pushing is set up, show what hasn't been pushed yet. It's not like we will be adding 'push' objects and 'merge' objects, so I think HEAD^{push} (curly brace, not bracket) is good enough. We need to see how useful this would be in practice; we would not want to add new syntax without a set of convincing use cases. At this point, it still feels as if it is a feature that was implemented only because it could, not because there was a real need.