Re: Gitk feature - show nearby tags
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jun 4, 2006, 10:42 UTC
- Message-ID
- <7v3belcicq.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <e5bfff550606040333h1180bbep88fa90ea9928d062@mail.gmail.com>
"Marco Costalba" <mcostalba@gmail.com> writes:
Show 33 quoted lines
>> Sorry, in the example time flows from left to right. If you >> exclude g then you are excluding everything that is reachable >> from g so you would not see "f". >> > From today git: > > tag list is: > > v1.3.3 1b9bc5a7b7434d771726011613a00cb202bd9f44 > v1.3.2 7abd7117ec57b8c3c2a469db62c7811fdac5c655 > v1.3.1 7d09fbe4ab7f080a8f8f5dcef7e0f3edf5e26019 > v1.3.0 4baff50551545e2b6825973ec37bcaf03edb95fe > > selected sha is ccb365047a1081455b767867f0887e7b4334f9d8 > (Allow "git repack" users to specify repacking window/depth) > > $ git-rev-list --topo-order ccb365047a1081455b767867f0887e7b4334f9d8 > ^1b9bc5a7b7434d771726011613a00cb202bd9f44 > ^7abd7117ec57b8c3c2a469db62c7811fdac5c655 > ^7d09fbe4ab7f080a8f8f5dcef7e0f3edf5e26019 > ^4baff50551545e2b6825973ec37bcaf03edb95fe > > ccb365047a1081455b767867f0887e7b4334f9d8 > ... > cd2bdc5309461034e5cc58e1d3e87535ed9e093b > > Parent of cd2bdc5309461034e5cc58e1d3e87535ed9e093b is > > 4baff50551545e2b6825973ec37bcaf03edb95fe > > aka tag v1.3.0 > > Am I missing something?
No, just that I am not getting what you are trying to prove here. The tags are all older than your chosen commit.
$ git-rev-list --topo-order ^v1.3.0 ^v1.3.1 ^v1.3.2 ^v1.3.3 e923eff
would show nothing -- and you propose to find out that commit is between v1.3.1 and v1.3.2 by using the information that the command gives an empty result but I do not know how?
$ git show-branch v1.3.1 e923eff v1.3.2
does show it is between these two, but that is because it avoids the 2^N permutations by using 1-bit per revision that it wants to check the reachability across.