+
Skip to content

Update coverity.yml #1932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 127 commits into
base: seen
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
50df963
doc: give attr.tree a bit more visibility
gitster Dec 15, 2024
c364310
t/t4209-log-pickaxe: Naming typo: -G takes a regex
ilya-bobyr Feb 12, 2025
584a168
diff: -G description: Correct copy/paste error
ilya-bobyr Feb 12, 2025
9275772
diff: short help: Correct -S description
ilya-bobyr Feb 12, 2025
3887614
diff: short help: Add -G and --pickaxe-grep
ilya-bobyr Feb 12, 2025
3e23443
docs: gitdiffcore: -G and -S: Use regex/string placeholders
ilya-bobyr Feb 12, 2025
5463eea
diff: --patch-{grep,modifies} arg names for -G and -S
ilya-bobyr Feb 12, 2025
16d9c40
completion: Support --patch-{grep,modifies}
ilya-bobyr Feb 12, 2025
07a176c
diff: test: Use --patch-{grep,modifies} over -G/-S
ilya-bobyr Feb 12, 2025
80b0909
diff: --pickaxe-{all,regex} help: Add --patch-{grep,modifies}
ilya-bobyr Feb 12, 2025
ffdfcab
diff: docs: Use --patch-{grep,modifies} over -G/-S
ilya-bobyr Feb 12, 2025
4e26096
git-compat-util: add strtoul_ul() with error handling
peijianju Feb 21, 2025
219877e
cat-file: add declaration of variable i inside its for loop
peijianju Feb 21, 2025
d138188
t1006: split test utility functions into new "lib-cat-file.sh"
peijianju Feb 21, 2025
4278fbd
fetch-pack: refactor packet writing
calvin-wan-google Feb 21, 2025
9e471b6
fetch-pack: move fetch initialization
calvin-wan-google Feb 21, 2025
6f4f191
serve: advertise object-info feature
calvin-wan-google Feb 21, 2025
c2f2af1
transport: add client support for object-info
calvin-wan-google Feb 21, 2025
802a553
cat-file: add remote-object-info to batch-command
peijianju Feb 21, 2025
532e3cf
reflog: rename `cmd_reflog_expire_cb` to `reflog_expire_options`
pks-t Feb 26, 2025
aa8d165
builtin/reflog: stop storing default reflog expiry dates globally
pks-t Feb 26, 2025
469e1df
builtin/reflog: stop storing per-reflog expiry dates globally
pks-t Feb 26, 2025
759d2a5
builtin/reflog: make functions regarding `reflog_expire_options` public
pks-t Feb 26, 2025
f0a3285
builtin/gc: split out function to expire reflog entries
pks-t Feb 26, 2025
41fd393
builtin/maintenance: introduce "reflog-expire" task
pks-t Feb 26, 2025
fb17758
meson: use test_environment conditionally.
thesamesam Mar 14, 2025
4451a16
install meson for Documentation job
gitster Mar 15, 2025
b2d32ae
bundle-uri: copy all bundle references ino the refs/bundle space
schacon Mar 18, 2025
3b20c83
bundle-uri: add test for bundle-uri clones with tags
schacon Mar 18, 2025
4f0d99b
refs/files: remove redundant check in split_symref_update()
KarthikNayak Mar 20, 2025
05e1c36
refs: move duplicate refname update check to generic layer
KarthikNayak Mar 20, 2025
777dce6
refs/files: remove duplicate duplicates check
KarthikNayak Mar 20, 2025
f2b09f8
refs/reftable: extract code from the transaction preparation
KarthikNayak Mar 20, 2025
09323da
refs: introduce enum-based transaction error types
KarthikNayak Mar 20, 2025
0493707
refs: implement batch reference update support
KarthikNayak Mar 20, 2025
e333137
refs: support rejection in batch updates during F/D checks
KarthikNayak Mar 20, 2025
cf8155f
update-ref: add --batch-updates flag for stdin mode
KarthikNayak Mar 20, 2025
475b1b8
userdiff: add builtin driver for gitconfig syntax
lucasoshiro Mar 24, 2025
4ca3bf0
send-email: capture errors in an eval {} block
Mar 24, 2025
c55b3e7
send-email: finer-grained SMTP error handling
Mar 24, 2025
c7b328b
remote-curl: avoid using the comma operator unnecessarily
dscho Mar 25, 2025
1dcf9f4
rebase: avoid using the comma operator unnecessarily
dscho Mar 25, 2025
47d0e39
pack-objects: extract should_attempt_deltas()
derrickstolee Mar 24, 2025
0401d46
pack-objects: add --path-walk option
derrickstolee Mar 24, 2025
df34420
pack-objects: update usage to match docs
derrickstolee Mar 24, 2025
51bdf07
p5313: add performance tests for --path-walk
derrickstolee Mar 24, 2025
58fde41
pack-objects: introduce GIT_TEST_PACK_PATH_WALK
derrickstolee Mar 24, 2025
1c2ddc9
t5538: add tests to confirm deltas in shallow pushes
derrickstolee Mar 24, 2025
603bedc
repack: add --path-walk option
derrickstolee Mar 24, 2025
84761a5
pack-objects: enable --path-walk via config
derrickstolee Mar 24, 2025
14fee3b
scalar: enable path-walk during push via config
derrickstolee Mar 24, 2025
fa57d4a
pack-objects: refactor path-walk delta phase
derrickstolee Mar 24, 2025
07bed08
pack-objects: thread the path-based compression
derrickstolee Mar 24, 2025
33f4942
path-walk: add new 'edge_aggressive' option
derrickstolee Mar 24, 2025
fd152fe
pack-objects: allow --shallow and --path-walk
derrickstolee Mar 24, 2025
9011646
Merge branch 'jt/diff-pairs' into jch
gitster Mar 25, 2025
2fbf53f
Merge branch 'sj/ref-consistency-checks-more' into jch
gitster Mar 25, 2025
4f811ed
Merge branch 'tb/refs-exclude-fixes' into jch
gitster Mar 25, 2025
4189818
Merge branch 'ua/some-builtins-wo-the-repository' into jch
gitster Mar 25, 2025
9209cc8
Merge branch 'en/merge-process-renames-crash-fix' into jch
gitster Mar 25, 2025
ae92ad9
Merge branch 'ja/doc-block-delimiter-markup-fix' into jch
gitster Mar 25, 2025
edcc65b
###
gitster Mar 25, 2025
b9083c6
Merge branch 'cc/signed-fast-export-import' into jch
gitster Mar 25, 2025
bf0683f
Merge branch 'ps/refname-avail-check-optim' into jch
gitster Mar 25, 2025
ea35b7c
Merge branch 'en/merge-ort-prepare-to-remove-recursive' into jch
gitster Mar 25, 2025
e6f2df8
Merge branch 'ab/decorate-code-cleanup' into jch
gitster Mar 25, 2025
6f603d0
Merge branch 'jk/fetch-ref-prefix-cleanup' into jch
gitster Mar 25, 2025
c24fb44
Merge branch 'ps/meson-with-breaking-changes' into jch
gitster Mar 25, 2025
77f9b97
Merge branch 'am/dir-dedup-decl-of-repository' into jch
gitster Mar 25, 2025
6050a83
Merge branch 'tb/multi-cruft-pack-refresh-fix' into jch
gitster Mar 25, 2025
0b49379
Merge branch 'en/diff-rename-follow-fix' into jch
gitster Mar 25, 2025
16cc3cb
Merge branch 'jk/use-wunreachable-code-for-devs' into jch
gitster Mar 25, 2025
020b7f5
Merge branch 'rs/xdiff-context-length-fix' into jch
gitster Mar 25, 2025
aba8484
Merge branch 'en/random-cleanups' into jch
gitster Mar 25, 2025
a977023
Merge branch 'es/meson-building-docs-requires-perl' into jch
gitster Mar 25, 2025
b1a4120
Merge branch 'hj/doc-rev-list-ancestry-fix' into jch
gitster Mar 25, 2025
32c1c68
Merge branch 'aj/doc-restore-p-update' into jch
gitster Mar 25, 2025
28ecd6e
Merge branch 'kn/ci-meson-check-build-docs-fix' into jch
gitster Mar 25, 2025
39d5ab5
Merge branch 'jc/name-rev-stdin' into jch
gitster Mar 25, 2025
a0beae5
Merge branch 'cc/lop-remote' into jch
gitster Mar 25, 2025
e9745c0
Merge branch 'ja/doc-branch-markup' into jch
gitster Mar 25, 2025
626988a
Merge branch 'tb/combine-cruft-below-size' into jch
gitster Mar 25, 2025
b0d88ed
Merge branch 'jh/hash-init-fixes' into jch
gitster Mar 25, 2025
15b3277
Merge branch 'pw/build-breaking-changes-doc' into jch
gitster Mar 25, 2025
54a8130
Merge branch 'pw/doc-pack-refs-markup-fix' into jch
gitster Mar 25, 2025
f132bb0
### match next
gitster Mar 25, 2025
d733f65
Merge branch 'en/assert-wo-side-effects' into jch
gitster Mar 25, 2025
139a3bd
Merge branch 'ms/reftable-block-writer-errors' into jch
gitster Mar 25, 2025
25d19d5
Merge branch 'tb/bitamp-typofix' into jch
gitster Mar 25, 2025
4d3787b
Merge branch 'tb/refspec-fetch-cleanup' into jch
gitster Mar 25, 2025
4a825fe
Merge branch 'tb/http-curl-keepalive' into jch
gitster Mar 25, 2025
bf70394
Merge branch 'dm/completion-remote-names-fix' into jch
gitster Mar 25, 2025
4cb7540
Merge branch 'ps/ci-meson-check-build-docs' into jch
gitster Mar 25, 2025
73014d5
Merge branch 'ej/cat-file-remote-object-info' into jch
gitster Mar 25, 2025
f7cd555
Merge branch 'ps/reftable-sans-compat-util' into jch
gitster Mar 25, 2025
7492c0f
Merge branch 'ps/reftable-windows-unlink-fix' into jch
gitster Mar 25, 2025
9e81dca
Merge branch 'jk/zlib-inflate-fixes' into jch
gitster Mar 25, 2025
ad4e80f
Merge branch 'md/t1403-path-is-file' into jch
gitster Mar 25, 2025
e56ccdc
Merge branch 'sk/clar-trailer-urlmatch-norm-test' into jch
gitster Mar 25, 2025
9792839
Merge branch 'ps/maintenance-reflog-expire' into jch
gitster Mar 25, 2025
5dc9c06
Merge branch 'ps/object-wo-the-repository' into jch
gitster Mar 25, 2025
aed446f
Merge branch 'kn/reflog-drop' into jch
gitster Mar 25, 2025
c74a99c
Merge branch 'ds/path-walk-2' into jch
gitster Mar 25, 2025
8efb2ae
Merge branch 'tb/incremental-midx-part-2' into jch
gitster Mar 25, 2025
208b6ea
Merge branch 'ps/mingw-creat-excl-fix' into jch
gitster Mar 25, 2025
8bd1a43
Merge branch 'jk/fetch-follow-remote-head-fix' into jch
gitster Mar 25, 2025
ac9f384
Merge branch 'sc/bundle-uri-use-all-refs-in-bundle' into jch
gitster Mar 25, 2025
0b6a7ae
Merge branch 'lo/userdiff-gitconfig' into jch
gitster Mar 25, 2025
92d1e7d
Merge branch 'ds/maintenance-loose-objects-batchsize' into jch
gitster Mar 25, 2025
a94e72e
Merge branch 'zy/send-email-error-handling' into jch
gitster Mar 25, 2025
2f1d228
Merge branch 'rs/clear-commit-marks-simplify' into jch
gitster Mar 25, 2025
c09e566
Merge branch 'ta/bulk-checkin-signed-compare-false-warning-fix' into jch
gitster Mar 25, 2025
98b14c7
Merge branch 'jt/clone-guess-remote-head-fix' into jch
gitster Mar 25, 2025
56d92b7
Merge branch 'jc/ci-meson-check-build-docs-fix' into jch
gitster Mar 25, 2025
29fa680
Merge branch 'es/meson-build-skip-coccinelle' into jch
gitster Mar 25, 2025
702f63f
Merge branch 'js/imap-send-peer-cert-verify' into jch
gitster Mar 25, 2025
5a79ced
Merge branch 'js/mingw-admins-are-special' into jch
gitster Mar 25, 2025
5a3900e
Merge branch 'js/comma-semicolon-confusion' into jch
gitster Mar 25, 2025
e8fb683
Merge branch 'fr/vimdiff-layout-fixes' into jch
gitster Mar 25, 2025
56d57f5
Merge branch 'dk/vimdiff-doc-fix' into jch
gitster Mar 25, 2025
d6ba94a
Merge branch 'kn/non-transactional-batch-updates' into seen
gitster Mar 25, 2025
cba24b5
Merge branch 'jt/ref-transaction-abort-fix' into seen
gitster Mar 25, 2025
22a609e
Merge branch 'jt/rev-list-z' into seen
gitster Mar 25, 2025
31c05ac
Merge branch 'jc/doc-attr-tree' into seen
gitster Mar 25, 2025
7bb36b8
Merge branch 'ib/diff-S-G-with-longhand' into seen
gitster Mar 25, 2025
079a030
Merge branch 'sj/meson-test-environ-fix' into seen
gitster Mar 25, 2025
f03226b
Update coverity.yml
Ballalhossaintalukder Mar 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Coverity
name: Coverity

# This GitHub workflow automates submitting builds to Coverity Scan. To enable it,
# set the repository variable `ENABLE_COVERITY_SCAN_FOR_BRANCHES` (for details, see
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ jobs:
if: needs.ci-config.outputs.enabled == 'yes'
env:
CC: clang
CI_JOB_IMAGE: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -432,6 +433,7 @@ jobs:
if: needs.ci-config.outputs.enabled == 'yes'
env:
jobname: StaticAnalysis
CI_JOB_IMAGE: ubuntu-22.04
runs-on: ubuntu-22.04
concurrency:
group: static-analysis-${{ github.ref }}
Expand All @@ -446,6 +448,7 @@ jobs:
if: needs.ci-config.outputs.enabled == 'yes'
env:
jobname: sparse
CI_JOB_IMAGE: ubuntu-20.04
runs-on: ubuntu-20.04
concurrency:
group: sparse-${{ github.ref }}
Expand Down Expand Up @@ -473,6 +476,7 @@ jobs:
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
env:
jobname: Documentation
CI_JOB_IMAGE: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
/git-diff
/git-diff-files
/git-diff-index
/git-diff-pairs
/git-diff-tree
/git-difftool
/git-difftool--helper
Expand Down
6 changes: 6 additions & 0 deletions Documentation/BreakingChanges.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ references.
+
These features will be removed.

