- Package:
- libmagic-mgc
- Source:
- file
- Description:
- File type determination library using "magic" numbers (compiled magic file)
- Submitter:
- Vincent Lefevre
- Date:
- 2020-11-21 17:09:07 UTC
- Severity:
- normal
- Tags:
The messages for Git objects have an incorrect id: only the first sequence of decimal digits is retrieved instead of the full sequence of hexadecimal digits. This is due to a bad regexp in "magic/Magdir/git". $ echo "commit d617e0c0ca8fac42361b00c8861eb2a59ab7a7d8" | file - /dev/stdin: Git commit 617 This was fixed upstream several months ago: https://bugs.astron.com/view.php?id=176 I've attached my patch.