author | Gerrit Pape <pape@smarden.org> | |
Tue, 24 Feb 2009 08:58:16 +0000 (08:58 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 Feb 2009 05:46:31 +0000 (21:46 -0800) | ||
commit | 6a0861a8a3295395238c8126c6e74c66b715c595 | |
tree | 0480aa15b967434eb68569a973ee9f5f9f89bb62 | tree | snapshot |
parent | 48b6026e17f22aff8931d45a62a7a240533efe72 | commit | diff |
Install builtins with the user and group of the installing personality
If 'make install' was run with sufficient privileges, then the installed
builtins in gitexecdir, which are either hardlinked, symlinked, or copied,
would receive the user and group of whoever built git. With this commit
the initial hardlink or copy is done from the installation tree and not
the build tree to fix this.
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If 'make install' was run with sufficient privileges, then the installed
builtins in gitexecdir, which are either hardlinked, symlinked, or copied,
would receive the user and group of whoever built git. With this commit
the initial hardlink or copy is done from the installation tree and not
the build tree to fix this.
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history |