summaryrefslogtreecommitdiff
path: root/tests/status
diff options
context:
space:
mode:
authorAlan Rogers <alan@github.com>2014-05-30 16:22:13 -0700
committerAlan Rogers <alan@github.com>2014-05-30 16:22:13 -0700
commit59fcebaa89d6ebdadf59c08c3bee030ce84765a1 (patch)
tree30248fbe09508a86132296322460c2f6c264be0a /tests/status
parent66271925a118040eac4d18230cfa88461c1e3788 (diff)
downloadlibgit2-59fcebaa89d6ebdadf59c08c3bee030ce84765a1.tar.gz
Use 'X' for unreadable status.
Diffstat (limited to 'tests/status')
-rw-r--r--tests/status/status_helpers.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/status/status_helpers.c b/tests/status/status_helpers.c
index 088279252..5d13caa9a 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,