summaryrefslogtreecommitdiff
path: root/src/crlf.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-01-24 11:36:41 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-01-25 08:15:44 +0100
commitd541170c77b7ac738e2ffcdd04c838fb7cbbfb87 (patch)
treeb4c829668eb8a1aa8db798bfdd31e95bb1a946e0 /src/crlf.c
parentd0a3de720e085d335d9ad46dc00a23dd03eda793 (diff)
downloadlibgit2-d541170c77b7ac738e2ffcdd04c838fb7cbbfb87.tar.gz
index: rename an entry's id to 'id'
This was not converted when we converted the rest, so do it now.
Diffstat (limited to 'src/crlf.c')
-rw-r--r--src/crlf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crlf.c b/src/crlf.c
index b25c02cce..e1bd5572b 100644
--- a/src/crlf.c
+++ b/src/crlf.c
@@ -101,7 +101,7 @@ static int has_cr_in_index(const git_filter_source *src)
if (!S_ISREG(entry->mode)) /* don't crlf filter non-blobs */
return true;
- if (git_blob_lookup(&blob, repo, &entry->oid) < 0)
+ if (git_blob_lookup(&blob, repo, &entry->id) < 0)
return false;
blobcontent = git_blob_rawcontent(blob);