[openib-general] userspace git trees

Sasha Khapyorsky sashak at voltaire.com
Thu Dec 14 13:14:02 PST 2006


On 12:50 Thu 14 Dec     , Roland Dreier wrote:
>  > > How do you get the equivalent of
>  > > 
>  > >     stg pop
>  > >     edit patch
>  > >     stg refresh
>  > >     stg push
>  > > 
>  > > with core git?
>  > 
>  >   git-reset HEAD^
>  >   edit patch
>  >   git-commit -c ORIG_HEAD
>  > 
>  > I think there is also 'git-commit --amend', but didn't use it yet.
> 
> I don't think either of those is really equivalent.  You can edit the
> commit at the end of your current branch, but there's no convenient
> analog of stg pop/stg push.

In the "worst" case - git-format-patch/git-am always help.

> Of course stgit is implemented on top of core git so you can
> reimplement it by hand, but I do think there is value in the stgit porcelain.

Sure. I have nothing against stgit, it is nice tool and I used this
successfully couple of months (and switched not because stgit was bad
but because was needed to deal with core git for other stuff anyway).

Sasha




More information about the general mailing list