On Sunday, July 8, 2012 6:28:08 AM UTC+2, lei yang wrote:
>
> Hi experts 
>
> I have a file which comtains commit title 
>
> #cat file 
> Revert "eglibc: fix perl path in target scripts on fedora 17          
> eglibc: fix perl path in target scripts on fedora 17 alpha         
> eglibc: fix re-execution of task 
>
> how could I change the title to the commit id lists? 
>
>
Sounds like you have to for each line:

1) git log --grep "commit message"
2) copy the resulting SHA into the file

Note that there's no preventing of people writing duplicate commit 
messages, so this is not very deterministic.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/SwVsy1i8gXkJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to