Comment 4 for bug 1713549

Revision history for this message
Scott Moser (smoser) wrote :

I wasnt explicitly asking for build/build-source to take a treeish, but I suspect you'd end up scratching my itch by fixing that bug.

HEAD would be what i'd expect the default treeish to be.

I want this to work:

  echo "DIRTY FILE" > dirty.txt
  git checkout ubuntu/devel
  git build

As it is right now the build will fail because my current working directory is dirty (unexpected upstream changes).

Since i'm using git, i'd actually expect for it to build the state of git, not the state of my working directory.

The way I suggest that you do that, without "git clean -cf" was to use git worktree, and then clean up your worktree.