[haiku-commits] Re: haiku: hrev44621 - src/preferences/virtualmemory - R1A4 cherry pick candidate

  • From: Ryan Leavengood <leavengood@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 8 Sep 2012 13:43:59 -0400

On Sat, Sep 8, 2012 at 1:11 PM, Oliver Tappe <zooey@xxxxxxxxxxxxxxx> wrote:
>
> Well, you could use git, of course ;-)
>
> Not that I do that kind of thing often, but in order to see the commits of
> a tag, you can do this:
>
>         git log hrev<N> ^hrev<N-1>

Actually that doesn't seem to work, but this does:

git log hrev<N-1>..hrev<N>

Using the .. syntax. That's a good idea, and not something I thought
of. In fact, I could see using that in a script to cherry-pick
everything from a particular push. This provides the SHAs of all the
commits in the second hrev:

git log --topo-order --reverse hrev44620..hrev44621 | grep commit |
awk '{print $2}'

> Well, I'd assume it's possible, but I'm not really proficient in hacking
> cgit, nor do I currently have the time to work on it, sorry.

Understood. If I find the time and motivation (probably unlikely any
time soon), I'll experiment with this myself. But it probably isn't a
big deal most of the time.

-- 
Regards,
Ryan

Other related posts: