diff options
author | Alan Rogers <alan@github.com> | 2014-05-31 03:22:13 +0400 |
---|---|---|
committer | Alan Rogers <alan@github.com> | 2014-05-31 03:22:13 +0400 |
commit | 59fcebaa89d6ebdadf59c08c3bee030ce84765a1 (patch) | |
tree | 30248fbe09508a86132296322460c2f6c264be0a /tests/status | |
parent | 66271925a118040eac4d18230cfa88461c1e3788 (diff) |
Use 'X' for unreadable status.
Diffstat (limited to 'tests/status')
-rw-r--r-- | tests/status/status_helpers.c | 3 |
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, |