X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit.1;h=99ae90bf0b6bf043328f113e28747eece25b3501;hp=677da279e0d58e2da4ba6f437a89063478ec4115;hb=dc2d5ffb3627335e6522ddb7bf526880dc699762;hpb=fc7f55f032e31ef0d7376deef3d47d333d8259e5 diff --git a/dgit.1 b/dgit.1 index 677da279..99ae90bf 100644 --- a/dgit.1 +++ b/dgit.1 @@ -445,20 +445,24 @@ Do not check whether up source format `3.0 (quilt)' metadata needs fixing up. If you use this option and the metadata did in fact need fixing up, dgit push will fail. .TP -.BR --quilt=gbp " | " --quilt=dpm " | " --quilt=unapplied +.BR -- [ quilt= ] gbp " | " -- [ quilt= ] dpm " | " --quilt=unapplied Tell dgit that you are using a nearly-dgit-compatible git branch, aka a .BR "maintainer view" , and do not want your branch changed by dgit. -.B --quilt=gbp +.B --gbp +(short for +.BR --quilt=gbp ) is for use with git-buildpackage. Your HEAD is expected to be a patches-unapplied git branch, except that it might contain changes to upstream .gitignore files. This is the default for dgit gbp-build. -.B --quilt=dpm +.B --dpm +(short for +.BR --quilt=dpm ) is for use with git-dpm. Your HEAD is expected to be a patches-applied git branch, @@ -470,9 +474,9 @@ that any changes to upstream .gitignore files are represented as patches in debian/patches). With --quilt=gbp|dpm|unapplied, -dgit quilt-fixup and dgit-push will automatically -convert your git branch into the right form, -and dgit push will push the +dgit push (or precursors like quilt-fixup and build) will automatically +generate a conversion of your git branch into the right form. +dgit push will push the dgit-compatible form (the .BR "dgit view" ) to the dgit git server. @@ -484,13 +488,15 @@ dgit push will create a tag for the maintainer view, and the dgit tag .BI archive/debian/ version for the dgit view. +dgit quilt-fixup will merely do some checks, +and cache the maintainer view. .B If you have a branch like this it is essential to specify the appropriate --quilt= option! This is because it is not always possible to tell: a patches-unapplied -git branch of a package with one patch, for example, looks just the -same as a patches-applied branch where the user has used git revert to +git branch of a package with one patch, for example, looks very like +a patches-applied branch where the user has used git revert to undo the patch, expecting to actually revert it. -If you fail to specify the right \-\-quilt option, +However, if you fail to specify the right \-\-quilt option, and you aren't too lucky, dgit will notice the problem and stop, with a useful hint. .TP @@ -523,6 +529,11 @@ Passed to dpkg-genchanges (eventually). .RI \fB--ch:\fR option Specifies a single additional option to pass, eventually, to dpkg-genchanges. + +Options which are safe to pass include +.BR "-si -sa -sd -C" . + +For other options the caveat below applies. .TP .RI \fB--curl:\fR option " | \fB--dput:\fR" option " |..." Specifies a single additional option to pass to @@ -558,7 +569,7 @@ Specifying --git is not effective for some lower-level read-only git operations performed by dgit, and also not when git is invoked by another program run by dgit. -See notes above regarding ssh and dgit. +See notes below regarding ssh and dgit. NB that --gpg:option is not supported (because debsign does not have that facility). @@ -952,6 +963,7 @@ fetches may result in subsequent actions being different. Doing a non-dry-run dgit fetch first will help. .SH SEE ALSO \fBdgit\fP(7), +\fBdgit-maint-merge\fP(7), \fBcurl\fP(1), \fBdput\fP(1), \fBdebsign\fP(1),