FS#65147 - Problem with git after update to 2.25

Attached to Project: Arch Linux
Opened by Obs (obspm) - Tuesday, 14 January 2020, 21:48 GMT
Last edited by Christian Hesse (eworm) - Thursday, 20 February 2020, 22:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: After update to git last version I got a weird bug,

If you create a directory (without git repos) more than 2 levels you cannot use git ls-files

[root@io ~][linux]$ rm -rf fubar
[root@io ~][linux]$ bash --noprofile
[root@io ~]$ mkdir fubar
[root@io ~]$ cd fubar
[root@io fubar]$ git ls-files --other --directory --exclude-standard
./
[root@io fubar]$ mkdir fubar2
[root@io fubar]$ cd fubar2
[root@io fubar2]$ git ls-files --other --directory --exclude-standard
fatal: git ls-files: internal error - directory entry not superset of prefix
[root@io fubar2]$

With git 2.24-* absolute no problem.


Additional info:
* git 2.25
* link to upstream bug report, if any
This task depends upon

Closed by  Christian Hesse (eworm)
Thursday, 20 February 2020, 22:29 GMT
Reason for closing:  Not a bug
Additional comments about closing:  IMHO expected behavior now. Discuss with upstream if you think it's not.
Comment by Christian Hesse (eworm) - Tuesday, 14 January 2020, 22:27 GMT
This starts with:
https://github.com/git/git/commit/b9670c1f5e6b98837c489a03ac0d343d30e08505

I think the new behavior is expected, but not quite sure.

Loading...