]> git.proxmox.com Git - libgit2.git/blobdiff - tests/status/status_helpers.c
New upstream version 1.4.3+dfsg.1
[libgit2.git] / tests / status / status_helpers.c
index 08827925270189e4236a591e2b87bc99f97d14c7..5d13caa9a0da8317eae72bc1815a4b18afef3438 100644 (file)
@@ -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,