summaryrefslogtreecommitdiff
path: root/src/status.c
diff options
context:
space:
mode:
authorAlan Rogers <alan@github.com>2014-05-20 23:57:40 +1000
committerAlan Rogers <alan@github.com>2014-05-20 23:57:40 +1000
commit61bef72dc35c593e632dc2008c4eec271a264869 (patch)
treee85096c82d51a1dc81d529b627fb7504c1059d29 /src/status.c
parentf47bc8ff5e844fec15e705e8ebd11bae742b8039 (diff)
downloadlibgit2-61bef72dc35c593e632dc2008c4eec271a264869.tar.gz
Start adding GIT_DELTA_UNREADABLE and GIT_STATUS_WT_UNREADABLE.
Diffstat (limited to 'src/status.c')
-rw-r--r--src/status.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/status.c b/src/status.c
index 061c9d5e1..6b8009854 100644
--- a/src/status.c
+++ b/src/status.c
@@ -62,6 +62,9 @@ static unsigned int workdir_delta2status(
case GIT_DELTA_UNTRACKED:
st = GIT_STATUS_WT_NEW;
break;
+ case GIT_DELTA_UNREADABLE:
+ st = GIT_STATUS_WT_UNREADABLE;
+ break;
case GIT_DELTA_DELETED:
st = GIT_STATUS_WT_DELETED;
break;