X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit.1;h=a7346e50300934e75dd1a1894906f4ab2d776257;hb=7593c9b857a3d4517d8772ff0e31faf5cc3b4fb4;hp=bff3c51892ec69cf11098dc8131b7ab0a39fceb9;hpb=1a6c2d4d90584ac066bea24db0cfcfb9800ff5d9;p=dgit.git diff --git a/dgit.1 b/dgit.1 index bff3c518..a7346e50 100644 --- a/dgit.1 +++ b/dgit.1 @@ -642,6 +642,18 @@ include the changes from your working tree. This can be useful with build, if you plan to commit later. (dgit push will still ensure that the .dsc you upload and the git tree you push are identical, so this option won't make broken pushes.) + +Note that this does +.BR not +prevent dgit from cleaning your tree, so if the changes in your +working tree are in the form of untracked files, those might still be +deleted, especially with --clean=git. +If you want to include untracked files in the build, you can +use --clean=none or --clean=dpkg-source[-d] +in addition to --include-dirty. +Note that this +combination can fail if the untracked files are under +\fIdebian/patches/\fR. .TP .BR --ignore-dirty Deprecated alias for --include-dirty. @@ -823,7 +835,7 @@ with as ancestor a patches-applied branch. .BR --quilt=auto When fixing up source format `3.0 (quilt)' metadata, prefer to generate a linear patch stack -(as with --quilt=auto) +(as with --quilt=linear) but if that doesn't seem possible, try to generate a single squashed patch for all the changes made in git (as with --quilt=smash). @@ -853,7 +865,7 @@ Do not check whether 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 " | " -- [ quilt= ] baredebian [ +tarball ] +.BR -- [ quilt= ] gbp " | " -- [ quilt= ] dpm " | " --quilt=unapplied " | " -- [ quilt= ] baredebian [ +git | +tarball ] Tell dgit that you are using a nearly-dgit-compatible git branch, aka a .BR "maintainer view" , @@ -886,6 +898,8 @@ that any changes to upstream .gitignore files are represented as patches in debian/patches). .B --quilt=baredebian +(or its alias +.BR --quilt=baredebian+git ) specifies that your HEAD contains only a debian/ directory, with any changes to upstream files represented as patches in debian/patches. @@ -1313,6 +1327,12 @@ Force on or off the use of the absurd git-apply emulation when running gbp pq import when importing a package from a .dsc. See Debian bug #841867. +.TP +.BR \-\-for\-push +Override the dgit-distro.distro.readonly configuration setting, +to specify that we have read/write access +and should use the corresponding git and achive access approach +even if the operation is a read-only one. .SH CONFIGURATION dgit can be configured via the git config system. You may set keys with git-config (either in system-global or per-tree @@ -1457,7 +1477,7 @@ or when pushing and .TP .BI dgit-distro. distro .git-create " " ssh-cmd | true .TP -.BR dgit-distro. \fIdistro\fR .archive-query " " ftpmasterapi: " | " madison: "\fIdistro\fR | " dummycat: "\fI/path\fR | " sshpsql: \fIuser\fR @ \fIhost\fR : \fIdbname\fR +.BR dgit-distro. \fIdistro\fR .archive-query " " ftpmasterapi: " | " madison: "\fIdistro\fR | " dummycat: "\fI/path\fR | " sshpsql: \fIuser\fR @ \fIhost\fR : \fIdbname\fR " " | " aptget:" .TP .BR dgit-distro. \fIdistro\fR .archive-query- ( url | tls-key | curl-ca-args ) .TP @@ -1505,7 +1525,7 @@ also the \-\-ssh= and \-\-ssh: options. Default git user.email and user.name for new trees. See .BR "dgit setup-new-tree" . .TP -.BR gpg ", " dpkg- "..., " debsign ", " git ", " curl ", " dput ", " LWP::UserAgent +.BR gpg ", " dpkg- "..., " debsign ", " git ", [" lib ] curl ", " dput and other subprograms and modules used by dgit are affected by various environment variables. Consult the documentation for those programs for details.