* Support for "--stdin" option in the "name-rev" command was
deprecated (and hidden from the documentation) in the Git 2.40
timeframe, in preference to its synonym "--annotate-stdin". Git 3.0
removes the support for "--stdin" altogether.


== Superseded features that will not be deprecated

Some features have gained newer replacements that aim to improve the design in
Expand Down
3 changes: 2 additions & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ SP_ARTICLES += howto/coordinate-embargoed-releases
API_DOCS = $(patsubst %.adoc,%,$(filter-out technical/api-index-skel.adoc technical/api-index.adoc, $(wildcard technical/api-*.adoc)))
SP_ARTICLES += $(API_DOCS)

TECH_DOCS += BreakingChanges
TECH_DOCS += DecisionMaking
TECH_DOCS += ReviewingGuidelines
TECH_DOCS += MyFirstContribution
Expand Down Expand Up @@ -509,7 +510,7 @@ lint-docs-meson:
awk "/^manpages = {$$/ {flag=1 ; next } /^}$$/ { flag=0 } flag { gsub(/^ \047/, \"\"); gsub(/\047 : [157],\$$/, \"\"); print }" meson.build | \
grep -v -e '#' -e '^$$' | \
sort >tmp-meson-diff/meson.adoc && \
ls git*.adoc scalar.adoc | grep -v -e git-bisect-lk2009.adoc -e git-tools.adoc >tmp-meson-diff/actual.adoc && \
ls git*.adoc scalar.adoc | grep -v -e git-bisect-lk2009.adoc -e git-pack-redundant.adoc -e git-tools.adoc >tmp-meson-diff/actual.adoc && \
if ! cmp tmp-meson-diff/meson.adoc tmp-meson-diff/actual.adoc; then \
echo "Meson man pages differ from actual man pages:"; \
diff -u tmp-meson-diff/meson.adoc tmp-meson-diff/actual.adoc; \
Expand Down
1 change: 1 addition & 0 deletions Documentation/MyFirstContribution.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ But as we drill down, we can find that `status_init_config()` wraps a call
to `git_config()`. Let's modify the code we wrote in the previous commit.

