Files
git/builtin
Ævar Arnfjörð Bjarmason daf1d8285e reflog expire: don't use lookup_commit_reference_gently()
In the initial implementation of "git reflog" in 4264dc15e1 (git
reflog expire, 2006-12-19) we had this
lookup_commit_reference_gently().

I don't think we've ever found tags that we need to recursively
dereference in reflogs, so this should at least be changed to a
"lookup commit" as I'm doing here, although I can't think of a way
where it mattered in practice.

I also think we'd probably like to just die here if we have a NULL
object, but as this code needs to handle potentially broken
repositories let's just show an "error" but continue, the non-quiet
lookup_commit() will do for us. None of our tests cover the case where
"commit" is NULL after this lookup.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-12-22 16:24:13 -08:00
..
2021-10-13 15:15:57 -07:00
2020-07-30 19:18:06 -07:00
2021-12-21 15:03:17 -08:00
2021-12-15 09:39:47 -08:00
2021-10-28 09:57:09 -07:00
2021-02-25 16:43:30 -08:00
2021-02-25 16:43:30 -08:00
2021-12-06 09:55:06 -08:00
2020-03-24 15:04:43 -07:00
2021-11-10 15:01:20 -08:00
2021-10-23 10:45:25 -07:00
2021-04-14 13:47:21 -07:00
2021-09-28 10:31:02 -07:00
2021-12-15 09:39:55 -08:00
2020-03-24 15:04:44 -07:00
2021-12-10 14:35:10 -08:00
2021-12-10 14:35:12 -08:00
2021-12-02 11:14:07 -08:00
2021-11-03 13:25:36 -07:00
2020-08-11 18:04:11 -07:00