Thread (4 messages) flat view 4 messages, 2 authors, 2017-01-18

Re: [BUG/RFC] Git Gui: GIT_DIR leaks to spawned Git Bash

From: Max Kirillov <hidden>
Date: 2017-01-17 18:51:30

On Tue, Jan 17, 2017 at 11:52:29AM +0100, Johannes Schindelin wrote:
Hi Max,

On Tue, 17 Jan 2017, Max Kirillov wrote:
quoted
Apparently various GIT_* environment variables (most
interesting is GIT_DIR but AFAIR there were more) leak to
shell session launched from Git Gui's "Git Bash" menu item.
...
After all, you won't even notice unless you use the very
same Git Bash to navigate to a *different* worktree.
That's right, I haven't been noticing it myself for quite a
time. But once I decided to tweak my habits to having only
one terminal window opened, and immediately noticed.
And having said *that*, I have to admit that I was unable to reproduce
I have found exact way to reproduce it and actually the
reason. Turns out to be obvious mistake in code. PR is in
github: https://github.com/git-for-windows/git/pull/1032

-- 
Max
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help