1

I have installed git on Debian 10.

Why do I have two identical git binaries in two different places?

/usr/lib/git-core/git
/usr/bin/git

These are identical files, have same sha256sum. But they are not hardlinks. They are same files existing in two copies.

Seems strange. I wonder what's the purpose.

1 Answer 1

2

This particularity has been upsetting some for years.
BTW, you'll read as part of the answer from Jonathan Nieder that upstream does hardlink but Debian does not ship that way since they can't be sure both path are on the same filesystem.
ArchLinux faced this problem years ago.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .