Hi Helmut,

Helmut Grohne wrote:

> I noticed that git ships its binary twice.
>
> $ ls -lai /usr/lib/git-core/git /usr/bin/git
> 688632 -rwxr-xr-x 1 root root 1355584 Nov  1 16:36 /usr/bin/git
>  20941 -rwxr-xr-x 1 root root 1355584 Nov  1 16:36 /usr/lib/git-core/git
> $ cmp /usr/lib/git-core/git /usr/bin/git && echo same
> same
> $
>
> This binary makes up 10% of the installation size. Please consider
> replacing one of those locations with a link to the other.

Ideally these should be hard links to the same inode (as in the
default configuration upstream).  We can't ship them that way because
there is no guarantee the two paths are even on the same filesystem,
but postinst could replace one copy with a hardlink to the other when
the system configuration allows.

What do you think?

Thanks,
Jonathan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to