"Shawn O. Pearce" [off-list ref] writes:
If we match a lightweight (non-annotated tag) as the name to
output and --long was requested we do not have a tag, nor do
we have a tagged object to display. Instead we must use the
object we were passed as input for the long format display.
Reported-by: Mark Burton <redacted>
Backtraced-by: Mikael Magnusson [off-list ref]
Signed-off-by: Shawn O. Pearce <redacted>
---
Thanks Mikael, the backtrace really made it easy to figure out
what the breakage was here.
Thanks. I'll squash this in and apply to 'maint'. Perhaps 1.5.6.2
after the 4th holiday.
diff --git a/t/t6120-describe.sh b/t/t6120-describe.sh
index c6be259..2fb672c 100755
--- a/t/t6120-describe.sh
+++ b/t/t6120-describe.sh
@@ -139,4 +139,6 @@ check_describe "test1-lightweight-*" --tags --match="test1-*"
check_describe "test2-lightweight-*" --tags --match="test2-*"
+check_describe "test2-lightweight-*" --long --tags --match="test2-*" HEAD^
+
test_done