diff options
Diffstat (limited to 'src/revparse.c')
| -rw-r--r-- | src/revparse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/revparse.c b/src/revparse.c index 2815bcfc4..61e836aa8 100644 --- a/src/revparse.c +++ b/src/revparse.c @@ -240,6 +240,9 @@ static int retrieve_oid_from_reflog(git_oid *oid, git_reference *ref, size_t ide if (entry == NULL) goto notfound; + /* + * TODO: emit a warning (log for 'branch' only goes back to ...) + */ git_oid_cpy(oid, git_reflog_entry_id_new(entry)); } } |
