On Wed, 13 Jun 2012 02:32:25 -0700 (PDT)
lei yang <yanglei.f...@gmail.com> wrote:

> In my tree from git log I can see the last commit
> 
> commit 1c8284ebdbd119314b8f01e442e64cf5fd4b9fe6
> Author: Mathieu Desnoyers <mathieu.desnoy...@polymtl.ca>
> Date:   Fri Sep 3 08:08:18 2010 -0400
> 
>     LTTng modularization, import of lttng 0.226
>     
>     Will match kernel tree "lttng 0.227".
>     
>     Signed-off-by: Mathieu Desnoyers <mathieu.desnoy...@efficios.com>
> 
> to get the patch I run 
> 
> lyang0@lyang0-OptiPlex-755:~/git/lttng-modules$ git format-patch 
> 1c8284ebdbd119314b8f01e442e64cf5fd4b9fe6^..1c8284ebdbd119314b8f01e442e64cf5fd4b9fe6
> fatal: ambiguous argument 
> '1c8284ebdbd119314b8f01e442e64cf5fd4b9fe6^..1c8284ebdbd119314b8f01e442e64cf5fd4b9fe6':
>  
> unknown revision or path not in the working tree.
> Use '--' to separate paths from revisions
[...]

I think you'd better post this to the main Git list
(git at vger.kernel.org, you can subscribe to it at [1]) as this might
indicate a bug.

To try to solve the problem at hand: does

git format-patch -1 1c8284ebdbd119314b8f01e442e64cf5fd4b9fe6

work for you?
According to the docs, this has to export the changeset of just the
single indicated commit.

1. http://vger.kernel.org/vger-lists.html

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
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