Skip to content

Commit 810cae5

Browse files
René Scharfegitster
authored andcommitted
archive: document limitation of tar.umask config setting
The local value of the config variable tar.umask is not passed to the other side with --remote. We may want to change that, but for now just document this fact. Reported-by: Jacek Masiulaniec <[email protected]> Signed-off-by: Rene Scharfe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e3b02bc commit 810cae5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/git-archive.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ tar.umask::
9898
tar archive entries. The default is 0002, which turns off the
9999
world write bit. The special value "user" indicates that the
100100
archiving user's umask will be used instead. See umask(2) for
101-
details.
101+
details. If `--remote` is used then only the configuration of
102+
the remote repository takes effect.
102103

103104
ATTRIBUTES
104105
----------

0 commit comments

Comments
 (0)