git-import-dscs creates merges instead of simple commits
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-buildpackage (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: git-buildpackage
I've rebuilt 0.5.4 with 88afa6117ea4dd6
TEST CASE:
$ cd /tmp
$ dget -ud http://
$ for i in 1 2 3 4 ; do dget -ud http://
$ git-import-dsc isdnutils_
$ cd isdnutils
$ git branch dfsg upstream
$ git-import-dscs ../isdnutils_
$ git log -p
If you look at the history with "git log -p" or qgit you will realize that git-import-dsc uses merges from the upstream branch and HEAD every (!) time instead of just a simple commit when possible. This results in an overly complex history and breaks "git log -p".
On Mon, Sep 13, 2010 at 06:43:25AM -0000, Rolf Leggewie wrote: b5d8fd88936afff b11c25ec47 ftp.de. debian. org/debian/ pool/main/ i/isdnutils/ isdnutils_ 3.9.20060704+ dfsg.1- $i.dsc; done 3.9.20060704+ dfsg.1* dsc b5d8fd88936afff b11c25ec47 ftp.de. debian. org/debian/ pool/main/ i/isdnutils/ isdnutils_ 3.9.20060704+ dfsg.1- $i.dsc; done 3.9.20060704+ dfsg.1* dsc
> Public bug reported:
>
> Binary package hint: git-buildpackage
>
> I've rebuilt 0.5.4 with 88afa6117ea4dd6
> reverted ("Pass --multimaint-merge on to dch"). The devscripts package
> in lucid is not recent enough. As of today, I'm (still) having the
> following issue with git-import-dsc(s).
>
> TEST CASE:
> $ cd /tmp
> $ for i in 1 2 3 4 ; do dget -ud http://
> $ git-import-dscs isdnutils_
> $ cd isdnutils
> $ git log -p
>
> If you look at the history with "git log -p" or qgit you will realize
> that git-import-dsc uses merges from the upstream branch and HEAD every
> (!) time instead of just a simple commit when possible. This results in
> an overly complex history and breaks "git log -p".
>
> ** Affects: git-buildpackage (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Description changed:
>
> Binary package hint: git-buildpackage
>
> I've rebuilt 0.5.4 with 88afa6117ea4dd6
> reverted ("Pass --multimaint-merge on to dch"). The devscripts package
> in lucid is not recent enough. As of today, I'm (still) having the
> following issue with git-import-dsc(s).
>
> TEST CASE:
> $ cd /tmp
> $ for i in 1 2 3 4 ; do dget -ud http://
> - $ git-import-dscs
> $ git-import-dscs isdnutils_
> $ cd isdnutils
> $ git log -p
>
> If you look at the history with "git log -p" or qgit you will realize
> that git-import-dsc uses merges from the upstream branch and HEAD every
> (!) time instead of just a simple commit when possible. This results in
> an overly complex history and breaks "git log -p".
This has in fact be fixed in 0.5.4. When not importing a new upstream
version only one parent is set.
-- Guido