1. Stefan Saasen
  2. git

Commits

Junio C Hamano  committed 962ad61 Merge

Merge branch 'jc/sideband'

* jc/sideband:
sideband: do not use color, just say "remote:"
fetch/clone: mark messages from remote side stand out.

  • Participants
  • Parent commits 53dd8a9, 2de196f
  • Branches master

Comments (0)

Files changed (1)

File fetch-clone.c

View file
 			len--;
 			switch (buf[0] & 0xFF) {
 			case 3:
+				safe_write(2, "remote: ", 8);
 				safe_write(2, buf+1, len);
-				fprintf(stderr, "\n");
+				safe_write(2, "\n", 1);
 				exit(1);
 			case 2:
+				safe_write(2, "remote: ", 8);
 				safe_write(2, buf+1, len);
 				continue;
 			case 1: