summaryrefslogtreecommitdiff
path: root/src/reflog.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-10-08 20:07:55 +0200
committernulltoken <emeric.fermas@gmail.com>2012-10-26 22:11:15 +0200
commite4c64cf2aa77a97824db4d2700ca507278ef857d (patch)
treea6d3a4dfc7cf11099129da13de34c8af27ace49e /src/reflog.c
parent233884131d123432d2e1ad7236ad3c6ef7b2b518 (diff)
downloadlibgit2-e4c64cf2aa77a97824db4d2700ca507278ef857d.tar.gz
stash: add git_stash_drop()
Diffstat (limited to 'src/reflog.c')
-rw-r--r--src/reflog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflog.c b/src/reflog.c
index f0a6e2a8c..5d1465eca 100644
--- a/src/reflog.c
+++ b/src/reflog.c
@@ -481,7 +481,7 @@ int git_reflog_drop(
/* If the oldest entry has just been removed... */
if (idx == 0) {
- /* ...clear the oid_old member of the "new" last entry */
+ /* ...clear the oid_old member of the "new" oldest entry */
if (git_oid_fromstr(&entry->oid_old, GIT_OID_HEX_ZERO) < 0)
return -1;