Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] git, inkscape, ...

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] git, inkscape, ...
  • Date: Tue, 12 Sep 2006 20:32:00 +0200

On Tue, Sep 12, 2006 at 12:15:11PM +0200, Flavien Bridault wrote:
> Le mardi 12 septembre 2006 à 11:58 +0200, Ladislav Hagara a écrit :
> > Howdy all,
> >
> > just looking through the git commits committed during Ibiblio Down Time
> > and wondering about update of inkscape.
> > Seem inkscape was first updated to 0.44.1 by George Sherwood [1] and
> > after 6 hours it was updated again to 0.44.1 by Flavien Bridault [2].
> > It is strange there are no conflicts in git.
> > Is it a bug or a feature of git?
> >
> > [1]
> > http://scmweb.sourcemage.org/gitweb.cgi?p=smgl/grimoire.git;a=commitdiff;h=66d6d9f836acc306c8292c68bce67908f5963d08;hp=9d087019784a2f24c2be2a6080e0cc32cffdaa57
> > [2]
> > http://scmweb.sourcemage.org/gitweb.cgi?p=smgl/grimoire.git;a=commitdiff;h=b691ea6954edd455e4c2fb7a966b0d7241d69622;hp=9d087019784a2f24c2be2a6080e0cc32cffdaa57
> >
> imho the problem is rather between the keyboard and the screen... ;-)
>
> There was a conflict when I merged origin in my master head. So I simply
> removed my own entry in history and my sig, and then the merging was ok.
> But of course the git log still mentions my initial commit.
> What was I supposed to do ? Revert my commit ? Go back at a previous
> head (not always handy if you did some commits after the conflicting
> one).

What you did is ok imo. I never use pull when I have changes in my own
tree, so not sure how that handles conflicts.
When you use rebase, it will stop at such conflicting changes, you can
then tell it to skip your change and continue with the rest. That way
you can avoid the duplicate commit. The main disadvantage of rebase is
that it changes all commit-ids of the rebased commits, so you should
keep that in mind if you already wrote that id in a bug or somewhere
else.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page