Skip to content

Commit

Permalink
Fix wrong format string in git_reflog_drop() error message
Browse files Browse the repository at this point in the history
  • Loading branch information
linquize authored and carlosmn committed May 18, 2015
1 parent b67bc36 commit 1c01006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reflog.c
Expand Up @@ -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);

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;
}

Expand Down

0 comments on commit 1c01006

Please sign in to comment.