Skip to content

Commit 2ce1a1f

Browse files
committed
Merge branch 'maint'
* maint: send-email: add transfer encoding header with content-type Doc fix for git-reflog: mention @{...} syntax, and <ref> in synopsys. config: clarify compression defaults config: correct core.loosecompression documentation
2 parents 8e97399 + 8641ee3 commit 2ce1a1f

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

Documentation/config.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,15 @@ core.compression::
226226
An integer -1..9, indicating a default compression level.
227227
-1 is the zlib default. 0 means no compression,
228228
and 1..9 are various speed/size tradeoffs, 9 being slowest.
229+
If set, this provides a default to other compression variables,
230+
such as 'core.loosecompression' and 'pack.compression'.
229231

230232
core.loosecompression::
231233
An integer -1..9, indicating the compression level for objects that
232234
are not in a pack file. -1 is the zlib default. 0 means no
233235
compression, and 1..9 are various speed/size tradeoffs, 9 being
234236
slowest. If not set, defaults to core.compression. If that is
235-
not set, defaults to 0 (best speed).
237+
not set, defaults to 1 (best speed).
236238

237239
core.packedGitWindowSize::
238240
Number of bytes of a pack file to map into memory in a
@@ -648,7 +650,9 @@ pack.compression::
648650
in a pack file. -1 is the zlib default. 0 means no
649651
compression, and 1..9 are various speed/size tradeoffs, 9 being
650652
slowest. If not set, defaults to core.compression. If that is
651-
not set, defaults to -1.
653+
not set, defaults to -1, the zlib default, which is "a default
654+
compromise between speed and compression (currently equivalent
655+
to level 6)."
652656

653657
pack.deltaCacheSize::
654658
The maximum memory in bytes used for caching deltas in

Documentation/git-reflog.txt

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ depending on the subcommand:
1919
git reflog expire [--dry-run] [--stale-fix] [--verbose]
2020
[--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>...
2121

22-
git reflog [show] [log-options]
22+
git reflog [show] [log-options] [<ref>]
2323

2424
Reflog is a mechanism to record when the tip of branches are
2525
updated. This command is to manage the information recorded in it.
@@ -32,9 +32,16 @@ directly by the end users -- instead, see gitlink:git-gc[1].
3232

3333
The subcommand "show" (which is also the default, in the absence of any
3434
subcommands) will take all the normal log options, and show the log of
35-
`HEAD`, which will cover all recent actions, including branch switches.
36-
It is basically an alias for 'git log -g --abbrev-commit
37-
--pretty=oneline', see gitlink:git-log[1].
35+
the reference provided in the command-line (or `HEAD`, by default).
36+
The reflog will cover all recent actions (HEAD reflog records branch switching
37+
as well). It is an alias for 'git log -g --abbrev-commit --pretty=oneline';
38+
see gitlink:git-log[1].
39+
40+
The reflog is useful in various git commands, to specify the old value
41+
of a reference. For example, `HEAD@\{2\}` means "where HEAD used to be
42+
two moves ago", `master@\{one.week.ago\}` means "where master used to
43+
point to one week ago", and so on. See gitlink:git-rev-parse[1] for
44+
more details.
3845

3946

4047
OPTIONS

git-send-email.perl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,8 @@ sub send_message
785785
else {
786786
push @xh,
787787
'MIME-Version: 1.0',
788-
"Content-Type: text/plain; charset=$author_encoding";
788+
"Content-Type: text/plain; charset=$author_encoding",
789+
'Content-Transfer-Encoding: 8bit';
789790
}
790791
}
791792
}

0 commit comments

Comments
 (0)