On Fri, Oct 3, 2014 at 7:29 PM, Jeff Squyres (jsquyres) <jsquy...@cisco.com> wrote:
> On Oct 2, 2014, at 11:33 PM, Gilles Gouaillardet < > gilles.gouaillar...@iferc.org> wrote: > > > the most painful part is probably to manually retrieve the git commit id > > of a given svn commit id > > > > git log master, and then search rxxxx > > /* each commit log has a line like : > > This commit was SVN rxxxxx > > */ > > I think you're suggesting "git log | grep SVN rxxx", right? > > i do not think this returns the git commit id, does it ? what i had in mind is : git log master and then /rxxxx and manually retrieve the git commit id a few lines above this is very likely achievable with an awk oneliner, but i do not know how ... Cheers, Gilles