Skip to content

Commit 540b02f

Browse files
committed
Add TODO comment for emit a warning
1 parent 6c0d536 commit 540b02f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/revparse.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ static int retrieve_oid_from_reflog(git_oid *oid, git_reference *ref, size_t ide
240240
if (entry == NULL)
241241
goto notfound;
242242

243+
/*
244+
* TODO: emit a warning (log for 'branch' only goes back to ...)
245+
*/
243246
git_oid_cpy(oid, git_reflog_entry_id_new(entry));
244247
}
245248
}

0 commit comments

Comments
 (0)