-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
--filter . not the same as --filter pwd
#4298
Comments
Thanks for the report! My debug logs shows this:
when I reproduce. The slightly suspicious thing to me is that we do a git log twice, and the 2nd time does not include the path filter. The same thing happens with Since |
@skeept To clarify your intent: Are you reproducing this error by launching lazygit from within a directory that is not the root of your repository? That is what I need to do to reproduce. In the root of the repository (which is where I always launch lazygit in my normal flow), the two screens look the same. |
@ChrisMcD1 yes launching from a directory different than the root of the repo. For example for this repo in the scripts folder we have for lazigit -f . and for |
Describe the bug
I just found out about
-f
it's great option, Thanks.The behavior I want is given by
lazygit -f $(pwd)
I expected
lazygit -f .
to show exactly same screen.To Reproduce
run
lazygit -f .
Expected behavior
same output as
lazygit -f $(pwd)
Version info:
commit=6636d0c15aa18ef202689f151f2d6464f2ce064e, build date=2025-02-15T04:51:49Z, build source=binaryRelease, version=0.46.0, os=linux, arch=amd64, git version=2.34.1
The text was updated successfully, but these errors were encountered: