Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Rogers <alan@github.com>2014-05-31 03:22:13 +0400
committerAlan Rogers <alan@github.com>2014-05-31 03:22:13 +0400
commit59fcebaa89d6ebdadf59c08c3bee030ce84765a1 (patch)
tree30248fbe09508a86132296322460c2f6c264be0a /tests/status
parent66271925a118040eac4d18230cfa88461c1e3788 (diff)
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,