Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git submit --create doesn't work if all of the branches already exist on the remote #557

Closed
pokey opened this issue Sep 22, 2022 · 1 comment · Fixed by #560
Closed

git submit --create doesn't work if all of the branches already exist on the remote #557

pokey opened this issue Sep 22, 2022 · 1 comment · Fixed by #560
Labels
bug Something isn't working

Comments

@pokey
Copy link
Collaborator

pokey commented Sep 22, 2022

Description of the bug

It looks like when all of the branches already exist on the remote, the git submit --create command attempts to push an empty list of branches, which results in trying to push head, which is undesired, and breaks if you're not on a branch.

Expected behavior

The existing branches are pushed, and that is all

Actual behavior

The existing branches are pushed, but there is then an error:

branchless: running command: git push --force-with-lease origin another-foo pokey/foo-again pokey/hello-world pokey/some-smarter-that-marks
branchless: processing 1 update: remote branch origin/another-foo
branchless: processing 1 update: remote branch origin/pokey/foo-again
branchless: processing 1 update: remote branch origin/pokey/hello-world
branchless: processing 1 update: remote branch origin/pokey/some-smarter-that-marks
Everything up-to-date
branchless: running command: git push --force-with-lease --set-upstream origin
fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use

    git push origin HEAD:<name-of-remote-branch>

Version of rustc

rustc 1.62.1 (e092d0b6b 2022-07-16)

Automated bug report

Software version

git-branchless 0.4.0 (3c829f6)

Operating system

macOS 12.4 (Darwin 21.5.0)

Command-line

/Users/pokey/.cargo/bin/git-branchless bug-report 

Environment variables

SHELL=/usr/local/bin/zsh
EDITOR=edit-in-vscode

Git version

> git version 
git version 2.33.1

Hooks

Show 6 hooks
Hook post-commit
#!/bin/sh

## START BRANCHLESS CONFIG

git branchless hook-post-commit "$@"
## END BRANCHLESS CONFIG
Hook post-merge
#!/bin/sh

## START BRANCHLESS CONFIG

git branchless hook-post-merge "$@"
## END BRANCHLESS CONFIG
Hook post-rewrite
#!/bin/sh

## START BRANCHLESS CONFIG

git branchless hook-post-rewrite "$@"
## END BRANCHLESS CONFIG
Hook post-checkout
#!/bin/sh

## START BRANCHLESS CONFIG

git branchless hook-post-checkout "$@"
## END BRANCHLESS CONFIG
Hook pre-auto-gc
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-pre-auto-gc "$@"
## END BRANCHLESS CONFIG
Hook reference-transaction
#!/bin/sh
## START BRANCHLESS CONFIG

# Avoid canceling the reference transaction in the case that `branchless` fails
# for whatever reason.
git branchless hook-reference-transaction "$@" || (
echo 'branchless: Failed to process reference transaction!'
echo 'branchless: Some events (e.g. branch updates) may have been lost.'
echo 'branchless: This is a bug. Please report it.'
)
## END BRANCHLESS CONFIG

Events

Show 5 events
Event ID: 23157, transaction ID: 20014 (message: submit)
  1. RefUpdateEvent { timestamp: 1663858887.713853, event_tx_id: EventTransactionId(20014), ref_name: ReferenceName("refs/remotes/redacted-ref-0"), old_oid: 0000000000000000000000000000000000000000, new_oid: 72f2d509d5ed75dc356e983f78c27811d5ce5efe, message: None }
  2. RefUpdateEvent { timestamp: 1663858887.77097, event_tx_id: EventTransactionId(20014), ref_name: ReferenceName("refs/remotes/redacted-ref-1"), old_oid: 0000000000000000000000000000000000000000, new_oid: d3ed55a157239401c9c88bff74c773e99ad3d764, message: None }
  3. RefUpdateEvent { timestamp: 1663858887.838568, event_tx_id: EventTransactionId(20014), ref_name: ReferenceName("refs/remotes/redacted-ref-2"), old_oid: 0000000000000000000000000000000000000000, new_oid: 2ef0dbc392c0a782f6e90f84a36de5fc7106d71f, message: None }
  4. RefUpdateEvent { timestamp: 1663858887.893852, event_tx_id: EventTransactionId(20014), ref_name: ReferenceName("refs/remotes/redacted-ref-3"), old_oid: 9841c5ce5de461959a5134ee099bc9632baaac1e, new_oid: 9841c5ce5de461959a5134ee099bc9632baaac1e, message: None }
