# git-fetch ansi control sequences

1 messages from 2007-11-29 to 2007-11-29. Participants: Romain Francoise.
Thread: https://gitlist.dev/t/11062

## Romain Francoise, 2007-11-29 20:10

Subject: git-fetch ansi control sequences
Message-ID: <87prxs6ces.fsf@elegiac.orebokech.com>
URL: https://gitlist.dev/e/87prxs6ces.fsf%40elegiac.orebokech.com

```
Running 'git fetch' in a dumb terminal (like an Emacs shell buffer)
now outputs raw control sequences, which isn't particularly pretty:

| remote: Generating pack...^[[K
| remote: Done counting 4044 objects.^[[K
| remote: Result has 2577 objects.^[[K
| remote: Deltifying 2577 objects...^[[K
| remote:
| remote: Total 2577 (delta 2150), reused 2457 (delta 2044)^[[K

It would be easy to make recv_sideband() check if the terminal is
dumb, but I have a feeling that the sideband code shouldn't have to
know about such things, being rather generic.

What do people think?

```
