Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fetch/clone: mark messages from remote side stand out.
[gitweb.git]
/
fetch-clone.c
diff --git
a/fetch-clone.c
b/fetch-clone.c
index 81d13712962dfcf16c4f0f5a574b6950f6c3f154..692d9b750d50d6b739bdcf6ae2bcbb17ca379d99 100644
(file)
--- a/
fetch-clone.c
+++ b/
fetch-clone.c
@@
-133,7
+133,10
@@
static pid_t setup_sideband(int sideband, const char *me, int fd[2], int xd[2])
fprintf(stderr, "\n");
exit(1);
case 2:
+ /* color sideband */
+ safe_write(2, "\033[44;37;1m", 10);
safe_write(2, buf+1, len);
+ safe_write(2, "\033[m", 3);
continue;
case 1:
safe_write(fd[1], buf+1, len);