:
O 3d53c87 1y xxxxxxxx xxx xxxxxx xxxxxx
|\
: o 06047b9 1y xxxxxxx xxxx xxxxxx
: |
: o 8e63ce3 1y xxxxxx xxxxx
: |
: o 42308e5 1y (redacted-ref-4) xxxxxx xxxxxxxxxxx xxxxx xxx xxx
:
O cd8258f 1y xxx xxxxx xxxxx xxxxxx xx xxxxxx xxxxxx
|\
: o 5ff6852 1y (redacted-ref-5) xxxxxxxxxxxxxxxx xxxxxxx xxxxx
:
O f014bb6 330d xxxxxxx xxxxxx xxxxxx
|\
: o bfb6357 322d (redacted-ref-6) xxxxxxx xxxx
:
O a6bdb3a 318d xxxxxxx xx xxxxxxxxxxx xxxxxx
|\
: o 0683431 315d (redacted-ref-7) xxxxxxx xxxxxxx xxxx xxxxxx
:
O 39f91b7 143d xxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxx xxx x xxxxx xxxxxxxxx xxxxxx
|\
| o c8bf7b2 134d (redacted-ref-8) xxxxxxxx xxxxxxx
|\
: o 9672214 127d xxxxxxx xxxxxxxxxx xxxxxx
:
O f9b1bf0 107d xxxxxx xxxxxxxxxxxx xx xxxxxxxx xxxxxxxx xxxxxx xxxxxxxxxxxx xxxxxx
|\
: o 6ab32e2 106d xxxxxxx xxxx xxx xxxxxxxxxxx xxxxxxxx
:
O 10c355f 90d xxx xxxxxx xxxx xxxxxxxx xxxxxxx xx xxxx xxxx xxxxxx
|\
| o bf77b8c 90d xxxxxxx xxxxx xxxxxxxxxxx
| |
| o 9529dc3 90d (redacted-ref-9) xxxxx xxxxxxxxxx
|\
: o f931c9a 90d (redacted-ref-10) xxxxxxx xxxxxxxxxx xxxxxx
:
O 3419b74 76d xxx x xxxxxx xxxx xxxxxxxx xxxxxx
|\
: o 0f247a7 76d xxxxxx xxxxxxxxxxxxxxxx
: |
: o afba845 76d xxxxxxxxxx xxxxxxxx
: |
: o 81a6d9b 76d xxxxxxx xxxxxxxx xxxxx
: |
: o b3504a6 76d (redacted-ref-11) xxxx xx xxxxxx xxxx
:
O b639e42 65d xxx xxxxxxxxxxx xxxxxx
|\
: o 92a2cdc 65d xxxx xxxxx xxxx xxxxxxxxxx xxxx xxxxxx
: |
: o 3632e8d 65d xxx x xxxxxxx
: |
: o 5895e4c 15d (redacted-ref-12) xxxxxx xxxxx xx xx
:
O 560a7a1 1d xxxxx xxxxxxxxx xxxxxx xxxx xxxx xxxx xxxxxxxx xxxxxx
|\
| o 9916d85 1d (redacted-ref-13) xxxxxxx xxxxx xx xxxx xx xxxxxx
|\
| o 05e2a95 1d xxxx xx xxxxxxx xxxxxxxxxxx xxx xxxxx xxxxxxx
|\
| o 1b4ce7f 1d xxxxx xxxxxxxxx xxxxxxxxxxx xxxxxxx
| |
| o ee0b97f 1d xxxxx xxxxxx
| |
| o d30d01a 1d (redacted-ref-14) xxx
|\
| o 1f810a2 1d (redacted-ref-15) xxxxxx xxx xxxxxxxxxx
| |
| o ad7f85a 1d xxxxxxxxxxxxxxx xx xxxxxxxxxx
|\
| o 507cab1 1d xxx xxxxx xxxxxxxxxxx
| |
| o 59eb137 1d xxx xxxxx xxxxxxx
| |
| o bd53f94 1d (redacted-ref-16) xxx xxxxxxxx xxxxx
|\
| o 86362e9 1d (redacted-ref-17) xxxxxxx xxxxxx xx xxxxxxxxxxxxxxxx
|\
| o 8f8ed0a 1d xxxxxxx xxxxxxxxxxxxxxxxxx xxxxxx
| |
| o ea87d33 1d (redacted-ref-18) xxxxxxx xxxxxxxxxxxxx
|\
| o cf83144 1d xxxxxxxxxxxxxx xx xxxxxx xxx xxxxxx xxxxx
|\
| o d5f3eca 1d (redacted-ref-19) xxxx xxxxxxxx xxxxxxx
|\
| o f0ebe29 1d xxxxxx xxxxx
| |
| o ea5cc71 1d (redacted-ref-20) xxx xxxxxxxxxxxxxxxxxxxxxxx
|
O 6773798 1d xxxxxx xxxxxx xxxx xxxx xxxxxxxxxx xxxxx xxxxxx
|\
| o 6ee3910 1d (redacted-ref-21) xxxxx xxxx xxxxxxxxx
|
O 9195c6a 1d xxxxxxx xxxxxxx xxxxxxxx xxxxxx xxx xxxxxxxxx xxxxxx
|\
| o 0f325c7 1d xxxxxxx xxxxx xxxxxxxx xxxxxxx
| |
| o 185ee46 1d xxxxxxxxxxxxxxx xxxx xxxxx xxxx xxxxxxxxxxxxxx xxxxx
| |
| o bce398b 1d xxxxxxx xxxxxxxx xxxxxxx
| |
| o 397f28a 1d xxx
| |
| o 19b8f0a 1d (redacted-ref-22) xxxxxxx xx xxx xxxxxx xxxxx
|
O da757c2 1d (redacted-ref-23, remote origin/main) xxxxxxx xxxx xxx xxxxxxx xxxxxx xxxxx xxxxxx
|
o 3104728 1d x xxx xxxxxxx xxxxxxx xxxxxxx xxxxxx xxxxx
|
o 9841c5c 1d (redacted-ref-24) xxxxxx xxxxxxxx
|
o 2ef0dbc 2h (redacted-ref-25) xxxxxxx
|
o d3ed55a 47m (redacted-ref-26) xxx xxxxx
|
o f8fbf2b 16m xxx xxxxx
|\
| o 72f2d50 16m (redacted-ref-27) xxx xxxxxx
|
@ f86cd65 14m xxxxx xxxxx
Event ID: 23156, transaction ID: 20013 (message: reference-transaction)
  1. RefUpdateEvent { timestamp: 1663858874.194028, event_tx_id: EventTransactionId(20013), ref_name: ReferenceName("refs/remotes/redacted-ref-2"), old_oid: 0000000000000000000000000000000000000000, new_oid: 2ef0dbc392c0a782f6e90f84a36de5fc7106d71f, message: None }
:
O 3d53c87 1y xxxxxxxx xxx xxxxxx xxxxxx
|\
: o 06047b9 1y xxxxxxx xxxx xxxxxx
: |
: o 8e63ce3 1y xxxxxx xxxxx
: |
: o 42308e5 1y (redacted-ref-4) xxxxxx xxxxxxxxxxx xxxxx xxx xxx
:
O cd8258f 1y xxx xxxxx xxxxx xxxxxx xx xxxxxx xxxxxx
|\
: o 5ff6852 1y (redacted-ref-5) xxxxxxxxxxxxxxxx xxxxxxx xxxxx
:
O f014bb6 330d xxxxxxx xxxxxx xxxxxx
|\
: o bfb6357 322d (redacted-ref-6) xxxxxxx xxxx
:
O a6bdb3a 318d xxxxxxx xx xxxxxxxxxxx xxxxxx
|\
: o 0683431 315d (redacted-ref-7) xxxxxxx xxxxxxx xxxx xxxxxx
:
O 39f91b7 143d xxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxx xxx x xxxxx xxxxxxxxx xxxxxx
|\
| o c8bf7b2 134d (redacted-ref-8) xxxxxxxx xxxxxxx
|\
: o 9672214 127d xxxxxxx xxxxxxxxxx xxxxxx
:
O f9b1bf0 107d xxxxxx xxxxxxxxxxxx xx xxxxxxxx xxxxxxxx xxxxxx xxxxxxxxxxxx xxxxxx
|\
: o 6ab32e2 106d xxxxxxx xxxx xxx xxxxxxxxxxx xxxxxxxx
:
O 10c355f 90d xxx xxxxxx xxxx xxxxxxxx xxxxxxx xx xxxx xxxx xxxxxx
|\
| o bf77b8c 90d xxxxxxx xxxxx xxxxxxxxxxx
| |
| o 9529dc3 90d (redacted-ref-9) xxxxx xxxxxxxxxx
|\
: o f931c9a 90d (redacted-ref-10) xxxxxxx xxxxxxxxxx xxxxxx
:
O 3419b74 76d xxx x xxxxxx xxxx xxxxxxxx xxxxxx
|\
: o 0f247a7 76d xxxxxx xxxxxxxxxxxxxxxx
: |
: o afba845 76d xxxxxxxxxx xxxxxxxx
: |
: o 81a6d9b 76d xxxxxxx xxxxxxxx xxxxx
: |
: o b3504a6 76d (redacted-ref-11) xxxx xx xxxxxx xxxx
:
O b639e42 65d xxx xxxxxxxxxxx xxxxxx
|\
: o 92a2cdc 65d xxxx xxxxx xxxx xxxxxxxxxx xxxx xxxxxx
: |
: o 3632e8d 65d xxx x xxxxxxx
: |
: o 5895e4c 15d (redacted-ref-12) xxxxxx xxxxx xx xx
:
O 560a7a1 1d xxxxx xxxxxxxxx xxxxxx xxxx xxxx xxxx xxxxxxxx xxxxxx
|\
| o 9916d85 1d (redacted-ref-13) xxxxxxx xxxxx xx xxxx xx xxxxxx
|\
| o 05e2a95 1d xxxx xx xxxxxxx xxxxxxxxxxx xxx xxxxx xxxxxxx
|\
| o 1b4ce7f 1d xxxxx xxxxxxxxx xxxxxxxxxxx xxxxxxx
| |
| o ee0b97f 1d xxxxx xxxxxx
| |
| o d30d01a 1d (redacted-ref-14) xxx
|\
| o 1f810a2 1d (redacted-ref-15) xxxxxx xxx xxxxxxxxxx
| |
| o ad7f85a 1d xxxxxxxxxxxxxxx xx xxxxxxxxxx
|\
| o 507cab1 1d xxx xxxxx xxxxxxxxxxx
| |
| o 59eb137 1d xxx xxxxx xxxxxxx
| |
| o bd53f94 1d (redacted-ref-16) xxx xxxxxxxx xxxxx
|\
| o 86362e9 1d (redacted-ref-17) xxxxxxx xxxxxx xx xxxxxxxxxxxxxxxx
|\
| o 8f8ed0a 1d xxxxxxx xxxxxxxxxxxxxxxxxx xxxxxx
| |
| o ea87d33 1d (redacted-ref-18) xxxxxxx xxxxxxxxxxxxx
|\
| o cf83144 1d xxxxxxxxxxxxxx xx xxxxxx xxx xxxxxx xxxxx
|\
| o d5f3eca 1d (redacted-ref-19) xxxx xxxxxxxx xxxxxxx
|\
| o f0ebe29 1d xxxxxx xxxxx
| |
| o ea5cc71 1d (redacted-ref-20) xxx xxxxxxxxxxxxxxxxxxxxxxx
|
O 6773798 1d xxxxxx xxxxxx xxxx xxxx xxxxxxxxxx xxxxx xxxxxx
|\
| o 6ee3910 1d (redacted-ref-21) xxxxx xxxx xxxxxxxxx
|
O 9195c6a 1d xxxxxxx xxxxxxx xxxxxxxx xxxxxx xxx xxxxxxxxx xxxxxx
|\
| o 0f325c7 1d xxxxxxx xxxxx xxxxxxxx xxxxxxx
| |
| o 185ee46 1d xxxxxxxxxxxxxxx xxxx xxxxx xxxx xxxxxxxxxxxxxx xxxxx
| |
| o bce398b 1d xxxxxxx xxxxxxxx xxxxxxx
| |
| o 397f28a 1d xxx
| |
| o 19b8f0a 1d (redacted-ref-22) xxxxxxx xx xxx xxxxxx xxxxx
|
O da757c2 1d (redacted-ref-23, remote origin/main) xxxxxxx xxxx xxx xxxxxxx xxxxxx xxxxx xxxxxx
|
o 3104728 1d x xxx xxxxxxx xxxxxxx xxxxxxx xxxxxx xxxxx
|
o 9841c5c 1d (redacted-ref-24) xxxxxx xxxxxxxx
|
o 2ef0dbc 2h (redacted-ref-25) xxxxxxx
|
o d3ed55a 47m (redacted-ref-26) xxx xxxxx
|
o f8fbf2b 16m xxx xxxxx
|\
| o 72f2d50 16m (redacted-ref-27) xxx xxxxxx
|
@ f86cd65 14m xxxxx xxxxx
Event ID: 23155, transaction ID: 20012 (message: reference-transaction)
  1. RefUpdateEvent { timestamp: 1663858874.119993, event_tx_id: EventTransactionId(20012), ref_name: ReferenceName("refs/remotes/redacted-ref-1"), old_oid: 0000000000000000000000000000000000000000, new_oid: d3ed55a157239401c9c88bff74c773e99ad3d764, message: None }
