From: Don Zickus on
gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1757#note_9484...
It definitely depends on the repo. I think I had so more garbage that it
inflated things. 'git gc' removed enough junk that my 'git log --oneline'
is
down to 12.
Looking into this more.
SPECBUILD uses PREBUILD. PREBUILD is based on MARKER which is based on
MERGE_HEAD with upstream. The point of SPECBUILD is to have a sha to describe
upstream merge base. The argument becomes if upstream relies on 12, then that
should good enough to use as a description in SPECBUILD.
Now the user's local enviornment may change but it should be rare?? In my
case I can get away with 6 as my minimum merge base MARKER (for uniqueness) ('
--abbrev=4' but shows 6).
So I guess I can logically convince myself that 12 is fine by me.
@prarit thoughts?