mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-21 06:47:22 +00:00
Merge pull request #3071 from linquize/git_reflog_drop
Fix wrong format string in git_reflog_drop() error message
This commit is contained in:
commit
d969d41547
@ -193,7 +193,7 @@ int git_reflog_drop(git_reflog *reflog, size_t idx, int rewrite_previous_entry)
|
|||||||
entry = (git_reflog_entry *)git_reflog_entry_byindex(reflog, idx);
|
entry = (git_reflog_entry *)git_reflog_entry_byindex(reflog, idx);
|
||||||
|
|
||||||
if (entry == NULL) {
|
if (entry == NULL) {
|
||||||
giterr_set(GITERR_REFERENCE, "No reflog entry at index "PRIuZ, idx);
|
giterr_set(GITERR_REFERENCE, "No reflog entry at index %"PRIuZ, idx);
|
||||||
return GIT_ENOTFOUND;
|
return GIT_ENOTFOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user