:
O 3d53c87 1y xxxxxxxx xxx xxxxxx xxxxxx
|\
: o 06047b9 1y xxxxxxx xxxx xxxxxx
: |
: o 8e63ce3 1y xxxxxx xxxxx
: |
: o 42308e5 1y (redacted-ref-4) xxxxxx xxxxxxxxxxx xxxxx xxx xxx
:
O cd8258f 1y xxx xxxxx xxxxx xxxxxx xx xxxxxx xxxxxx
|\
: o 5ff6852 1y (redacted-ref-5) xxxxxxxxxxxxxxxx xxxxxxx xxxxx
:
O f014bb6 330d xxxxxxx xxxxxx xxxxxx
|\
: o bfb6357 322d (redacted-ref-6) xxxxxxx xxxx
:
O a6bdb3a 318d xxxxxxx xx xxxxxxxxxxx xxxxxx
|\
: o 0683431 315d (redacted-ref-7) xxxxxxx xxxxxxx xxxx xxxxxx
:
O 39f91b7 143d xxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxx xxx x xxxxx xxxxxxxxx xxxxxx
|\
| o c8bf7b2 134d (redacted-ref-8) xxxxxxxx xxxxxxx
|\
: o 9672214 127d xxxxxxx xxxxxxxxxx xxxxxx
:
O f9b1bf0 107d xxxxxx xxxxxxxxxxxx xx xxxxxxxx xxxxxxxx xxxxxx xxxxxxxxxxxx xxxxxx
|\
: o 6ab32e2 106d xxxxxxx xxxx xxx xxxxxxxxxxx xxxxxxxx
:
O 10c355f 90d xxx xxxxxx xxxx xxxxxxxx xxxxxxx xx xxxx xxxx xxxxxx
|\
| o bf77b8c 90d xxxxxxx xxxxx xxxxxxxxxxx
| |
| o 9529dc3 90d (redacted-ref-9) xxxxx xxxxxxxxxx
|\
: o f931c9a 90d (redacted-ref-10) xxxxxxx xxxxxxxxxx xxxxxx
:
O 3419b74 76d xxx x xxxxxx xxxx xxxxxxxx xxxxxx
|\
: o 0f247a7 76d xxxxxx xxxxxxxxxxxxxxxx
: |
: o afba845 76d xxxxxxxxxx xxxxxxxx
: |
: o 81a6d9b 76d xxxxxxx xxxxxxxx xxxxx
: |
: o b3504a6 76d (redacted-ref-11) xxxx xx xxxxxx xxxx
:
O b639e42 65d xxx xxxxxxxxxxx xxxxxx
|\
: o 92a2cdc 65d xxxx xxxxx xxxx xxxxxxxxxx xxxx xxxxxx
: |
: o 3632e8d 65d xxx x xxxxxxx
: |
: o 5895e4c 15d (redacted-ref-12) xxxxxx xxxxx xx xx
:
O 560a7a1 1d xxxxx xxxxxxxxx xxxxxx xxxx xxxx xxxx xxxxxxxx xxxxxx
|\
| o 9916d85 1d (redacted-ref-13) xxxxxxx xxxxx xx xxxx xx xxxxxx
|\
| o 05e2a95 1d xxxx xx xxxxxxx xxxxxxxxxxx xxx xxxxx xxxxxxx
|\
| o 1b4ce7f 1d xxxxx xxxxxxxxx xxxxxxxxxxx xxxxxxx
| |
| o ee0b97f 1d xxxxx xxxxxx
| |
| o d30d01a 1d (redacted-ref-14) xxx
|\
| o 1f810a2 1d (redacted-ref-15) xxxxxx xxx xxxxxxxxxx
| |
| o ad7f85a 1d xxxxxxxxxxxxxxx xx xxxxxxxxxx
|\
| o 507cab1 1d xxx xxxxx xxxxxxxxxxx
| |
| o 59eb137 1d xxx xxxxx xxxxxxx
| |
| o bd53f94 1d (redacted-ref-16) xxx xxxxxxxx xxxxx
|\
| o 86362e9 1d (redacted-ref-17) xxxxxxx xxxxxx xx xxxxxxxxxxxxxxxx
|\
| o 8f8ed0a 1d xxxxxxx xxxxxxxxxxxxxxxxxx xxxxxx
| |
| o ea87d33 1d (redacted-ref-18) xxxxxxx xxxxxxxxxxxxx
|\
| o cf83144 1d xxxxxxxxxxxxxx xx xxxxxx xxx xxxxxx xxxxx
|\
| o d5f3eca 1d (redacted-ref-19) xxxx xxxxxxxx xxxxxxx
|\
| o f0ebe29 1d xxxxxx xxxxx
| |
| o ea5cc71 1d (redacted-ref-20) xxx xxxxxxxxxxxxxxxxxxxxxxx
|
O 6773798 1d xxxxxx xxxxxx xxxx xxxx xxxxxxxxxx xxxxx xxxxxx
|\
| o 6ee3910 1d (redacted-ref-21) xxxxx xxxx xxxxxxxxx
|
O 9195c6a 1d xxxxxxx xxxxxxx xxxxxxxx xxxxxx xxx xxxxxxxxx xxxxxx
|\
| o 0f325c7 1d xxxxxxx xxxxx xxxxxxxx xxxxxxx
| |
| o 185ee46 1d xxxxxxxxxxxxxxx xxxx xxxxx xxxx xxxxxxxxxxxxxx xxxxx
| |
| o bce398b 1d xxxxxxx xxxxxxxx xxxxxxx
| |
| o 397f28a 1d xxx
| |
| o 19b8f0a 1d (redacted-ref-22) xxxxxxx xx xxx xxxxxx xxxxx
|
O da757c2 1d (redacted-ref-23, remote origin/main) xxxxxxx xxxx xxx xxxxxxx xxxxxx xxxxx xxxxxx
|
o 3104728 1d x xxx xxxxxxx xxxxxxx xxxxxxx xxxxxx xxxxx
|
o 9841c5c 1d (redacted-ref-24) xxxxxx xxxxxxxx
|
o 2ef0dbc 2h (redacted-ref-25) xxxxxxx
|
o d3ed55a 47m (redacted-ref-26) xxx xxxxx
|
o f8fbf2b 16m xxx xxxxx
|\
| o 72f2d50 16m (redacted-ref-27) xxx xxxxxx
|
@ f86cd65 14m xxxxx xxxxx
Event ID: 23154, transaction ID: 20011 (message: reference-transaction)
  1. RefUpdateEvent { timestamp: 1663858874.072214, event_tx_id: EventTransactionId(20011), ref_name: ReferenceName("refs/remotes/redacted-ref-0"), old_oid: 0000000000000000000000000000000000000000, new_oid: 72f2d509d5ed75dc356e983f78c27811d5ce5efe, message: None }
