Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#45895 - [git] contains two copies of git-prompt.sh
Attached to Project:
Arch Linux
Opened by Jack O'Connor (oconnor663) - Tuesday, 04 August 2015, 14:00 GMT
Last edited by Toolybird (Toolybird) - Friday, 02 June 2023, 06:29 GMT
Opened by Jack O'Connor (oconnor663) - Tuesday, 04 August 2015, 14:00 GMT
Last edited by Toolybird (Toolybird) - Friday, 02 June 2023, 06:29 GMT
|
DetailsThe packaging script makes a copy of the git-prompt.sh script, and both the original and the copy make it into the final package. Their contents are identical.
> sha1sum /usr/share/git/**/git-prompt.sh 2c5de0abe4106f5f6a778e568491f0f761e99af0 /usr/share/git/completion/git-prompt.sh 2c5de0abe4106f5f6a778e568491f0f761e99af0 /usr/share/git/git-prompt.sh |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 02 June 2023, 06:29 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments
Friday, 02 June 2023, 06:29 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments
The git frontend "tig" expects to find the "diff-highlight" script in /usr{,/local}/share/git{,-core}/contrib/diff-highlight
See https://github.com/jonas/tig/blob/master/src/apps.c#L79-L82
In Arch, this "diff-highlight" is in /usr/share/git/diff-highlight/
For the record, in Debian "tig" doesn't find this script either because it is installed in /usr/share/doc/git/contrib/diff-highlight/
Granted, "diff-highlight" is in contrib and not installed by "make install", so "tig" seems to be ill-advised in choosing those paths in the first place.
Hence we probably shouldn't change it.