Problematic bzip2 package

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
mity
Posts: 6
Joined: 16 Nov 2010, 00:41

Problematic bzip2 package

Post by mity »

Hello,

I've downloaded and entered https://github.com/git-for-windows/git/ ... it.tar.bz2, and copied all the directories out from the archive.

At first, It seemed to work as expected, and no error was indicated.

But after some time it was clear there are some files missing in the stuff copied out from it, for example the file mingw64/bin/git-upload-pack.exe.

I can see the file is present in the archive when inspecting the archive contents on Linux (tar -jv --list -f Git-2.19.1-64-bit.tar.bz2 | grep upload). But the file is just a link to another file in the compressed tar archive, as the command writes this:

Code: Select all

$ tar -jv --list -f Git-2.19.1-64-bit.tar.bz2 | grep upload
hrwxr-xr-x ContainerAdministrator/380929       0 2018-10-04 23:35 mingw64/bin/git-upload-archive.exe link to mingw64/bin/git-receive-pack.exe
hrwxr-xr-x ContainerAdministrator/380929       0 2018-10-04 23:35 mingw64/bin/git-upload-pack.exe link to mingw64/bin/git-receive-pack.exe
hrwxr-xr-x ContainerAdministrator/380929       0 2018-10-04 23:35 mingw64/libexec/git-core/git-upload-archive.exe link to mingw64/bin/git-receive-pack.exe
hrwxr-xr-x ContainerAdministrator/380929       0 2018-10-04 23:35 mingw64/libexec/git-core/git-upload-pack.exe link to mingw64/bin/git-receive-pack.exe
-rw-r--r-- ContainerAdministrator/380929   34294 2018-10-04 23:35 mingw64/share/doc/git-doc/git-upload-archive.html
-rw-r--r-- ContainerAdministrator/380929   33379 2018-10-04 23:35 mingw64/share/doc/git-doc/git-upload-pack.html
See https://github.com/git-for-windows/git/issues/1904 for some more details.

It would be great if AS could handle such links, or at least create copy of the files (e.g. if the target FS does not support links).
Even if it cannot be implemented for some reason, it should at least indicate some error or warning.