On Mon, Mar 18, 2013 at 6:03 AM, Johan 't Hart <jopi...@gmail.com> wrote:
> Wasnt there something like patch-id you can use in this case? > [lyang0@ala-lpd-test1 linux]$ git format-patch c51a3d140bb726a662a867a2ae4098cc311347d7^..c51a3d140bb726a662a867a2ae4098cc311347d7 -o /tmp//tmp/0001-x86-mce-Do-not-change-worker-s-running-cpu-in-cmci_r.patch [lyang0@ala-lpd-test1 linux]$ git patch-id < /tmp/0001-x86-mce-Do-not-change-worker-s-running-cpu-in-cmci_r.patche1f299654737b34f4ec6b03abdcb416cbc81b1d0 85b97637bb40a9f486459dd254598759af9c3d50 and why it gets two patch-id It doesn't get below commit id, which is the same patch too commit c51a3d140bb726a662a867a2ae4098cc311347d7Author: Tang Chen <tangc...@cn.fujitsu.com>Date: Mon Oct 29 11:01:50 2012 +0800 x86/mce: Do not change worker's running cpu in cmci_rediscover(). commit 85b97637bb40a9f486459dd254598759af9c3d50 upstream Is there a way to search a branch for a commit with a certain patch id? > git branch --contains <id> > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to git-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.