Re: User's mailing list? And multiple cherry pick

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

 



>> Is there an easier syntax for doing this?
>
> Put this into a script and you've got an easier syntax ;-)
> But note that <commit1> does not get cherry-picked then.
> Use <commit1>^..<commit2> (or $1^..$2).

Thanks for the ^ tip. I prefer to use git built-ins where possible,
instead of re-inventing the wheel badly by using my own scripts ;-)

> for C in $(git log --reverse <commit1>..<commit2> --pretty=format:%H);
> do echo pick $C ; done >temporaryfile
> /where/you/put/it/git-sequencer.sh temporaryfile
>

Thanks for the script, but I want to use git built-ins only if
possible :-) eg, so that I can easily help other people do the same
thing without telling them to download separate scripts.

Also, that syntax is almost as long & complicated-looking as my own ;-)
--
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]

  Powered by Linux