git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [TOPGIT] Resolving conflicts
@ 2008-12-01 12:18 Sascha Hauer
  2008-12-01 14:36 ` Uwe Kleine-König
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2008-12-01 12:18 UTC (permalink / raw)
  To: git; +Cc: Petr Baudis, Uwe Kleine-Koenig

Hi,

I'm going my first steps with topgit and this tool seems to add the
missing link for my git experience.

I have a little problem with conflicts resulting from different topgit
branches though. What I'm trying to do is this (taken from the topgit
README):

## Create another topic branch depending on two others non-trivially
$ tg create t/whatever t/revlist/author-fixed t/gitweb/nifty-links
tg: Creating t/whatever base from t/revlist/author-fixed...
tg: Merging t/whatever base with t/gitweb/nifty-links...
Merge failed!
tg: Please commit merge resolution and call: tg create
tg: It is also safe to abort this operation using `git reset --hard`
tg: but please remember you are on the base branch now;
tg: you will want to switch to a different branch.
$ ..resolve..

After resolving I exported t/whatever to a quilt series. The series does
not apply because it does not contain the conflict resolution. If I export
to a git branch instead the merge is a commit of its own, resulting in a
non linear history.
Any chance to fix this or am I missing something?

Another thing is that the exported branch contains an empty commit
resulting from t/whatever (and a corresponding empty patch when exported
as a quilt series)

Best regards,
  Sascha

-- 
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [TOPGIT] Resolving conflicts
  2008-12-01 12:18 [TOPGIT] Resolving conflicts Sascha Hauer
@ 2008-12-01 14:36 ` Uwe Kleine-König
  2008-12-02  7:49   ` martin f krafft
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2008-12-01 14:36 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: git, Petr Baudis, martin f krafft

[added martin f krafft to Cc:]

Hi,

> Another thing is that the exported branch contains an empty commit
> resulting from t/whatever (and a corresponding empty patch when exported
> as a quilt series)
I fixed one half of this in with a patch sent to the ML:

	http://article.gmane.org/gmane.comp.version-control.git/101728

it didn't made it upstream yet, though.

Best regards
Uwe

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [TOPGIT] Resolving conflicts
  2008-12-01 14:36 ` Uwe Kleine-König
@ 2008-12-02  7:49   ` martin f krafft
  0 siblings, 0 replies; 3+ messages in thread
From: martin f krafft @ 2008-12-02  7:49 UTC (permalink / raw)
  To: git; +Cc: Uwe Kleine-König, Sascha Hauer, Petr Baudis

[-- Attachment #1: Type: text/plain, Size: 980 bytes --]

also sprach Uwe Kleine-König <u.kleine-koenig@pengutronix.de> [2008.12.01.1536 +0100]:
> > Another thing is that the exported branch contains an empty commit
> > resulting from t/whatever (and a corresponding empty patch when exported
> > as a quilt series)
> I fixed one half of this in with a patch sent to the ML:
> 
> 	http://article.gmane.org/gmane.comp.version-control.git/101728
> 
> it didn't made it upstream yet, though.

This is now in HEAD. Sorry for the delay.

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"i like wagner's music better than anybody's. it is so loud that one
 can talk the whole time without other people hearing what one says."
                                                        -- oscar wilde

[-- Attachment #2: Digital signature (see http://martin-krafft.net/gpg/) --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-02  7:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-01 12:18 [TOPGIT] Resolving conflicts Sascha Hauer
2008-12-01 14:36 ` Uwe Kleine-König
2008-12-02  7:49   ` martin f krafft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).