:
O 3d53c87 1y xxxxxxxx xxx xxxxxx xxxxxx
|\
: o 06047b9 1y xxxxxxx xxxx xxxxxx
: |
: o 8e63ce3 1y xxxxxx xxxxx
: |
: o 42308e5 1y (redacted-ref-4) xxxxxx xxxxxxxxxxx xxxxx xxx xxx
:
O cd8258f 1y xxx xxxxx xxxxx xxxxxx xx xxxxxx xxxxxx
|\
: o 5ff6852 1y (redacted-ref-5) xxxxxxxxxxxxxxxx xxxxxxx xxxxx
:
O f014bb6 330d xxxxxxx xxxxxx xxxxxx
|\
: o bfb6357 322d (redacted-ref-6) xxxxxxx xxxx
:
O a6bdb3a 318d xxxxxxx xx xxxxxxxxxxx xxxxxx
|\
: o 0683431 315d (redacted-ref-7) xxxxxxx xxxxxxx xxxx xxxxxx
:
O 39f91b7 143d xxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxx xxx x xxxxx xxxxxxxxx xxxxxx
|\
| o c8bf7b2 134d (redacted-ref-8) xxxxxxxx xxxxxxx
|\
: o 9672214 127d xxxxxxx xxxxxxxxxx xxxxxx
:
O f9b1bf0 107d xxxxxx xxxxxxxxxxxx xx xxxxxxxx xxxxxxxx xxxxxx xxxxxxxxxxxx xxxxxx
|\
: o 6ab32e2 106d xxxxxxx xxxx xxx xxxxxxxxxxx xxxxxxxx
:
O 10c355f 90d xxx xxxxxx xxxx xxxxxxxx xxxxxxx xx xxxx xxxx xxxxxx
|\
| o bf77b8c 90d xxxxxxx xxxxx xxxxxxxxxxx
| |
| o 9529dc3 90d (redacted-ref-9) xxxxx xxxxxxxxxx
|\
: o f931c9a 90d (redacted-ref-10) xxxxxxx xxxxxxxxxx xxxxxx
:
O 3419b74 76d xxx x xxxxxx xxxx xxxxxxxx xxxxxx
|\
: o 0f247a7 76d xxxxxx xxxxxxxxxxxxxxxx
: |
: o afba845 76d xxxxxxxxxx xxxxxxxx
: |
: o 81a6d9b 76d xxxxxxx xxxxxxxx xxxxx
: |
: o b3504a6 76d (redacted-ref-11) xxxx xx xxxxxx xxxx
:
O b639e42 65d xxx xxxxxxxxxxx xxxxxx
|\
: o 92a2cdc 65d xxxx xxxxx xxxx xxxxxxxxxx xxxx xxxxxx
: |
: o 3632e8d 65d xxx x xxxxxxx
: |
: o 5895e4c 15d (redacted-ref-12) xxxxxx xxxxx xx xx
:
O 560a7a1 1d xxxxx xxxxxxxxx xxxxxx xxxx xxxx xxxx xxxxxxxx xxxxxx
|\
| o 9916d85 1d (redacted-ref-13) xxxxxxx xxxxx xx xxxx xx xxxxxx
|\
| o 05e2a95 1d xxxx xx xxxxxxx xxxxxxxxxxx xxx xxxxx xxxxxxx
|\
| o 1b4ce7f 1d xxxxx xxxxxxxxx xxxxxxxxxxx xxxxxxx
| |
| o ee0b97f 1d xxxxx xxxxxx
| |
| o d30d01a 1d (redacted-ref-14) xxx
|\
| o 1f810a2 1d (redacted-ref-15) xxxxxx xxx xxxxxxxxxx
| |
| o ad7f85a 1d xxxxxxxxxxxxxxx xx xxxxxxxxxx
|\
| o 507cab1 1d xxx xxxxx xxxxxxxxxxx
| |
| o 59eb137 1d xxx xxxxx xxxxxxx
| |
| o bd53f94 1d (redacted-ref-16) xxx xxxxxxxx xxxxx
|\
| o 86362e9 1d (redacted-ref-17) xxxxxxx xxxxxx xx xxxxxxxxxxxxxxxx
|\
| o 8f8ed0a 1d xxxxxxx xxxxxxxxxxxxxxxxxx xxxxxx
| |
| o ea87d33 1d (redacted-ref-18) xxxxxxx xxxxxxxxxxxxx
|\
| o cf83144 1d xxxxxxxxxxxxxx xx xxxxxx xxx xxxxxx xxxxx
|\
| o d5f3eca 1d (redacted-ref-19) xxxx xxxxxxxx xxxxxxx
|\
| o f0ebe29 1d xxxxxx xxxxx
| |
| o ea5cc71 1d (redacted-ref-20) xxx xxxxxxxxxxxxxxxxxxxxxxx
|
O 6773798 1d xxxxxx xxxxxx xxxx xxxx xxxxxxxxxx xxxxx xxxxxx
|\
| o 6ee3910 1d (redacted-ref-21) xxxxx xxxx xxxxxxxxx
|
O 9195c6a 1d xxxxxxx xxxxxxx xxxxxxxx xxxxxx xxx xxxxxxxxx xxxxxx
|\
| o 0f325c7 1d xxxxxxx xxxxx xxxxxxxx xxxxxxx
| |
| o 185ee46 1d xxxxxxxxxxxxxxx xxxx xxxxx xxxx xxxxxxxxxxxxxx xxxxx
| |
| o bce398b 1d xxxxxxx xxxxxxxx xxxxxxx
| |
| o 397f28a 1d xxx
| |
| o 19b8f0a 1d (redacted-ref-22) xxxxxxx xx xxx xxxxxx xxxxx
|
O da757c2 1d (redacted-ref-23, remote origin/main) xxxxxxx xxxx xxx xxxxxxx xxxxxx xxxxx xxxxxx
|
o 3104728 1d x xxx xxxxxxx xxxxxxx xxxxxxx xxxxxx xxxxx
|
o 9841c5c 1d (redacted-ref-24) xxxxxx xxxxxxxx
|
o 2ef0dbc 2h (redacted-ref-25) xxxxxxx
|
o d3ed55a 47m (redacted-ref-26) xxx xxxxx
|
o f8fbf2b 16m xxx xxxxx
|\
| o 72f2d50 16m (redacted-ref-27) xxx xxxxxx
|
@ f86cd65 14m xxxxx xxxxx
Event ID: 23153, transaction ID: 20010 (message: reference-transaction)
  1. RefUpdateEvent { timestamp: 1663858730.142032, event_tx_id: EventTransactionId(20010), ref_name: ReferenceName("refs/remotes/redacted-ref-28"), old_oid: 0000000000000000000000000000000000000000, new_oid: 0000000000000000000000000000000000000000, message: None }
