# BUG: Windows Color scheme not preserved

3 messages from 2020-11-10 to 2020-11-10. Participants: Ryan Wilkerson, Johannes Schindelin.
Thread: https://gitlist.dev/t/54614

## Ryan Wilkerson, 2020-11-10 20:03

Subject: BUG: Windows Color scheme not preserved
Message-ID: <MWHPR21MB01435E001D3B779017675B1297E90@MWHPR21MB0143.namprd21.prod.outlook.com>
URL: https://gitlist.dev/e/MWHPR21MB01435E001D3B779017675B1297E90%40MWHPR21MB0143.namprd21.prod.outlook.com
In-Reply-To: <MWHPR21MB0143F3E8DA25D35AEB0DB92B97E90@MWHPR21MB0143.namprd21.prod.outlook.com>

```
Besides the bug below - documentation on 'git bugreport' does not provide any information about where to share the bug report, or explicitly say that it's not submitted (I expected the bug report to be automatically sent).

---

Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)
I set the color in my Windows cmd-line window to something other than the default.  I then ran 'git branch'; from that point forward, text is no longer in the colors specified by the color cmd; instead, it's the default cmdline color scheme.

What did you expect to happen? (Expected behavior)
see above - I expected the specified cmdline color scheme to be preserved

What happened instead? (Actual behavior)
Colors were rolled back to cmd.exe defaults

What's different between what you expected and what actually happened?

Anything else you want to add:
This is a regression - this behavior worked in a build probably 3-4 years ago.  I believe it was broken (but unreported) in 2.29.0 or so; it is still not fixed after this upgrade.


Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.29.2.windows.2
cpu: x86_64
built from commit: 3464b98ce6803c98bf8fb34390cd150d66e4a0d3
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
uname: Windows 10.0 19042 
compiler info: gnuc: 10.2
libc info: no libc information available
$SHELL (typically, interactive shell): <unset>


[Enabled Hooks]
post-commit

```

## Johannes Schindelin, 2020-11-10 22:42

Subject: Re: BUG: Windows Color scheme not preserved
Message-ID: <nycvar.QRO.7.76.6.2011102341460.18437@tvgsbejvaqbjf.bet>
URL: https://gitlist.dev/e/nycvar.QRO.7.76.6.2011102341460.18437%40tvgsbejvaqbjf.bet
In-Reply-To: <MWHPR21MB01435E001D3B779017675B1297E90@MWHPR21MB0143.namprd21.prod.outlook.com>

```
Hi Ryan,

On Tue, 10 Nov 2020, Ryan Wilkerson wrote:

> What did you do before the bug happened? (Steps to reproduce your issue)
> I set the color in my Windows cmd-line window to something other than
> the default.

Could you describe in a bit of detail how you did that?

Ciao,
Johannes

```

## Ryan Wilkerson, 2020-11-10 22:45

Subject: RE: [EXTERNAL] Re: BUG: Windows Color scheme not preserved
Message-ID: <MWHPR21MB014370A8261F29A343B7290B97E90@MWHPR21MB0143.namprd21.prod.outlook.com>
URL: https://gitlist.dev/e/MWHPR21MB014370A8261F29A343B7290B97E90%40MWHPR21MB0143.namprd21.prod.outlook.com
In-Reply-To: <nycvar.QRO.7.76.6.2011102341460.18437@tvgsbejvaqbjf.bet>

```
There is a color cmd, for example: color 2e

-Ryan

-----Original Message-----
From: Johannes Schindelin <Johannes.Schindelin@gmx.de> 
Sent: Tuesday, November 10, 2020 2:43 PM
To: Ryan Wilkerson <Ryan.Wilkerson@microsoft.com>
Cc: git@vger.kernel.org
Subject: [EXTERNAL] Re: BUG: Windows Color scheme not preserved

Hi Ryan,

On Tue, 10 Nov 2020, Ryan Wilkerson wrote:

> What did you do before the bug happened? (Steps to reproduce your 
> issue) I set the color in my Windows cmd-line window to something 
> other than the default.

Could you describe in a bit of detail how you did that?

Ciao,
Johannes

```
