Re: Gitk feature - show nearby tags
- From
- Marco Costalba <mcostalba@gmail.com>
- Date
- Jun 4, 2006, 09:40 UTC
- Message-ID
- <e5bfff550606040240p61dfcddaw987da180358c40fb@mail.gmail.com>
- In-Reply-To
- <7vk67xclx7.fsf@assigned-by-dhcp.cox.net>
On 6/4/06, Junio C Hamano <junkio@cox.net> wrote:
Show 23 quoted lines
> "Marco Costalba" <mcostalba@gmail.com> writes: > > > What you suggest we need it's a kind of history of tags. > > I do not understand what you mean by "history of tags". Are you > talking about "tag v1.0.0 was pointing at X commit yesterday but > now today it points at Y commit"? > > > And, according to Paul suggestions, not only tags, but merge revisions > > between tags. > > > > A more general and IMHO very powerful tool could be something like > > > > git-rev-list --top-order --parents --selected-only HEAD -- <sha 1> > > <sha 2> ..... <sha n> > > > > Where git rev list gives the history, with modified parents, of the > > given revisions _only_ plus the merging revisions among them. > > You completely lost me here. The '--' markers are to mean "from > here on the parameters are not revisions but are path limiters", > so you are doing something else. What are these <sha1#1>, <sha1#2>,... > in this? Are they revisions (i.e. commit object names)?
Yes they are.
Insted of path limiters I meant revisions limiters.
Given a revision history like
a b--| | f | g c d e
git-rev-list --top-order --parents --selected-only HEAD -- <a> <g> <d>
Should output something like
a b--| | g d
Of course with modified parent information as does git-rev-list --parents -- foo.c