2008-05-21 03:23:14

by cheng renquan

[permalink] [raw]
Subject: Theodore Ts'o: please consider dis-ambiguity

Theodore:
please consider delete that tag "origin" in the ext4.git repo:

http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git

as a common case, I cloned a local repo from torvalds/linux-2.6.git
and fetched from tytso/ext4.git,

and when I want to gen patches, I do "git format-patch origin",
hundreds of patches generated,
but in fact I only have several patches.

then I realized there are ambiguities about the name "origin",

$ git rev-parse origin
warning: refname 'origin' is ambiguous.
492c2e476eac010962850006c49df326919b284c
$ git rev-parse origin/master
d40ace0c7b4a329f7d869d0fbf27435543bb2acc
$ git rev-parse origin/HEAD
d40ace0c7b4a329f7d869d0fbf27435543bb2acc

--
Denis Cheng
Linux Application Developer

"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.


2008-05-21 15:54:15

by Theodore Ts'o

[permalink] [raw]
Subject: Re: Theodore Ts'o: please consider dis-ambiguity

On Wed, May 21, 2008 at 11:23:11AM +0800, rae l wrote:
> Theodore:
> please consider delete that tag "origin" in the ext4.git repo:
>
> http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git
>
> as a common case, I cloned a local repo from torvalds/linux-2.6.git
> and fetched from tytso/ext4.git,

Oopts, sorry about that. Yeah, I should make sure that origin is
properly set up as a branch, not as a tag.

- Ted