Skip to content

Commit 7777322

Browse files
committed
Sync with maint
* maint: Start preparing for 2.8.4 archive-tar: convert snprintf to xsnprintf
2 parents 3a0f269 + b051c59 commit 7777322

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

Documentation/RelNotes/2.8.4.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Git v2.8.4 Release Notes
2+
========================
3+
4+
Fixes since v2.8.3
5+
------------------
6+
7+
* Documentation for "git merge --verify-signatures" has been updated
8+
to clarify that the signature of only the commit at the tip is
9+
verified. Also the phrasing used for signature and key validity is
10+
adjusted to align with that used by OpenPGP.
11+
12+
* On Windows, .git and optionally any files whose name starts with a
13+
dot are now marked as hidden, with a core.hideDotFiles knob to
14+
customize this behaviour.
15+
16+
* Portability enhancement for "rebase -i" to help platforms whose
17+
shell does not like "for i in <empty>" (which is not POSIX-kosher).
18+
19+
* "git fsck" learned to catch NUL byte in a commit object as
20+
potential error and warn.
21+
22+
* CI test was taught to build documentation pages.
23+
24+
* Many 'linkgit:<git documentation page>' references were broken,
25+
which are all fixed with this.
26+
27+
Also contains other minor documentation updates and code clean-ups.

archive-tar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ static void prepare_header(struct archiver_args *args,
181181
memcpy(header->magic, "ustar", 6);
182182
memcpy(header->version, "00", 2);
183183

184-
snprintf(header->chksum, sizeof(header->chksum), "%07o", ustar_header_chksum(header));
184+
xsnprintf(header->chksum, sizeof(header->chksum), "%07o", ustar_header_chksum(header));
185185
}
186186

187187
static int write_extended_header(struct archiver_args *args,

0 commit comments

Comments
 (0)