Skip to content

Commit 4d8b32a

Browse files
committed
Merge branch 'maint'
* maint: archive: document limitation of tar.umask config setting t3306,t5304: avoid clock skew issues git.txt: fix list continuation
2 parents 865d370 + 810cae5 commit 4d8b32a

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
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
----------

Documentation/git.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,6 @@ where:
622622
contents of <old|new>,
623623
<old|new>-hex:: are the 40-hexdigit SHA1 hashes,
624624
<old|new>-mode:: are the octal representation of the file modes.
625-
626625
+
627626
The file parameters can point at the user's working file
628627
(e.g. `new-file` in "git-diff-files"), `/dev/null` (e.g. `old-file`

t/t3306-notes-prune.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ test_expect_success 'setup: create a few commits with notes' '
2020
git add file3 &&
2121
test_tick &&
2222
git commit -m 3rd &&
23+
COMMIT_FILE=.git/objects/5e/e1c35e83ea47cd3cc4f8cbee0568915fbbbd29 &&
24+
test -f $COMMIT_FILE &&
25+
test-chmtime =+0 $COMMIT_FILE &&
2326
git notes add -m "Note #3"
2427
'
2528

t/t5304-prune.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ add_blob() {
1414
BLOB=$(echo aleph_0 | git hash-object -w --stdin) &&
1515
BLOB_FILE=.git/objects/$(echo $BLOB | sed "s/^../&\//") &&
1616
test $((1 + $before)) = $(git count-objects | sed "s/ .*//") &&
17-
test -f $BLOB_FILE
17+
test -f $BLOB_FILE &&
18+
test-chmtime =+0 $BLOB_FILE
1819
}
1920

2021
test_expect_success setup '

0 commit comments

Comments
 (0)