ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Martin von Zweigbergk 20eb9ecec1 git: don't abandon HEAD commit when it loses a branch
I was trying to create a reproduction script for #412, but the script
ran into another bug first. The script removed all the local and
remote branches from the backing Git repo. I noticed that we would
then try to abandon all commits. We should still count Git HEAD's
target as visible and not try to abandon it. This patch fixes that.
2022-10-29 03:02:26 -07:00
..
src git: don't abandon HEAD commit when it loses a branch 2022-10-29 03:02:26 -07:00
tests git: don't abandon HEAD commit when it loses a branch 2022-10-29 03:02:26 -07:00
build.rs
Cargo.toml tests: extract setup of libgit2 config to lib crate 2022-10-23 11:08:22 -07:00