Skip to content

Commit 88aa33c

Browse files
committed
Use old API
1 parent 4a353ce commit 88aa33c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/clone.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ static int auth_callback(git_cred **cred, const char *url, const char *username,
179179
auth_callback_data_t *cb_data = payload;
180180
const char * ssh_user = username ? username : "git";
181181
int verbose = cb_data->verbose;
182-
git_error_clear();
182+
giterr_clear();
183+
183184

184185
#if AT_LEAST_LIBGIT2(0, 20)
185186

0 commit comments

Comments
 (0)