Be sure to include the header to allow you to use `struct wt_status`:

----
#include "wt-status.h"
----
Expand Down
2 changes: 2 additions & 0 deletions Documentation/MyFirstObjectWalk.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ static void final_rev_info_setup(struct rev_info *rev)
====
Instead of using the shorthand `add_head_to_pending()`, you could do
something like this:
----
struct setup_revision_opt opt;
Expand All @@ -295,6 +296,7 @@ something like this:
opt.revarg_opt = REVARG_COMMITTISH;
setup_revisions(argc, argv, rev, &opt);
----
Using a `setup_revision_opt` gives you finer control over your walk's starting
point.
====
Expand Down
1 change: 1 addition & 0 deletions Documentation/ToolsForGit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ This is adapted from Linux's suggestion in its CodingStyle document:

- To follow the rules in CodingGuidelines, it's useful to put the following in
GIT_CHECKOUT/.dir-locals.el, assuming you use cperl-mode:

----
;; note the first part is useful for C editing, too
((nil . ((indent-tabs-mode . t)
Expand Down
105 changes: 53 additions & 52 deletions Documentation/config/branch.adoc
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
branch.autoSetupMerge::
Tells 'git branch', 'git switch' and 'git checkout' to set up new branches
`branch.autoSetupMerge`::
Tells `git branch`, `git switch` and `git checkout` to set up new branches
so that linkgit:git-pull[1] will appropriately merge from the
starting point branch. Note that even if this option is not set,
this behavior can be chosen per-branch using the `--track`
and `--no-track` options. The valid settings are: `false` -- no
automatic setup is done; `true` -- automatic setup is done when the
starting point is a remote-tracking branch; `always` --
automatic setup is done when the starting point is either a
local branch or remote-tracking branch; `inherit` -- if the starting point
has a tracking configuration, it is copied to the new
branch; `simple` -- automatic setup is done only when the starting point
and `--no-track` options. This option defaults to `true`. The valid settings
are:
`false`;; no automatic setup is done
`true`;; automatic setup is done when the starting point is a remote-tracking branch
`always`;; automatic setup is done when the starting point is either a
local branch or remote-tracking branch
`inherit`;; if the starting point has a tracking configuration, it is copied to the new
branch
`simple`;; automatic setup is done only when the starting point
is a remote-tracking branch and the new branch has the same name as the
remote branch. This option defaults to true.
remote branch.

branch.autoSetupRebase::
When a new branch is created with 'git branch', 'git switch' or 'git checkout'
`branch.autoSetupRebase`::
When a new branch is created with `git branch`, `git switch` or `git checkout`
that tracks another branch, this variable tells Git to set
up pull to rebase instead of merge (see "branch.<name>.rebase").
When `never`, rebase is never automatically set to true.
When `local`, rebase is set to true for tracked branches of
other local branches.
When `remote`, rebase is set to true for tracked branches of
remote-tracking branches.
When `always`, rebase will be set to true for all tracking
branches.
See "branch.autoSetupMerge" for details on how to set up a
branch to track another branch.
This option defaults to never.
up pull to rebase instead of merge (see `branch.<name>.rebase`).
The valid settings are:
`never`;; rebase is never automatically set to true.
`local`;; rebase is set to true for tracked branches of other local branches.
`remote`;; rebase is set to true for tracked branches of remote-tracking branches.
`always`;; rebase will be set to true for all tracking branches.

branch.sort::
+
See `branch.autoSetupMerge` for details on how to set up a branch to track another branch.
This option defaults to `never`.

`branch.sort`::
This variable controls the sort ordering of branches when displayed by
linkgit:git-branch[1]. Without the "--sort=<value>" option provided, the
linkgit:git-branch[1]. Without the `--sort=<value>` option provided, the
value of this variable will be used as the default.
See linkgit:git-for-each-ref[1] field names for valid values.

branch.<name>.remote::
When on branch <name>, it tells 'git fetch' and 'git push'
`branch.<name>.remote`::
When on branch _<name>_, it tells `git fetch` and `git push`
which remote to fetch from or push to. The remote to push to
may be overridden with `remote.pushDefault` (for all branches).
The remote to push to, for the current branch, may be further
Expand All @@ -46,58 +47,58 @@ branch.<name>.remote::
Additionally, `.` (a period) is the current local repository
(a dot-repository), see `branch.<name>.merge`'s final note below.

branch.<name>.pushRemote::
When on branch <name>, it overrides `branch.<name>.remote` for
`branch.<name>.pushRemote`::
When on branch _<name>_, it overrides `branch.<name>.remote` for
pushing. It also overrides `remote.pushDefault` for pushing
from branch <name>. When you pull from one place (e.g. your
from branch _<name>_. When you pull from one place (e.g. your
upstream) and push to another place (e.g. your own publishing
repository), you would want to set `remote.pushDefault` to
specify the remote to push to for all branches, and use this
option to override it for a specific branch.

branch.<name>.merge::
Defines, together with branch.<name>.remote, the upstream branch
for the given branch. It tells 'git fetch'/'git pull'/'git rebase' which
branch to merge and can also affect 'git push' (see push.default).
When in branch <name>, it tells 'git fetch' the default
refspec to be marked for merging in FETCH_HEAD. The value is
`branch.<name>.merge`::
Defines, together with `branch.<name>.remote`, the upstream branch
for the given branch. It tells `git fetch`/`git pull`/`git rebase` which
branch to merge and can also affect `git push` (see `push.default`).
When in branch _<name>_, it tells `git fetch` the default
refspec to be marked for merging in `FETCH_HEAD`. The value is
handled like the remote part of a refspec, and must match a
ref which is fetched from the remote given by
"branch.<name>.remote".
The merge information is used by 'git pull' (which first calls
'git fetch') to lookup the default branch for merging. Without
this option, 'git pull' defaults to merge the first refspec fetched.
`branch.<name>.remote`.
The merge information is used by `git pull` (which first calls
`git fetch`) to lookup the default branch for merging. Without
this option, `git pull` defaults to merge the first refspec fetched.
Specify multiple values to get an octopus merge.
If you wish to setup 'git pull' so that it merges into <name> from
If you wish to setup `git pull` so that it merges into <name> from
another branch in the local repository, you can point
branch.<name>.merge to the desired branch, and use the relative path
setting `.` (a period) for branch.<name>.remote.
setting `.` (a period) for `branch.<name>.remote`.

branch.<name>.mergeOptions::
Sets default options for merging into branch <name>. The syntax and
`branch.<name>.mergeOptions`::
Sets default options for merging into branch _<name>_. The syntax and
supported options are the same as those of linkgit:git-merge[1], but
option values containing whitespace characters are currently not
supported.

branch.<name>.rebase::
When true, rebase the branch <name> on top of the fetched branch,
`branch.<name>.rebase`::
When true, rebase the branch _<name>_ on top of the fetched branch,
instead of merging the default branch from the default remote when
"git pull" is run. See "pull.rebase" for doing this in a non
`git pull` is run. See `pull.rebase` for doing this in a non
branch-specific manner.
+
When `merges` (or just 'm'), pass the `--rebase-merges` option to 'git rebase'
When `merges` (or just `m`), pass the `--rebase-merges` option to `git rebase`
so that the local merge commits are included in the rebase (see
linkgit:git-rebase[1] for details).
+
When the value is `interactive` (or just 'i'), the rebase is run in interactive
When the value is `interactive` (or just `i`), the rebase is run in interactive
mode.
+
*NOTE*: this is a possibly dangerous operation; do *not* use
it unless you understand the implications (see linkgit:git-rebase[1]
for details).

branch.<name>.description::
`branch.<name>.description`::
Branch description, can be edited with
`git branch --edit-description`. Branch description is
automatically added to the format-patch cover letter or
request-pull summary.
automatically added to the `format-patch` cover letter or
`request-pull` summary.
4 changes: 4 additions & 0 deletions Documentation/config/feature.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ walking fewer objects.
+
* `pack.allowPackReuse=multi` may improve the time it takes to create a pack by
reusing objects from multiple packs instead of just one.
+
* `pack.usePathWalk` may speed up packfile creation and make the packfiles be
significantly smaller in the presence of certain filename collisions with Git's
default name-hash.

feature.manyFiles::
Enable config options that optimize for repos with many files in the
Expand Down
18 changes: 18 additions & 0 deletions Documentation/config/http.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,24 @@ http.lowSpeedLimit, http.lowSpeedTime::
Can be overridden by the `GIT_HTTP_LOW_SPEED_LIMIT` and
`GIT_HTTP_LOW_SPEED_TIME` environment variables.

http.keepAliveIdle::
Specifies how long in seconds to wait on an idle connection
before sending TCP keepalive probes (if supported by the OS). If
unset, curl's default value is used. Can be overridden by the
`GIT_HTTP_KEEPALIVE_IDLE` environment variable.

http.keepAliveInterval::
Specifies how long in seconds to wait between TCP keepalive
probes (if supported by the OS). If unset, curl's default value
is used. Can be overridden by the `GIT_HTTP_KEEPALIVE_INTERVAL`
environment variable.

http.keepAliveCount::
Specifies how many TCP keepalive probes to send before giving up
and terminating the connection (if supported by the OS). If
unset, curl's default value is used. Can be overridden by the
`GIT_HTTP_KEEPALIVE_COUNT` environment variable.

http.noEPSV::
A boolean which disables using of EPSV ftp command by curl.
This can be helpful with some "poor" ftp servers which don't
Expand Down
14 changes: 14 additions & 0 deletions Documentation/config/maintenance.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ maintenance.loose-objects.auto::
loose objects is at least the value of `maintenance.loose-objects.auto`.
The default value is 100.

maintenance.loose-objects.batchSize::
This integer config option controls the maximum number of loose objects
written into a packfile during the `loose-objects` task. The default is
fifty thousand. Use value `0` to indicate no limit.

maintenance.incremental-repack.auto::
This integer config option controls how often the `incremental-repack`
task should be run as part of `git maintenance run --auto`. If zero,
Expand All @@ -69,3 +74,12 @@ maintenance.incremental-repack.auto::
Otherwise, a positive value implies the command should run when the
number of pack-files not in the multi-pack-index is at least the value
of `maintenance.incremental-repack.auto`. The default value is 10.

maintenance.reflog-expire.auto::
This integer config option controls how often the `reflog-expire` task
should be run as part of `git maintenance run --auto`. If zero, then
the `reflog-expire` task will not run with the `--auto` option. A
negative value will force the task to run every time. Otherwise, a
positive value implies the command should run when the number of
expired reflog entries in the "HEAD" reflog is at least the value of
`maintenance.loose-objects.auto`. The default value is 100.
8 changes: 8 additions & 0 deletions Documentation/config/pack.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,14 @@ pack.useSparse::
commits contain certain types of direct renames. Default is
`true`.

pack.usePathWalk::
When true, git will default to using the '--path-walk' option in
'git pack-objects' when the '--revs' option is present. This
algorithm groups objects by path to maximize the ability to
compute delta chains across historical versions of the same
object. This may disable other options, such as using bitmaps to
enumerate objects.

pack.preferBitmapTips::
When selecting which commits will receive bitmaps, prefer a
commit at the tip of any reference that is a suffix of any value
Expand Down
4 changes: 2 additions & 2 deletions Documentation/config/promisor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ promisor.acceptFromServer::
server will be accepted. By accepting a promisor remote, the
client agrees that the server might omit objects that are
lazily fetchable from this promisor remote from its responses
to "fetch" and "clone" requests from the client. See
linkgit:gitprotocol-v2[5].
to "fetch" and "clone" requests from the client. Name and URL
comparisons are case sensitive. See linkgit:gitprotocol-v2[5].
3 changes: 2 additions & 1 deletion Documentation/config/remote.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ the values inherited from a lower priority configuration files (e.g.
`$HOME/.gitconfig`).

remote.<name>.followRemoteHEAD::
How linkgit:git-fetch[1] should handle updates to `remotes/<name>/HEAD`.
How linkgit:git-fetch[1] should handle updates to `remotes/<name>/HEAD`
when fetching using the configured refspecs of a remote.
The default value is "create", which will create `remotes/<name>/HEAD`
if it exists on the remote, but not locally; this will not touch an
already existing local reference. Setting it to "warn" will print
Expand Down
Loading
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载