:
O 3d53c87 1y xxxxxxxx xxx xxxxxx xxxxxx
|\
: o 06047b9 1y xxxxxxx xxxx xxxxxx
: |
: o 8e63ce3 1y xxxxxx xxxxx
: |
: o 42308e5 1y (redacted-ref-4) xxxxxx xxxxxxxxxxx xxxxx xxx xxx
:
O cd8258f 1y xxx xxxxx xxxxx xxxxxx xx xxxxxx xxxxxx
|\
: o 5ff6852 1y (redacted-ref-5) xxxxxxxxxxxxxxxx xxxxxxx xxxxx
:
O f014bb6 330d xxxxxxx xxxxxx xxxxxx
|\
: o bfb6357 322d (redacted-ref-6) xxxxxxx xxxx
:
O a6bdb3a 318d xxxxxxx xx xxxxxxxxxxx xxxxxx
|\
: o 0683431 315d (redacted-ref-7) xxxxxxx xxxxxxx xxxx xxxxxx
:
O 39f91b7 143d xxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxx xxx x xxxxx xxxxxxxxx xxxxxx
|\
| o c8bf7b2 134d (redacted-ref-8) xxxxxxxx xxxxxxx
|\
: o 9672214 127d xxxxxxx xxxxxxxxxx xxxxxx
:
O f9b1bf0 107d xxxxxx xxxxxxxxxxxx xx xxxxxxxx xxxxxxxx xxxxxx xxxxxxxxxxxx xxxxxx
|\
: o 6ab32e2 106d xxxxxxx xxxx xxx xxxxxxxxxxx xxxxxxxx
:
O 10c355f 90d xxx xxxxxx xxxx xxxxxxxx xxxxxxx xx xxxx xxxx xxxxxx
|\
| o bf77b8c 90d xxxxxxx xxxxx xxxxxxxxxxx
| |
| o 9529dc3 90d (redacted-ref-9) xxxxx xxxxxxxxxx
|\
: o f931c9a 90d (redacted-ref-10) xxxxxxx xxxxxxxxxx xxxxxx
:
O 3419b74 76d xxx x xxxxxx xxxx xxxxxxxx xxxxxx
|\
: o 0f247a7 76d xxxxxx xxxxxxxxxxxxxxxx
: |
: o afba845 76d xxxxxxxxxx xxxxxxxx
: |
: o 81a6d9b 76d xxxxxxx xxxxxxxx xxxxx
: |
: o b3504a6 76d (redacted-ref-11) xxxx xx xxxxxx xxxx
:
O b639e42 65d xxx xxxxxxxxxxx xxxxxx
|\
: o 92a2cdc 65d xxxx xxxxx xxxx xxxxxxxxxx xxxx xxxxxx
: |
: o 3632e8d 65d xxx x xxxxxxx
: |
: o 5895e4c 15d (redacted-ref-12) xxxxxx xxxxx xx xx
:
O 560a7a1 1d xxxxx xxxxxxxxx xxxxxx xxxx xxxx xxxx xxxxxxxx xxxxxx
|\
| o 9916d85 1d (redacted-ref-13) xxxxxxx xxxxx xx xxxx xx xxxxxx
|\
| o 05e2a95 1d xxxx xx xxxxxxx xxxxxxxxxxx xxx xxxxx xxxxxxx
|\
| o 1b4ce7f 1d xxxxx xxxxxxxxx xxxxxxxxxxx xxxxxxx
| |
| o ee0b97f 1d xxxxx xxxxxx
| |
| o d30d01a 1d (redacted-ref-14) xxx
|\
| o 1f810a2 1d (redacted-ref-15) xxxxxx xxx xxxxxxxxxx
| |
| o ad7f85a 1d xxxxxxxxxxxxxxx xx xxxxxxxxxx
|\
| o 507cab1 1d xxx xxxxx xxxxxxxxxxx
| |
| o 59eb137 1d xxx xxxxx xxxxxxx
| |
| o bd53f94 1d (redacted-ref-16) xxx xxxxxxxx xxxxx
|\
| o 86362e9 1d (redacted-ref-17) xxxxxxx xxxxxx xx xxxxxxxxxxxxxxxx
|\
| o 8f8ed0a 1d xxxxxxx xxxxxxxxxxxxxxxxxx xxxxxx
| |
| o ea87d33 1d (redacted-ref-18) xxxxxxx xxxxxxxxxxxxx
|\
| o cf83144 1d xxxxxxxxxxxxxx xx xxxxxx xxx xxxxxx xxxxx
|\
| o d5f3eca 1d (redacted-ref-19) xxxx xxxxxxxx xxxxxxx
|\
| o f0ebe29 1d xxxxxx xxxxx
| |
| o ea5cc71 1d (redacted-ref-20) xxx xxxxxxxxxxxxxxxxxxxxxxx
|
O 6773798 1d xxxxxx xxxxxx xxxx xxxx xxxxxxxxxx xxxxx xxxxxx
|\
| o 6ee3910 1d (redacted-ref-21) xxxxx xxxx xxxxxxxxx
|
O 9195c6a 1d xxxxxxx xxxxxxx xxxxxxxx xxxxxx xxx xxxxxxxxx xxxxxx
|\
| o 0f325c7 1d xxxxxxx xxxxx xxxxxxxx xxxxxxx
| |
| o 185ee46 1d xxxxxxxxxxxxxxx xxxx xxxxx xxxx xxxxxxxxxxxxxx xxxxx
| |
| o bce398b 1d xxxxxxx xxxxxxxx xxxxxxx
| |
| o 397f28a 1d xxx
| |
| o 19b8f0a 1d (redacted-ref-22) xxxxxxx xx xxx xxxxxx xxxxx
|
O da757c2 1d (redacted-ref-23, remote origin/main) xxxxxxx xxxx xxx xxxxxxx xxxxxx xxxxx xxxxxx
|
o 3104728 1d x xxx xxxxxxx xxxxxxx xxxxxxx xxxxxx xxxxx
|
o 9841c5c 1d (redacted-ref-24) xxxxxx xxxxxxxx
|
o 2ef0dbc 2h (redacted-ref-25) xxxxxxx
|
o d3ed55a 47m (redacted-ref-26) xxx xxxxx
|
o f8fbf2b 16m xxx xxxxx
|\
| o 72f2d50 16m (redacted-ref-27) xxx xxxxxx
|
@ f86cd65 14m xxxxx xxxxx

Version of git-branchless

No response

Version of git

No response

@pokey pokey added the bug Something isn't working label Sep 22, 2022
@pokey
Copy link
Collaborator Author

pokey commented Sep 22, 2022

I think we could basically just move this line

if !branches_without_remotes.is_empty() {

before this line

That way we attempt to create branches only if any branches actually need to be created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant