You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ git-branchless submit @branchless: running command: git fetch origin refs/heads/checkpoint-build-improvePseudo-terminal will not be allocated because stdin is not a terminal.From github.com:bryango/nixpkgs * branch checkpoint-build-improve -> FETCH_HEADThe application panicked (crashed).Message: A fatal error occurred: 0: could not find upstream branch for branch with name 'checkpoint-build-improve': '^refs/heads/rapidfuzz-opt-numpy' is not a valid refspec.; class=Invalid (3) 1: '^refs/heads/rapidfuzz-opt-numpy' is not a valid refspec.; class=Invalid (3)Location: git-branchless-submit/src/branch_forge.rs:155Location: git-branchless/src/commands/mod.rs:235
The full error is specific to git-branchless, but the not a valid refspec part seems to come from libgit2.
Expected behavior
Understand negative refspec in the form of ^refs.
Actual behavior
Do not understand negative refspec in the form of ^refs.
It seems that negative refspec in the form of
^refs
is not yet implemented in libgit2. See:Reproduction steps
Perform a fetch with a negative refspec in some application. I am using https://github.com/arxanas/git-branchless/tree/v0.8.0.
Observe the error:
The full error is specific to git-branchless, but the
not a valid refspec
part seems to come from libgit2.Expected behavior
Understand negative refspec in the form of
^refs
.Actual behavior
Do not understand negative refspec in the form of
^refs
.Version of libgit2 (release number or SHA1)
libgit2-sys 0.15.2+1.6.4
I believe this is the rust binding of libgit2 v1.6.4.
Operating system(s) tested
The text was updated successfully, but these errors were encountered: