diff options
author | Yoichi Nakayama <yoichi.nakayama@gmail.com> | 2021-10-22 23:21:22 +0900 |
---|---|---|
committer | Yoichi Nakayama <yoichi.nakayama@gmail.com> | 2021-10-22 23:21:22 +0900 |
commit | 540b02f3b97baf2bc1d62210a23d522b5d73e5eb (patch) | |
tree | 26756c8ff7b64d2ba8a75f6835c3761ef8a8c856 | |
parent | 6c0d5366d9a9d24c76c1ca444a592111a1b2bdc3 (diff) | |
download | libgit2-540b02f3b97baf2bc1d62210a23d522b5d73e5eb.tar.gz |
Add TODO comment for emit a warning
-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)); } } |