Git development
 help / color / mirror / Atom feed
* git-fetch ansi control sequences
@ 2007-11-29 20:10 Romain Francoise
  0 siblings, 0 replies; only message in thread
From: Romain Francoise @ 2007-11-29 20:10 UTC (permalink / raw)
  To: git

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-29 20:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-29 20:10 git-fetch ansi control sequences Romain Francoise

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox