git-stash: do not get fooled with "color.diff = true"
commitaa4f31d5a3923939bf2cb670ecaa4f68025f4bf3
authorPascal Obry <pascal.obry@wanadoo.fr>
Mon, 26 Nov 2007 22:04:28 +0000 (26 23:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Nov 2007 04:42:21 +0000 (27 20:42 -0800)
tree299a15ffc6a45c84403aa689689a1456da4dd332
parentecf4831d89ba6986249e1bf232b2e2f5f7536223
git-stash: do not get fooled with "color.diff = true"

When colors are set to "true" on the repository, the git log output
will contain control characters to set/reset the colors, even when
the output is to a pipe. This makes list_stash() fail as the
downstream sed does not see what it is expecting.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh