Skip to content

Commit 9f71d2e

Browse files
committed
Correctly change field to reserved when GIT_DEPRECATE_HARD
1 parent 11c8ef5 commit 9f71d2e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/git2/attr.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ type
143143
flags: Cardinal;
144144

145145
{$IFDEF GIT_DEPRECATE_HARD}
146-
commit_id: Pgit_oid;
147-
{$ELSE}
148146
reserved: Pointer;
147+
{$ELSE}
148+
commit_id: Pgit_oid;
149149
{$ENDIF}
150150
(**
151151
* The commit to load attributes from, when

src/git2/filter.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ type
5252
flags: Cardinal;
5353

5454
{$IFDEF GIT_DEPRECATE_HARD}
55-
commit_id: Pgit_oid;
56-
{$ELSE}
5755
reserved: Pointer;
56+
{$ELSE}
57+
commit_id: Pgit_oid;
5858
{$ENDIF}
5959
(**
6060
* The commit to load attributes from, when

0 commit comments

Comments
 (0)