Re: [RFC] git reflog show

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, 23 Dec 2006, Junio C Hamano wrote:

> Shawn Pearce <spearce@xxxxxxxxxxx> writes:
> 
> > I'm toying with what a 'git reflog show' might look like.  I attached
> > the prototype code below.  Here's the output from the recent part of
> > my mmap pack window topic:
> >
> >   $ ./git-reflog show refs/heads/sp/mapwin
> >   ...clipped for space...
> >   
> 
> The output should look almost the same as "git log" for the part
> that represents a series of normal branch activity where commits
> are built up one-by-one.  I think it would be useful if you can
> somehow make parts that are _not_ linear stand out and perhaps
> allow omitting a stretch of ordinary single strand of pearls.

I wonder if it would make sense to teach the revision walking machinery 
about reflogs. A commit could be marked as coming from a reflog entry, and 
in that case the parents could be determined by the reflog rather than the 
commit itself.

Is this a stupid idea?

Ciao,
Dscho

-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]