-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Pager is not utilized for aliases using '!' syntax to run git #85
Comments
Could you try that in a native console window ( Suspected cause: when git starts another process (which the '!' alias would do), it dup()licates the in/out/err descriptors (in run-command.c::start_command). This means that the in/out/err streams of the child process no longer match MSYS_TTY_HANDLES. |
@kblees good analysis! |
This comment was marked as abuse.
This comment was marked as abuse.
Thanks, so it seems to be caused by mintty as well...
Yes
No |
@rcdailey if you have not done so yet, could you please set up a Git SDK and test the |
This comment was marked as abuse.
This comment was marked as abuse.
That's okay, you built the Thanks for the feedback! We can finally close this ticket, thanks to the excellent contribution of @kblees. |
This comment was marked as abuse.
This comment was marked as abuse.
You probably wanted to run |
Not so. By the time you tested, I had merged the branch into |
Most of these were done in private before microsoft/git. However, the following pull requests modified the core feature: git-for-windows#85 git-for-windows#89 git-for-windows#91 git-for-windows#98 git-for-windows#243 git-for-windows#263 Signed-off-by: Derrick Stolee <[email protected]>
Most of these were done in private before microsoft/git. However, the following pull requests modified the core feature: git-for-windows#85 git-for-windows#89 git-for-windows#91 git-for-windows#98 git-for-windows#243 git-for-windows#263 Signed-off-by: Derrick Stolee <[email protected]>
Most of these were done in private before microsoft/git. However, the following pull requests modified the core feature: git-for-windows#85 git-for-windows#89 git-for-windows#91 git-for-windows#98 git-for-windows#243 git-for-windows#263 Signed-off-by: Derrick Stolee <[email protected]>
Most of these were done in private before microsoft/git. However, the following pull requests modified the core feature: git-for-windows#85 git-for-windows#89 git-for-windows#91 git-for-windows#98 git-for-windows#243 git-for-windows#263 Signed-off-by: Derrick Stolee <[email protected]>
Most of these were done in private before microsoft/git. However, the following pull requests modified the core feature: git-for-windows#85 git-for-windows#89 git-for-windows#91 git-for-windows#98 git-for-windows#243 git-for-windows#263 Signed-off-by: Derrick Stolee <[email protected]>
Most of these were done in private before microsoft/git. However, the following pull requests modified the core feature: git-for-windows#85 git-for-windows#89 git-for-windows#91 git-for-windows#98 git-for-windows#243 git-for-windows#263 Signed-off-by: Derrick Stolee <[email protected]>
Most of these were done in private before microsoft/git. However, the following pull requests modified the core feature: git-for-windows#85 git-for-windows#89 git-for-windows#91 git-for-windows#98 git-for-windows#243 git-for-windows#263 Signed-off-by: Derrick Stolee <[email protected]>
I'm running the 3rd iteration of the developer preview.
When I run my git alias to show my log graph with special formatting, pagination is not being used when it should. I have
core.pager
set toless
.I have the following aliases in my
.gitconfig
:I have not verified this but I suspect the usage of
!
to execute git to chain aliases together is the root cause. I say this because if I rungit short-log-base
, pagination works. But if I rungit l
, pagination does not work. In the logs below, I show the differences between the two. Note in the trace that less is not executed for the former example.The text was updated successfully, but these errors were encountered: