Commit 59fcebaa89d6ebdadf59c08c3bee030ce84765a1

Alan Rogers 2014-05-30T16:22:13

Use 'X' for unreadable status.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tests/status/status_helpers.c b/tests/status/status_helpers.c
index 0882792..5d13caa 100644
--- a/tests/status/status_helpers.c
+++ b/tests/status/status_helpers.c
@@ -82,6 +82,9 @@ int cb_status__print(
 	if (status_flags & GIT_STATUS_IGNORED) {
 		wstatus = 'I'; wcount++;
 	}
+	if (status_flags & GIT_STATUS_WT_UNREADABLE) {
+		wstatus = 'X'; wcount++;
+	}
 
 	fprintf(stderr, "%c%c %s (%d/%d%s)\n",
 			istatus, wstatus, path, icount, wcount,