Skip to content

buildpackage: Include uncommitted changes with --git-ignore-new and export-dir#99

Open
samueloph wants to merge 1 commit into
agx:masterfrom
samueloph:ignore-new-export-dir
Open

buildpackage: Include uncommitted changes with --git-ignore-new and export-dir#99
samueloph wants to merge 1 commit into
agx:masterfrom
samueloph:ignore-new-export-dir

Conversation

@samueloph

Copy link
Copy Markdown
Contributor

With --git-export-dir set, the tree to export defaulted to HEAD, so --git-ignore-new silently dropped uncommitted changes. This was inconsistent with building in-place (no export-dir), which builds the working copy and therefore includes them. The option is documented as "Build with uncommitted changes in the source tree", so the changes should end up in the build regardless of export-dir.

Export the working copy when --git-ignore-new is given and --git-export is left at its default (HEAD).

Closes: #1091531

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091531

…xport-dir

With --git-export-dir set, the tree to export defaulted to HEAD, so
--git-ignore-new silently dropped uncommitted changes. This was
inconsistent with building in-place (no export-dir), which builds the
working copy and therefore includes them. The option is documented as
"Build with uncommitted changes in the source tree", so the changes
should end up in the build regardless of export-dir.

Export the working copy when --git-ignore-new is given and --git-export
is left at its default (HEAD).

Closes: #1091531
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant