Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
333 commits
Select commit Hold shift + click to select a range
02899d8
Merge branch 'rs/archive-use-object-id' into next
gitster Sep 8, 2021
99f8651
Merge branch 'ps/fetch-optim' into next
gitster Sep 8, 2021
f2b7415
Merge branch 'tb/multi-pack-bitmaps' into next
gitster Sep 8, 2021
ca17912
Merge branch 'so/diff-index-regression-fix' into next
gitster Sep 8, 2021
c2000e9
Merge branch 'ab/send-email-config-fix' into next
gitster Sep 8, 2021
4fddb38
Merge branch 'ab/no-more-check-bindir' into next
gitster Sep 8, 2021
5ea3df2
Merge branch 'bs/doc-bugreport-outdir' into next
gitster Sep 8, 2021
a51cf7e
Merge branch 'gh/gitweb-branch-sort' into next
gitster Sep 8, 2021
67612d0
Merge branch 'jt/grep-wo-submodule-odb-as-alternate' into next
gitster Sep 8, 2021
d6ba073
Merge branch 'jc/trivial-threeway-binary-merge' into next
gitster Sep 8, 2021
c47fb2d
Merge branch 'cb/ci-build-pedantic' into next
gitster Sep 8, 2021
e9e130d
Merge branch 'ab/help-autocorrect-prompt' into next
gitster Sep 8, 2021
6fa5d96
Merge branch 'pb/test-use-user-env' into next
gitster Sep 8, 2021
40cfa71
Merge branch 'bs/install-strip' into next
gitster Sep 8, 2021
1972c59
Merge branch 'ab/reverse-midx-optim' into next
gitster Sep 8, 2021
14f0dd5
Merge branch 'ab/tr2-leaks-and-fixes' into next
gitster Sep 10, 2021
b27d720
Merge branch 'lh/systemd-timers' into next
gitster Sep 10, 2021
c31d871
Merge branch 'jv/pkt-line-batch' into next
gitster Sep 10, 2021
21b773f
Merge branch 'dt/submodule-diff-fixes' into next
gitster Sep 10, 2021
b50c37a
Merge branch 'ab/progress-users-adjust-counters' into next
gitster Sep 10, 2021
4ae19a5
Merge branch 'ps/update-ref-batch-flush' into next
gitster Sep 10, 2021
b8df102
Merge branch 'cb/pedantic-build-for-developers' into next
gitster Sep 10, 2021
e8bac5f
Merge branch 'rs/range-diff-avoid-segfault-with-I' into next
gitster Sep 10, 2021
a5221ea
Merge branch 'jc/prefix-filename-allocates' into next
gitster Sep 10, 2021
f645ffd
Merge branch 'js/retire-preserve-merges' into next
gitster Sep 10, 2021
7b39c39
Merge branch 'tb/pack-finalize-ordering' into next
gitster Sep 10, 2021
71559ef
Merge branch 'tb/multi-pack-bitmaps' into next
gitster Sep 10, 2021
dc202c5
Sync with master
gitster Sep 10, 2021
5e29049
Revert "Merge branch 'fs/ssh-signing' into next"
gitster Sep 10, 2021
d7bacb3
Merge branch 'ab/unbundle-progress' into next
gitster Sep 13, 2021
fdabb4f
Merge branch 'ar/submodule-add-config' into next
gitster Sep 13, 2021
efebf6d
Merge branch 'ar/submodule-add-more' into next
gitster Sep 13, 2021
ea87ede
Merge branch 'ab/serve-cleanup' into next
gitster Sep 13, 2021
79584f3
Merge branch 'ab/make-tags-cleanup' into next
gitster Sep 13, 2021
fbe4177
Merge branch 'ar/submodule-run-update-procedure' into next
gitster Sep 13, 2021
6993c73
Merge branch 'ds/sparse-index-ignored-files' into next
gitster Sep 13, 2021
1535fa2
Merge branch 'ds/mergies-with-sparse-index' into next
gitster Sep 13, 2021
97c3614
Merge branch 'js/run-command-close-packs' into next
gitster Sep 13, 2021
544b481
Merge branch 'rs/setup-use-xopen-and-xdup' into next
gitster Sep 13, 2021
a3ea25c
Merge branch 'rs/no-mode-to-open-when-appending' into next
gitster Sep 13, 2021
22d4bfa
Merge branch 'jk/t5562-racefix' into next
gitster Sep 13, 2021
11f3d2d
Merge branch 'en/am-abort-fix' into next
gitster Sep 14, 2021
80e72f5
Merge branch 'rs/packfile-bad-object-list-in-oidset' into next
gitster Sep 14, 2021
3bd0662
Merge branch 'rs/drop-core-compression-vars' into next
gitster Sep 14, 2021
e078585
Merge branch 'jk/strvec-typefix' into next
gitster Sep 14, 2021
cf38118
Merge branch 'en/tests-cleanup-leftover-untracked' into next
gitster Sep 14, 2021
086310d
Merge branch 'ab/test-tool-run-command-cleanup' into next
gitster Sep 14, 2021
14f69ed
Merge branch 'ab/gc-remove-unused-call' into next
gitster Sep 14, 2021
9174cd6
Merge branch 'jk/http-server-protocol-versions' into next
gitster Sep 14, 2021
bddbd5c
Merge branch 'po/git-config-doc-mentions-help-c' into next
gitster Sep 14, 2021
39a6914
Merge branch 'ps/update-ref-batch-flush' into next
gitster Sep 15, 2021
16aaab3
Merge branch 'ab/http-drop-old-curl-plus' into next
gitster Sep 15, 2021
14e6b0f
Merge branch 'ab/unused-script-helpers' into next
gitster Sep 15, 2021
2af7f04
Merge branch 'mr/bisect-in-c-4' into next
gitster Sep 15, 2021
0bd7ce1
Merge branch 'ab/retire-option-argument' into next
gitster Sep 15, 2021
46640ce
Sync with master
gitster Sep 15, 2021
05cdcab
Merge branch 'js/pull-release-packs-before-fetching' into next
gitster Sep 13, 2021
e292133
Merge branch 'cb/unix-sockets-with-windows' into next
gitster Sep 16, 2021
292dd71
Merge branch 'ma/help-w-check-for-requested-page' into next
gitster Sep 16, 2021
54a6a3f
Merge branch 'ma/doc-git-version' into next
gitster Sep 16, 2021
40cfe41
Merge branch 'jk/reduce-malloc-in-v2-servers' into next
gitster Sep 16, 2021
c658fbf
Merge branch 'jt/submodule-name-to-gitdir' into next
gitster Sep 16, 2021
2eecae2
Merge branch 'cb/plug-leaks-in-alloca-emu-users' into next
gitster Sep 16, 2021
b4797ad
Merge branch 'kz/revindex-comment-fix' into next
gitster Sep 16, 2021
186eaaa
Merge branch 'rs/use-xopen-in-index-pack' into next
gitster Sep 16, 2021
513c11f
Merge branch 'en/stash-df-fix' into next
gitster Sep 20, 2021
7873b31
Merge branch 'cb/unicode-14' into next
gitster Sep 20, 2021
48648da
Merge branch 'en/typofixes' into next
gitster Sep 20, 2021
93c93b8
Merge branch 'jk/clone-unborn-head-in-bare' into next
gitster Sep 20, 2021
d22421f
Sync with master
gitster Sep 20, 2021
b2d7f5e
Merge branch 'jx/ci-l10n' into next
gitster Sep 23, 2021
98f5f3f
Merge branch 'cb/cvsserver' into next
gitster Sep 23, 2021
eb56685
Merge branch 'ab/refs-files-cleanup' into next
gitster Sep 23, 2021
502e6b6
Merge branch 'hn/refs-errno-cleanup' into next
gitster Sep 23, 2021
4c38ced
Sync with master
gitster Sep 23, 2021
4d84344
Merge branch 'jt/add-submodule-odb-clean-up' into next
gitster Sep 28, 2021
980add2
Merge branch 'pw/rebase-of-a-tag-fix' into next
gitster Sep 28, 2021
f021339
Merge branch 'tb/commit-graph-usage-fix' into next
gitster Sep 28, 2021
e2170ed
Merge branch 'da/difftool-dir-diff-symlink-fix' into next
gitster Sep 28, 2021
1660a6b
Merge branch 'jk/grep-haystack-is-read-only' into next
gitster Sep 28, 2021
d27c228
Merge branch 'bs/ls-files-opt-help-text-update' into next
gitster Sep 28, 2021
ef4570a
Merge branch 'jk/http-redact-fix' into next
gitster Sep 28, 2021
43d70c3
Merge branch 'ab/repo-settings-cleanup' into next
gitster Sep 28, 2021
18a2148
Merge branch 'ds/perf-test-built-path-fix' into next
gitster Sep 28, 2021
20483ad
Merge branch 'ab/make-clean-depend-dirs' into next
gitster Sep 28, 2021
f2cbe59
Merge branch 'ew/midx-doc-update' into next
gitster Sep 28, 2021
532f2aa
Merge branch 'ab/auto-depend-with-pedantic' into next
gitster Sep 28, 2021
8251d26
Merge branch 'ab/bundle-remove-verbose-option' into next
gitster Sep 28, 2021
c67d5e3
Merge branch 'pw/rebase-reread-todo-after-editing' into next
gitster Sep 28, 2021
b14502f
Merge branch 'rs/close-pack-leakfix' into next
gitster Sep 28, 2021
4870655
Sync with master
gitster Sep 28, 2021
24732fc
Merge branch 'tb/midx-write-propagate-namehash' into next
gitster Sep 29, 2021
b7dea55
Merge branch 'gc/doc-first-contribution-reroll' into next
gitster Sep 29, 2021
22d485e
Merge branch 'bs/difftool-msg-tweak' into next
gitster Sep 29, 2021
661ae75
Merge branch 'sg/test-split-index-fix' into next
gitster Sep 29, 2021
49181ea
Merge branch 'ws/refer-to-forkpoint-config-in-rebase-doc' into next
gitster Sep 29, 2021
b343975
Merge branch 'ab/make-compdb-fix' into next
gitster Sep 29, 2021
93a4572
Merge branch 'ah/connect-parse-feature-v0-fix' into next
gitster Sep 29, 2021
26802e5
Merge branch 'js/win-lazyload-buildfix' into next
gitster Oct 4, 2021
cd67328
Merge branch 'ab/http-pinned-public-key-mismatch' into next
gitster Oct 4, 2021
8c2cb6a
Merge branch 'jk/ref-paranoia' into next
gitster Oct 4, 2021
a130199
Merge branch 'os/status-docfix' into next
gitster Oct 4, 2021
f91e74f
Merge branch 'ab/retire-refs-unused-funcs' into next
gitster Oct 4, 2021
fc7a0a5
Merge branch 'ab/retire-git-config-key-is-valid' into next
gitster Oct 4, 2021
4834949
Merge branch 'ab/retire-string-list-init' into next
gitster Oct 4, 2021
dcd62a3
Merge branch 'ab/sanitize-leak-ci' into next
gitster Oct 4, 2021
8183460
Merge branch 'lh/systemd-timers' into next
gitster Oct 4, 2021
179f652
Merge branch 'ab/designated-initializers' into next
gitster Oct 4, 2021
3ba0335
Merge branch 'da/difftool' into next
gitster Oct 4, 2021
29a6725
Merge branch 'rs/mergesort' into next
gitster Oct 4, 2021
a49287e
Merge branch 'ab/retire-decl-of-missing-unused-funcs' into next
gitster Oct 4, 2021
a309979
Sync with master
gitster Oct 4, 2021
03b6d62
tmp-objdir: new API for creating temporary writable databases
neerajsi-msft Oct 4, 2021
50741b1
tmp-objdir: disable ref updates when replacing the primary odb
neerajsi-msft Oct 4, 2021
80a9cda
Merge branch 'ds/add-rm-with-sparse-index' into next
gitster Oct 6, 2021
1950944
Merge branch 'mt/grep-submodule-textconv' into next
gitster Oct 6, 2021
fc4e387
Merge branch 'en/removing-untracked-fixes' into next
gitster Oct 6, 2021
e8fa261
Merge branch 'ab/lib-subtest' into next
gitster Oct 6, 2021
d05325e
Merge branch 'ab/config-based-hooks-1' into next
gitster Oct 6, 2021
c13c142
Merge branch 'mr/bisect-in-c-4' into next
gitster Oct 6, 2021
021f633
Merge branch 'jh/builtin-fsmonitor-part1' into next
gitster Oct 6, 2021
bf9538c
Merge branch 'ab/help-config-vars' into next
gitster Oct 6, 2021
e22da7e
Merge branch 'ab/align-parse-options-help' into next
gitster Oct 6, 2021
10e3c31
Merge branch 'ab/make-sparse-for-real' into next
gitster Oct 6, 2021
ccdd5aa
Merge branch 'tb/repack-write-midx' into next
gitster Oct 6, 2021
688dc71
Merge branch 'rs/p3400-lose-tac' into next
gitster Oct 6, 2021
619a7db
Merge branch 'tb/aggregate-ignore-leading-whitespaces' into next
gitster Oct 6, 2021
4de6571
Merge branch 'ja/doc-status-types-and-copies' into next
gitster Oct 6, 2021
6e70778
Sync with 'master'
gitster Oct 6, 2021
0388352
Merge branch 'ns/tmp-objdir' into ns/batched-fsync
gitster Oct 8, 2021
4780496
bulk-checkin: rename 'state' variable and separate 'plugged' boolean
neerajsi-msft Oct 4, 2021
ec983eb
core.fsyncobjectfiles: batched disk flushes
neerajsi-msft Oct 4, 2021
d11da09
core.fsyncobjectfiles: add windows support for batch mode
neerajsi-msft Oct 4, 2021
085d914
update-index: use the bulk-checkin infrastructure
neerajsi-msft Oct 4, 2021
2881e3e
unpack-objects: use the bulk-checkin infrastructure
neerajsi-msft Oct 4, 2021
e058d35
core.fsyncobjectfiles: tests for batch mode
neerajsi-msft Oct 4, 2021
e2d7493
core.fsyncobjectfiles: performance tests for add and stash
neerajsi-msft Oct 4, 2021
2e83706
Merge branch 'rs/mergesort' into next
gitster Oct 8, 2021
ff8fec2
Merge branch 'tb/repack-write-midx' into next
gitster Oct 8, 2021
b456b95
Merge branch 'fs/ssh-signing' into next
gitster Oct 11, 2021
9b9836c
Merge branch 'ab/designated-initializers-more' into next
gitster Oct 11, 2021
962bb3e
Merge branch 'cm/save-restore-terminal' into next
gitster Oct 11, 2021
9415f7c
Merge branch 'jk/cat-file-batch-all-wo-replace' into next
gitster Oct 11, 2021
2f90c87
Merge branch 'pw/sparse-cache-tree-verify-fix' into next
gitster Oct 11, 2021
6b43588
Merge branch 'rs/make-verify-path-really-verify-again' into next
gitster Oct 11, 2021
a2cb776
Merge branch 'bs/doc-blame-color-lines' into next
gitster Oct 11, 2021
b88fcb3
Sync with master
gitster Oct 11, 2021
ecbd560
Sync with master
gitster Oct 13, 2021
3047fe5
Merge branch 'js/windows-ci-path-fix' into next
gitster Oct 14, 2021
dee8053
Merge branch 'tz/doc-link-to-bundle-format-fix' into next
gitster Oct 14, 2021
10edc78
Merge branch 'ab/fsck-unexpected-type' into next
gitster Oct 14, 2021
473a261
Merge branch 'jh/perf-remove-test-times' into next
gitster Oct 14, 2021
bb54827
Merge branch 'ab/unpack-trees-leakfix' into next
gitster Oct 14, 2021
ae49a2c
Merge branch 'jt/no-abuse-alternate-odb-for-submodules' into next
gitster Oct 14, 2021
e0dd4b9
Merge branch 'rs/disable-gc-during-perf-tests' into next
gitster Oct 14, 2021
a42928e
Merge branch 'rs/add-dry-run-without-objects' into next
gitster Oct 14, 2021
08c52f5
Merge branch 'ab/fix-commit-error-message-upon-unwritable-object-stor…
gitster Oct 14, 2021
97735c6
Merge branch 'fs/ssh-signing-fix' into next
gitster Oct 14, 2021
3337906
Sync with master
gitster Oct 14, 2021
0186a64
Merge branch 'pw/sparse-cache-tree-verify-fix' into next
gitster Oct 18, 2021
5ffa706
Merge branch 'fs/ssh-signing-fix' into next
gitster Oct 18, 2021
0dd8a08
Merge branch 'da/mergetools-special-case-xxdiff-exit-128' into next
gitster Oct 18, 2021
fea77f6
Merge branch 'js/userdiff-cpp' into next
gitster Oct 18, 2021
305d339
Merge branch 'ab/parse-options-cleanup' into next
gitster Oct 18, 2021
c522807
Merge branch 'ab/mark-leak-free-tests' into next
gitster Oct 18, 2021
fe798f7
Merge branch 'ab/mark-leak-free-tests-more' into next
gitster Oct 18, 2021
99b71c0
Merge branch 'jc/doc-commit-header-continuation-line' into next
gitster Oct 18, 2021
6fdb439
Merge branch 'ab/test-cleanly-recreate-trash-directory' into next
gitster Oct 18, 2021
52e552c
Merge branch 'tb/fix-midx-rename-while-mapped' into next
gitster Oct 18, 2021
79b0766
Merge branch 'ab/pkt-line-cleanup' into next
gitster Oct 18, 2021
22ebb32
Merge branch 'ab/fix-make-lint-docs' into next
gitster Oct 18, 2021
5229c5d
Merge branch 'ab/test-lib-diff-cleanup' into next
gitster Oct 18, 2021
d3b4e01
Sync with master
gitster Oct 18, 2021
4da10a5
Merge branch 'bs/doc-blame-color-lines' into next
gitster Oct 23, 2021
f7a8389
Merge branch 'ab/make-sparse-for-real' into next
gitster Oct 23, 2021
4a16ebd
Merge branch 'ab/test-bail' into next
gitster Oct 23, 2021
358d376
Merge branch 'ns/tmp-objdir' into next
gitster Oct 23, 2021
9704ff2
Merge branch 'jk/http-push-status-fix' into next
gitster Oct 23, 2021
8066971
Merge branch 'ab/ref-filter-leakfix' into next
gitster Oct 23, 2021
6be5d7b
Merge branch 'ab/plug-handle-path-exclude-leak' into next
gitster Oct 23, 2021
9c04a95
Merge branch 'ab/plug-random-leaks' into next
gitster Oct 23, 2021
f1fede7
Merge branch 'ab/sh-retire-rebase-preserve-merges' into next
gitster Oct 23, 2021
2158813
Merge branch 'js/userdiff-cpp' into next
gitster Oct 25, 2021
e45c907
Merge branch 'ns/batched-fsync' into next
gitster Oct 25, 2021
f66ca39
Merge branch 'jk/loosen-urlmatch' into next
gitster Oct 25, 2021
e3edea3
Merge branch 'hm/paint-hits-in-log-grep' into next
gitster Oct 25, 2021
5ed4266
Merge branch 'ab/ignore-replace-while-working-on-commit-graph' into next
gitster Oct 25, 2021
68b88e3
Merge branch 'so/stash-staged' into next
gitster Oct 25, 2021
3d38c09
Merge branch 'gc/use-repo-settings' into next
gitster Oct 25, 2021
377e759
Merge branch 'ks/submodule-add-message-fix' into next
gitster Oct 25, 2021
9360d86
Merge branch 'bs/archive-doc-compression-level' into next
gitster Oct 25, 2021
7ff05e8
Merge branch 'js/expand-runtime-prefix' into next
gitster Oct 25, 2021
9f74afe
Merge branch 'ma/doc-git-version' into next
gitster Oct 25, 2021
c40950c
Sync with master
gitster Oct 25, 2021
cb443df
fixup! tmp-objdir: new API for creating temporary writable databases
neerajsi-msft Oct 26, 2021
a082404
fixup! tmp-objdir: new API for creating temporary writable databases
neerajsi-msft Oct 26, 2021
ece0c98
Merge branch 'ns/tmp-objdir' into ns/batched-fsync
gitster Oct 28, 2021
04f0be2
Merge branch 'ab/fix-make-lint-docs' into next
gitster Oct 28, 2021
001a18c
Merge branch 'ns/tmp-objdir' into next
gitster Oct 28, 2021
eb2a3af
Merge branch 'ns/batched-fsync' into next
gitster Oct 28, 2021
4fc7c47
Merge branch 'ks/submodule-add-message-fix' into next
gitster Oct 28, 2021
020dc42
Merge branch 'sg/sparse-index-not-that-common-a-command' into next
gitster Oct 28, 2021
9920009
Merge branch 'ma/doc-folder-to-directory' into next
gitster Oct 28, 2021
32c2273
Merge branch 'jc/doc-format-patch-clarify-auto-base' into next
gitster Oct 28, 2021
efc3d30
Merge branch 'jc/branch-copy-doc' into next
gitster Oct 28, 2021
a6ec5e5
Merge branch 'ab/unbundle-progress' into next
gitster Oct 28, 2021
1a01b88
Merge branch 'ow/stash-count-in-status-porcelain-output' into next
gitster Oct 29, 2021
3f57147
Merge branch 'ab/refs-errno-cleanup' into next
gitster Oct 29, 2021
67ff1a5
Merge branch 'jc/tutorial-format-patch-base' into next
gitster Oct 29, 2021
50335e8
Merge branch 'so/stash-staged' into next
gitster Oct 29, 2021
ad4753e
Merge branch 'jc/fix-pull-ff-only-when-already-up-to-date' into next
gitster Oct 29, 2021
e3ec6e8
Merge branch 'jc/fix-ref-sorting-parse' into next
gitster Oct 29, 2021
b3d2360
Merge branch 'ab/test-lib' into next
gitster Oct 29, 2021
7fa61a8
Merge branch 'jk/log-warn-on-bogus-encoding' into next
gitster Oct 29, 2021
3004dd0
Merge branch 'cm/drop-xunsetenv' into next
gitster Oct 29, 2021
06f21a4
Merge branch 'mt/fix-add-rm-with-sparse-index' into next
gitster Oct 29, 2021
78decd1
Merge branch 're/completion-fix-test-equality' into next
gitster Oct 29, 2021
81b53c2
Sync with Git 2.34-rc0
gitster Oct 29, 2021
f50e78f
Merge branch 'rs/ssh-signing-fix' into next
gitster Nov 2, 2021
f27cf92
Merge branch 'jx/message-fixes' into next
gitster Nov 2, 2021
74677b0
Merge branch 'ar/fix-git-pull-no-verify' into next
gitster Nov 2, 2021
f6809a9
Merge branch 'ar/no-verify-doc' into next
gitster Nov 2, 2021
a11670a
Merge branch 'jc/unsetenv-returns-an-int' into next
gitster Nov 2, 2021
7104356
Merge branch 'tp/send-email-completion' into next
gitster Nov 2, 2021
47d2188
Merge branch 'tb/plug-pack-bitmap-leaks' into next
gitster Nov 2, 2021
f45b338
Merge branch 'rd/http-backend-code-simplification' into next
gitster Nov 2, 2021
6d82a21
Sync with master
gitster Nov 2, 2021
827a7d7
Merge branch 'ds/add-rm-with-sparse-index' into next
gitster Nov 3, 2021
928f9c0
Merge branch 'pw/rebase-r-fixes' into next
gitster Nov 3, 2021
1ee6274
Sync with v2.34-rc1
gitster Nov 3, 2021
b4fce69
Merge branch 'vd/pthread-setspecific-g11-fix' into next
gitster Nov 4, 2021
4b49d9f
Merge branch 'ab/sh-retire-helper-functions' into next
gitster Nov 4, 2021
fe5160a
Merge branch 'mc/clean-smudge-with-llp64' into next
gitster Nov 4, 2021
b447b23
Sync with master
gitster Nov 4, 2021
f5ff9c3
Merge branch 'ad/ssh-signing-testfix' into next
gitster Nov 9, 2021
b2b8592
Merge branch 'ab/parse-options-cleanup' into next
gitster Nov 9, 2021
773e6cc
Sync with Git 2.34-rc2
gitster Nov 9, 2021
18eb9c1
Merge branch 'ds/no-usable-cron-on-macos' into next
gitster Nov 10, 2021
00788f0
Merge branch 'js/simple-ipc-cygwin-socket-fix' into next
gitster Nov 10, 2021
b6195ca
Merge branch 'jk/ssh-signing-fix' into next
gitster Nov 10, 2021
b550198
Sync with master
gitster Nov 10, 2021
8b3dccb
Merge branch 'ps/connectivity-optim' into next
gitster Nov 11, 2021
f8c9666
Merge branch 'ab/fsck-unexpected-type' into next
gitster Nov 11, 2021
e7144ad
Merge branch 'js/trace2-raise-format-version' into next
gitster Nov 11, 2021
c874808
Sync with master
gitster Nov 12, 2021
ca35af8
Sync with v2.34
gitster Nov 15, 2021
e146d25
Merge branch 'hm/paint-hits-in-log-grep' into next
gitster Nov 20, 2021
2d8f0cd
Merge branch 'ev/pull-already-up-to-date-is-noop' into next
gitster Nov 20, 2021
b44f4d0
Merge branch 'ab/update-submitting-patches' into next
gitster Nov 20, 2021
f8b2883
Sync with master
gitster Nov 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 28 additions & 13 deletions Documentation/MyFirstContribution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -905,19 +905,34 @@ Sending emails with Git is a two-part process; before you can prepare the emails
themselves, you'll need to prepare the patches. Luckily, this is pretty simple:

----
$ git format-patch --cover-letter -o psuh/ master..psuh
----

The `--cover-letter` parameter tells `format-patch` to create a cover letter
template for you. You will need to fill in the template before you're ready
to send - but for now, the template will be next to your other patches.

The `-o psuh/` parameter tells `format-patch` to place the patch files into a
directory. This is useful because `git send-email` can take a directory and
send out all the patches from there.

`master..psuh` tells `format-patch` to generate patches for the difference
between `master` and `psuh`. It will make one patch file per commit. After you
$ git format-patch --cover-letter -o psuh/ --base=auto psuh@{u}..psuh
----

. The `--cover-letter` option tells `format-patch` to create a
cover letter template for you. You will need to fill in the
template before you're ready to send - but for now, the template
will be next to your other patches.

. The `-o psuh/` option tells `format-patch` to place the patch
files into a directory. This is useful because `git send-email`
can take a directory and send out all the patches from there.

. The `--base=auto` option tells the command to record the "base
commit", on which the recipient is expected to apply the patch
series. The `auto` value will cause `format-patch` to compute
the base commit automatically, which is the merge base of tip
commit of the remote-tracking branch and the specified revision
range.

. The `psuh@{u}..psuh` option tells `format-patch` to generate
patches for the commits you created on the `psuh` branch since it
forked from its upstream (which is `origin/master` if you
followed the example in the "Set up your workspace" section). If
you are already on the `psuh` branch, you can just say `@{u}`,
which means "commits on the current branch since it forked from
its upstream", which is the same thing.

The command will make one patch file per commit. After you
run, you can go have a look at each of the patches with your favorite text
editor and make sure everything looks alright; however, it's not recommended to
make code fixups via the patch file. It's a better idea to make the change the
Expand Down
29 changes: 23 additions & 6 deletions Documentation/config/core.txt
Original file line number Diff line number Diff line change
Expand Up @@ -548,12 +548,29 @@ core.whitespace::
errors. The default tab width is 8. Allowed values are 1 to 63.

core.fsyncObjectFiles::
This boolean will enable 'fsync()' when writing object files.
+
This is a total waste of time and effort on a filesystem that orders
data writes properly, but can be useful for filesystems that do not use
journalling (traditional UNIX filesystems) or that only journal metadata
and not file contents (OS X's HFS+, or Linux ext3 with "data=writeback").
A value indicating the level of effort Git will expend in
trying to make objects added to the repo durable in the event
of an unclean system shutdown. This setting currently only
controls loose objects in the object store, so updates to any
refs or the index may not be equally durable.
+
* `false` allows data to remain in file system caches according to
operating system policy, whence it may be lost if the system loses power
or crashes.
* `true` triggers a data integrity flush for each loose object added to the
object store. This is the safest setting that is likely to ensure durability
across all operating systems and file systems that honor the 'fsync' system
call. However, this setting comes with a significant performance cost on
common hardware. Git does not currently fsync parent directories for
newly-added files, so some filesystems may still allow data to be lost on
system crash.
* `batch` enables an experimental mode that uses interfaces available in some
operating systems to write loose object data with a minimal set of FLUSH
CACHE (or equivalent) commands sent to the storage controller. If the
operating system interfaces are not available, this mode behaves the same as
`true`. This mode is expected to be as safe as `true` on macOS for repos
stored on HFS+ or APFS filesystems and on Windows for repos stored on NTFS or
ReFS.

core.preloadIndex::
Enable parallel index preload for operations like 'git diff'
Expand Down
6 changes: 4 additions & 2 deletions Documentation/git-send-email.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ git-send-email - Send a collection of patches as emails
SYNOPSIS
--------
[verse]
'git send-email' [<options>] <file|directory|rev-list options>...
'git send-email' [<options>] <file|directory>...
'git send-email' [<options>] <format-patch options>
'git send-email' --dump-aliases


Expand All @@ -19,7 +20,8 @@ Takes the patches given on the command line and emails them out.
Patches can be specified as files, directories (which will send all
files in the directory), or directly as a revision list. In the
last case, any format accepted by linkgit:git-format-patch[1] can
be passed to git send-email.
be passed to git send-email, as well as options understood by
linkgit:git-format-patch[1].

The header of the email is configurable via command-line options. If not
specified on the command line, the user will be prompted with a ReadLine
Expand Down
34 changes: 31 additions & 3 deletions Documentation/git-stash.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SYNOPSIS
'git stash' drop [-q|--quiet] [<stash>]
'git stash' ( pop | apply ) [--index] [-q|--quiet] [<stash>]
'git stash' branch <branchname> [<stash>]
'git stash' [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]
'git stash' [push [-p|--patch] [-S|--staged] [-k|--[no-]keep-index] [-q|--quiet]
[-u|--include-untracked] [-a|--all] [-m|--message <message>]
[--pathspec-from-file=<file> [--pathspec-file-nul]]
[--] [<pathspec>...]]
Expand Down Expand Up @@ -47,7 +47,7 @@ stash index (e.g. the integer `n` is equivalent to `stash@{n}`).
COMMANDS
--------

push [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [-m|--message <message>] [--pathspec-from-file=<file> [--pathspec-file-nul]] [--] [<pathspec>...]::
push [-p|--patch] [-S|--staged] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [-m|--message <message>] [--pathspec-from-file=<file> [--pathspec-file-nul]] [--] [<pathspec>...]::

Save your local modifications to a new 'stash entry' and roll them
back to HEAD (in the working tree and in the index).
Expand All @@ -60,7 +60,7 @@ subcommand from making an unwanted stash entry. The two exceptions to this
are `stash -p` which acts as alias for `stash push -p` and pathspec elements,
which are allowed after a double hyphen `--` for disambiguation.

save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
save [-p|--patch] [-S|--staged] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::

This option is deprecated in favour of 'git stash push'. It
differs from "stash push" in that it cannot take pathspec.
Expand Down Expand Up @@ -205,6 +205,16 @@ to learn how to operate the `--patch` mode.
The `--patch` option implies `--keep-index`. You can use
`--no-keep-index` to override this.

-S::
--staged::
This option is only valid for `push` and `save` commands.
+
Stash only the changes that are currently staged. This is similar to
basic `git commit` except the state is committed to the stash instead
of current branch.
+
The `--patch` option has priority over this one.

--pathspec-from-file=<file>::
This option is only valid for `push` command.
+
Expand Down Expand Up @@ -341,6 +351,24 @@ $ edit/build/test remaining parts
$ git commit foo -m 'Remaining parts'
----------------------------------------------------------------

Saving unrelated changes for future use::

When you are in the middle of massive changes and you find some
unrelated issue that you don't want to forget to fix, you can do the
change(s), stage them, and use `git stash push --staged` to stash them
out for future use. This is similar to committing the staged changes,
only the commit ends-up being in the stash and not on the current branch.
+
----------------------------------------------------------------
# ... hack hack hack ...
$ git add --patch foo # add unrelated changes to the index
$ git stash push --staged # save these changes to the stash
# ... hack hack hack, finish curent changes ...
$ git commit -m 'Massive' # commit fully tested changes
$ git switch fixup-branch # switch to another branch
$ git stash pop # to finish work on the saved changes
----------------------------------------------------------------

Recovering stash entries that were cleared/dropped erroneously::

If you mistakenly drop or clear stash entries, they cannot be recovered
Expand Down
8 changes: 8 additions & 0 deletions Documentation/git-status.txt
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,14 @@ Line Notes
------------------------------------------------------------
....

Stash Information
^^^^^^^^^^^^^^^^^

If `--show-stash` is given, one line is printed showing the number of stash
entries if non-zero:

# stash <N>

Changed Tracked Entries
^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
32 changes: 16 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,6 @@ all::
#
# Define NO_TCLTK if you do not want Tcl/Tk GUI.
#
# Define SANE_TEXT_GREP to "-a" if you use recent versions of GNU grep
# and egrep that are pickier when their input contains non-ASCII data.
#
# The TCL_PATH variable governs the location of the Tcl interpreter
# used to optimize git-gui for your system. Only used if NO_TCLTK
# is not set. Defaults to the bare 'tclsh'.
Expand Down Expand Up @@ -406,6 +403,8 @@ all::
#
# Define HAVE_CLOCK_MONOTONIC if your platform has CLOCK_MONOTONIC.
#
# Define HAVE_SYNC_FILE_RANGE if your platform has sync_file_range.
#
# Define NEEDS_LIBRT if your platform requires linking with librt (glibc version
# before 2.17) for clock_gettime and CLOCK_MONOTONIC.
#
Expand Down Expand Up @@ -1884,6 +1883,10 @@ ifdef HAVE_CLOCK_MONOTONIC
BASIC_CFLAGS += -DHAVE_CLOCK_MONOTONIC
endif

ifdef HAVE_SYNC_FILE_RANGE
BASIC_CFLAGS += -DHAVE_SYNC_FILE_RANGE
endif

ifdef NEEDS_LIBRT
EXTLIBS += -lrt
endif
Expand Down Expand Up @@ -2252,33 +2255,30 @@ command-list.h: $(wildcard Documentation/git*.txt)
hook-list.h: generate-hooklist.sh Documentation/githooks.txt
$(QUIET_GEN)$(SHELL_PATH) ./generate-hooklist.sh >$@

SCRIPT_DEFINES = $(SHELL_PATH_SQ):$(DIFF_SQ):$(GIT_VERSION):\
$(localedir_SQ):$(NO_CURL):$(USE_GETTEXT_SCHEME):$(SANE_TOOL_PATH_SQ):\
$(gitwebdir_SQ):$(PERL_PATH_SQ):$(SANE_TEXT_GREP):$(PAGER_ENV):\
SCRIPT_DEFINES = $(SHELL_PATH_SQ):$(DIFF_SQ):\
$(localedir_SQ):$(USE_GETTEXT_SCHEME):$(SANE_TOOL_PATH_SQ):\
$(gitwebdir_SQ):$(PERL_PATH_SQ):$(PAGER_ENV):\
$(perllibdir_SQ)
GIT-SCRIPT-DEFINES: FORCE
@FLAGS='$(SCRIPT_DEFINES)'; \
if test x"$$FLAGS" != x"`cat $@ 2>/dev/null`" ; then \
echo >&2 " * new script parameters"; \
echo "$$FLAGS" >$@; \
fi

define cmd_munge_script
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
-e 's|@SHELL_PATH@|$(SHELL_PATH_SQ)|' \
-e 's|@@DIFF@@|$(DIFF_SQ)|' \
-e 's|@@LOCALEDIR@@|$(localedir_SQ)|g' \
-e 's/@@NO_CURL@@/$(NO_CURL)/g' \
-e 's/@@USE_GETTEXT_SCHEME@@/$(USE_GETTEXT_SCHEME)/g' \
-e $(BROKEN_PATH_FIX) \
-e 's|@@GITWEBDIR@@|$(gitwebdir_SQ)|g' \
-e 's|@@PERL@@|$(PERL_PATH_SQ)|g' \
-e 's|@@SANE_TEXT_GREP@@|$(SANE_TEXT_GREP)|g' \
-e 's|@@PAGER_ENV@@|$(PAGER_ENV_SQ)|g' \
$@.sh >$@+
endef

GIT-SCRIPT-DEFINES: FORCE
@FLAGS='$(SCRIPT_DEFINES)'; \
if test x"$$FLAGS" != x"`cat $@ 2>/dev/null`" ; then \
echo >&2 " * new script parameters"; \
echo "$$FLAGS" >$@; \
fi


$(SCRIPT_SH_GEN) : % : %.sh GIT-SCRIPT-DEFINES
$(QUIET_GEN)$(cmd_munge_script) && \
chmod +x $@+ && \
Expand Down
13 changes: 6 additions & 7 deletions builtin/branch.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,11 @@ define_list_config_array(color_branch_slots);
static int git_branch_config(const char *var, const char *value, void *cb)
{
const char *slot_name;
struct ref_sorting **sorting_tail = (struct ref_sorting **)cb;

if (!strcmp(var, "branch.sort")) {
if (!value)
return config_error_nonbool(var);
parse_ref_sorting(sorting_tail, value);
string_list_append(cb, value);
return 0;
}

Expand Down Expand Up @@ -625,7 +624,8 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
enum branch_track track;
struct ref_filter filter;
int icase = 0;
static struct ref_sorting *sorting = NULL, **sorting_tail = &sorting;
static struct ref_sorting *sorting;
struct string_list sorting_options = STRING_LIST_INIT_DUP;
struct ref_format format = REF_FORMAT_INIT;

struct option options[] = {
Expand Down Expand Up @@ -666,7 +666,7 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
OPT_MERGED(&filter, N_("print only branches that are merged")),
OPT_NO_MERGED(&filter, N_("print only branches that are not merged")),
OPT_COLUMN(0, "column", &colopts, N_("list branches in columns")),
OPT_REF_SORT(sorting_tail),
OPT_REF_SORT(&sorting_options),
OPT_CALLBACK(0, "points-at", &filter.points_at, N_("object"),
N_("print only branches of the object"), parse_opt_object_name),
OPT_BOOL('i', "ignore-case", &icase, N_("sorting and filtering are case insensitive")),
Expand All @@ -683,7 +683,7 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
if (argc == 2 && !strcmp(argv[1], "-h"))
usage_with_options(builtin_branch_usage, options);

git_config(git_branch_config, sorting_tail);
git_config(git_branch_config, &sorting_options);

track = git_branch_track;

Expand Down Expand Up @@ -749,8 +749,7 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
* local branches 'refs/heads/...' and finally remote-tracking
* branches 'refs/remotes/...'.
*/
if (!sorting)
sorting = ref_default_sorting();
sorting = ref_sorting_options(&sorting_options);
ref_sorting_set_sort_flags_all(sorting, REF_SORTING_ICASE, icase);
ref_sorting_set_sort_flags_all(
sorting, REF_SORTING_DETACHED_HEAD_FIRST, 1);
Expand Down
8 changes: 4 additions & 4 deletions builtin/for-each-ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ static char const * const for_each_ref_usage[] = {
int cmd_for_each_ref(int argc, const char **argv, const char *prefix)
{
int i;
struct ref_sorting *sorting = NULL, **sorting_tail = &sorting;
struct ref_sorting *sorting;
struct string_list sorting_options = STRING_LIST_INIT_DUP;
int maxcount = 0, icase = 0;
struct ref_array array;
struct ref_filter filter;
Expand All @@ -39,7 +40,7 @@ int cmd_for_each_ref(int argc, const char **argv, const char *prefix)
OPT_INTEGER( 0 , "count", &maxcount, N_("show only <n> matched refs")),
OPT_STRING( 0 , "format", &format.format, N_("format"), N_("format to use for the output")),
OPT__COLOR(&format.use_color, N_("respect format colors")),
OPT_REF_SORT(sorting_tail),
OPT_REF_SORT(&sorting_options),
OPT_CALLBACK(0, "points-at", &filter.points_at,
N_("object"), N_("print only refs which points at the given object"),
parse_opt_object_name),
Expand Down Expand Up @@ -70,8 +71,7 @@ int cmd_for_each_ref(int argc, const char **argv, const char *prefix)
if (verify_ref_format(&format))
usage_with_options(for_each_ref_usage, opts);

if (!sorting)
sorting = ref_default_sorting();
sorting = ref_sorting_options(&sorting_options);
ref_sorting_set_sort_flags_all(sorting, REF_SORTING_ICASE, icase);
filter.ignore_case = icase;

Expand Down
13 changes: 8 additions & 5 deletions builtin/ls-remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix)
struct transport *transport;
const struct ref *ref;
struct ref_array ref_array;
static struct ref_sorting *sorting = NULL, **sorting_tail = &sorting;
struct string_list sorting_options = STRING_LIST_INIT_DUP;

struct option options[] = {
OPT__QUIET(&quiet, N_("do not print remote URL")),
Expand All @@ -68,7 +68,7 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix)
OPT_BIT(0, "refs", &flags, N_("do not show peeled tags"), REF_NORMAL),
OPT_BOOL(0, "get-url", &get_url,
N_("take url.<base>.insteadOf into account")),
OPT_REF_SORT(sorting_tail),
OPT_REF_SORT(&sorting_options),
OPT_SET_INT_F(0, "exit-code", &status,
N_("exit with exit code 2 if no matching refs are found"),
2, PARSE_OPT_NOCOMPLETE),
Expand All @@ -86,8 +86,6 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix)

packet_trace_identity("ls-remote");

UNLEAK(sorting);

if (argc > 1) {
int i;
CALLOC_ARRAY(pattern, argc);
Expand Down Expand Up @@ -139,8 +137,13 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix)
item->symref = xstrdup_or_null(ref->symref);
}

if (sorting)
if (sorting_options.nr) {
struct ref_sorting *sorting;

sorting = ref_sorting_options(&sorting_options);
ref_array_sort(sorting, &ref_array);
ref_sorting_release(sorting);
}

for (i = 0; i < ref_array.nr; i++) {
const struct ref_array_item *ref = ref_array.items[i];
Expand Down
Loading