* seek request
@ 2005-05-22 7:11 Zack Brown
2005-05-26 8:29 ` Petr Baudis
0 siblings, 1 reply; 2+ messages in thread
From: Zack Brown @ 2005-05-22 7:11 UTC (permalink / raw)
To: Git Mailing List
Hi folks,
In Cogito, it would be nice to have a
cg-seek +
that would seek to the next archive state. This way, I could start off seeking
back to the beginning of an archive, and quickly step forward, looking at files
as I went, to the present.
A corresponding
cg-seek -
would go the reverse direction, back toward the beginning of a project.
I'm not sure how useful this would be for actual source code - I suspect any
benefit would be minimal - but the benefit for documentation and text files,
where the only way to test improvements is to read them by eye, would be
significant.
Be well,
Zack
--
Zack Brown
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: seek request
2005-05-22 7:11 seek request Zack Brown
@ 2005-05-26 8:29 ` Petr Baudis
0 siblings, 0 replies; 2+ messages in thread
From: Petr Baudis @ 2005-05-26 8:29 UTC (permalink / raw)
To: Zack Brown; +Cc: Git Mailing List
Dear diary, on Sun, May 22, 2005 at 09:11:06AM CEST, I got a letter
where Zack Brown <zbrown@tumblerings.org> told me that...
> Hi folks,
>
> In Cogito, it would be nice to have a
>
> cg-seek +
>
> that would seek to the next archive state. This way, I could start off seeking
> back to the beginning of an archive, and quickly step forward, looking at files
> as I went, to the present.
>
> A corresponding
> cg-seek -
> would go the reverse direction, back toward the beginning of a project.
>
> I'm not sure how useful this would be for actual source code - I suspect any
> benefit would be minimal - but the benefit for documentation and text files,
> where the only way to test improvements is to read them by eye, would be
> significant.
Well, and what if the commit has multiple parents? Or - even much more
interestingly - multiple children?
If we keep applying the first parent rule, we could just traverse the
graph from heads/master to HEAD following this rule, and then just take
a step back to where we came from for cg-seek +. It wouldn't be exactly
cheap, but it'd probably work.
Patch welcomed. ;-)
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-26 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-22 7:11 seek request Zack Brown
2005-05-26 8:29 ` Petr Baudis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).