New commits not shown when using overcommit
to manage Git hooks
#1324
Replies: 2 comments 2 replies
-
It appears it is a conflict with |
Beta Was this translation helpful? Give feedback.
-
@scottjacobsen The lack of support for multiple hooks of a given kind is a Git limitation, but sounds like git-branchless assumes that the hook is a shell script and then tries pretty hard to insert its own configuration without disturbing other configuration: git-branchless/git-branchless-init/src/lib.rs Lines 151 to 173 in ce1aa49 There is in principle support for using different hook management systems, if you wanted to try to add support for git-branchless/git-branchless-init/src/lib.rs Lines 107 to 121 in ce1aa49 As an ad-hoc solution, it seems like you should be able to add the git-branchless hooks to
|
Beta Was this translation helpful? Give feedback.
-
Description of the bug
When I commit a few times and then run
git sl
I see this:┃ ◯ aba6ab9 3m test
┃ ┃
┃ ◯ b147149 2m test2
┃ ┃
┃ ● e37e0ee 6s test3
Then when I run
git prev
I see this:┃ ◯ aba6ab9 6m test
┃ ┃
┃ ● b147149 4m test2
Here I would still expect to see
e37e0ee
as the next commit but it seems hiddenThen I do:
And then I see:
┃ ◯ aba6ab9 8m test
┃ ┃
┃ ● b147149 6m test2
┃ ┃
┃ ◯ e37e0ee 4m test3
After than I can do
git next
andgit prev
as usual. So it seems like new commits are defaulting to thehidden
state.Expected behavior
I expect new commits not to be hidden.
Actual behavior
New commits appear to be hidden after switching to a different commit.
Version of
rustc
No response
Automated bug report
No response
Version of
git-branchless
git-branchless-opts 0.8.0
Version of
git
git version 2.45.1
Beta Was this translation helpful? Give feedback.
All reactions