X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit-maint-gbp.7.pod;h=3c438ab101b41f069ed9cbfa29b46b12c01c3b02;hp=53d147a045ff2f681413b3fa76054b77f1908a68;hb=f30bb13a7fdac4f59a4a814462d869196a424d01;hpb=c9f58c9967e21caf226049851366edd00d581b1c diff --git a/dgit-maint-gbp.7.pod b/dgit-maint-gbp.7.pod index 53d147a0..3c438ab1 100644 --- a/dgit-maint-gbp.7.pod +++ b/dgit-maint-gbp.7.pod @@ -22,10 +22,6 @@ Provide a better, more detailed git history to downstream dgit users, such as people using dgit to do an NMU (see dgit-nmu-simple(7) and dgit-user(7)). -=item - -Incorporate NMUs with a single command (see below). - =back Note that we assume a patches-unapplied repository: the upstream @@ -50,11 +46,7 @@ branch, never the dgit patches-applied branch. =head1 BUILDING -If you use gbp-buildpackage(1) to generate your orig tarballs, you -will need to perform the first build with gbp-buildpackage(1) directly -(this is due to Debian bug #841084). - -Otherwise, you can perform builds like this: +You can perform builds like this: =over 4 @@ -119,16 +111,18 @@ want to follow it up with a push to alioth. You will need to pass I<--overwrite> if the previous upload was not performed with dgit. -=head1 INCORPORATING NMUS - -=over 4 - - % dgit --gbp pull +If this is first ever dgit push of the package, consider passing +I<--deliberately-not-fast-forward> instead of I<--overwrite>. This +avoids introducing a new origin commit into the dgit view of your git +history. (This origin commit would represent the most recent non-dgit +upload of the package, but this should already be represented in your +git history.) -=back +=head1 INCORPORATING NMUS -Alternatively, you can apply the NMU diff to your repository. The -next push will then require I<--overwrite>. +B can't yet incorporate NMUs into patches-unapplied gbp +branches. You can just apply the NMU diff the traditional way. The +next upload will require I<--overwrite>. =head1 SEE ALSO