Closed Bug 1709434 Opened 5 years ago Closed 5 years ago

Allow submitting git commit without branch

Categories

(Conduit :: moz-phab, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1617780

People

(Reporter: mhentges, Unassigned)

Details

I have a stack of patches on my local branch.
Sometimes, I want to submit a single revision. So, I:

  1. Check out that revision
  2. moz-phab -s

However, moz-phab complains that:

$ moz-phab -s
fatal: ref HEAD is not a symbolic ref
Git failed to read the branch name.
The repository is in a detached HEAD state.
You need to run the *git checkout <branch-name>* command.

I feel like moz-phab should be able to submit standalone commits (or, if a branch is needed, it should create a temporary one automatically).

Interestingly, moz-phab -s <rev> does work.
So, I'm guessing that the "submit current stack" logic is what is failing when it can't find a branch.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.