summaryrefslogtreecommitdiff
path: root/src/reset.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-01-24 20:23:17 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-01-25 08:15:44 +0100
commit9950bb4e8de076565976128559ff273e9d4a2a78 (patch)
tree6514d51afd8a447c1cfdf86eece2ae28df2e1fa4 /src/reset.c
parentf000ee4e5b840e9f110123a050777fb1301b19bf (diff)
downloadlibgit2-9950bb4e8de076565976128559ff273e9d4a2a78.tar.gz
diff: rename the file's 'oid' to 'id'
In the same vein as the previous commits in this series.
Diffstat (limited to 'src/reset.c')
-rw-r--r--src/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reset.c b/src/reset.c
index b9c783be3..15f7fe13a 100644
--- a/src/reset.c
+++ b/src/reset.c
@@ -72,7 +72,7 @@ int git_reset_default(
goto cleanup;
} else {
entry.mode = delta->new_file.mode;
- git_oid_cpy(&entry.id, &delta->new_file.oid);
+ git_oid_cpy(&entry.id, &delta->new_file.id);
entry.path = (char *)delta->new_file.path;
if ((error = git_index_add(index, &entry)) < 0)