Skip to content
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

PATH WALK IV: Add 'git survey' command #1821

Open
wants to merge 1,560 commits into
base: api-upstream
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1560 commits
Select commit Hold shift + click to select a range
442b7e0
Merge branch 'ps/setup-reinit-fixes'
gitster Feb 10, 2025
34736ff
Merge branch 'pw/apply-ulong-overflow-check'
gitster Feb 10, 2025
0ca6b46
Merge branch 'jt/gitlab-ci-base-fix'
gitster Feb 10, 2025
246569b
Merge branch 'ps/hash-cleanup'
gitster Feb 10, 2025
6f0b722
Merge branch 'sk/unit-tests-0130'
gitster Feb 10, 2025
50e1821
Merge branch 'jk/ci-coverity-update'
gitster Feb 10, 2025
388218f
The ninth batch
gitster Feb 10, 2025
59d26bd
thunderbird-patch-inline: avoid bashism
bk2204 Feb 10, 2025
62898b8
builtin/update-server-info: remove the_repository global variable
Unique-Usman Feb 10, 2025
af8fc7b
rebase -i: reword empty commit after fast-forward
phillipwood Feb 11, 2025
832f56f
doc: centrally document various ways tospell `true` and `false`
gitster Feb 11, 2025
4576198
doc: clarify the intent of the renormalize option in the merge machinery
newren Feb 11, 2025
9d16f89
xdiff: move sign comparison warning guard into each file
davvid Feb 12, 2025
0d31bab
xdiff: avoid signed vs. unsigned comparisons in xdiffi.c
davvid Feb 12, 2025
46fb084
xdiff: avoid signed vs. unsigned comparisons in xemit.c
davvid Feb 12, 2025
2dc6cf2
xdiff: avoid signed vs. unsigned comparisons in xhistogram.c
davvid Feb 12, 2025
13b67f1
xdiff: avoid signed vs. unsigned comparisons in xpatience.c
davvid Feb 12, 2025
a3b56f5
xdiff: avoid signed vs. unsigned comparisons in xutils.c
davvid Feb 12, 2025
aae91a8
Merge branch 'ds/name-hash-tweaks'
gitster Feb 12, 2025
07c401d
Merge branch 'ps/repack-keep-unreachable-in-unpacked-repo'
gitster Feb 12, 2025
9865ef2
Merge branch 'ac/t6423-unhide-git-exit-status'
gitster Feb 12, 2025
3f3fd0f
Merge branch 'ac/t5401-use-test-path-is-file'
gitster Feb 12, 2025
a4af0b6
Merge branch 'js/libgit-rust'
gitster Feb 12, 2025
5b9d01b
Merge branch 'zh/gc-expire-to'
gitster Feb 12, 2025
791677a
Merge branch 'jp/doc-trailer-config'
gitster Feb 12, 2025
998c5f0
Merge branch 'ms/refspec-cleanup'
gitster Feb 12, 2025
0a99ffb
Merge branch 'ms/remote-valid-remote-name'
gitster Feb 12, 2025
39de0ff
Merge branch 'sc/help-autocorrect-one'
gitster Feb 12, 2025
2d7a874
Merge branch 'da/help-autocorrect-one-fix'
gitster Feb 12, 2025
e2067b4
The tenth batch
gitster Feb 12, 2025
f231799
Makefile: remove accidental recipe prefix in conditional
ttaylorr Feb 13, 2025
b07dd90
merge-recursive: optimize time complexity for process_renames
inosmeet Feb 14, 2025
aaf8f79
config/remote.txt: reunite 'severOption' description paragraphs
phil-blain Feb 14, 2025
0d03fda
config/remote.txt: improve wording for 'remote.<name>.followRemoteHEAD'
phil-blain Feb 14, 2025
0cc1300
Merge branch 'bc/doc-adoc-not-txt'
gitster Feb 15, 2025
5785d91
Merge branch 'tc/clone-single-revision'
gitster Feb 15, 2025
09e74b0
Merge branch 'op/worktree-is-main-bare-fix'
gitster Feb 15, 2025
c3fffcf
Merge branch 'bf/fetch-set-head-fix'
gitster Feb 15, 2025
82522a9
Merge branch 'kn/reflog-migration-fix-followup'
gitster Feb 15, 2025
60cb8e7
Merge branch 'ps/doc-http-upload-archive-service'
gitster Feb 15, 2025
0394451
The eleventh batch
gitster Feb 15, 2025
5309c1e
Makefile: set default goals in makefiles
me-and Feb 15, 2025
0c124cb
version: replace manual ASCII checks with isprint() for clarity
Unique-Usman Feb 15, 2025
cdfd081
version: refactor redact_non_printables()
Unique-Usman Feb 15, 2025
0a78d61
version: refactor get_uname_info()
Unique-Usman Feb 15, 2025
6aa09fd
version: extend get_uname_info() to hide system details
Unique-Usman Feb 15, 2025
15ff206
t5701: add setup test to remove side-effect dependency
Unique-Usman Feb 15, 2025
044b6f0
refspec: clarify function naming and documentation
inosmeet Feb 15, 2025
344a107
merge-tree --stdin: flush stdout to avoid deadlock
phillipwood Feb 18, 2025
1b0e5f4
merge-tree: remove redundant code
phillipwood Feb 18, 2025
54cf5d2
merge-tree: only use basic merge config
phillipwood Feb 18, 2025
3e681a7
merge-tree: improve docs for --stdin
phillipwood Feb 18, 2025
6a9ae81
merge-tree: fix link formatting in html docs
phillipwood Feb 18, 2025
c2d96bc
doc: use 'title' consistently
hickford Feb 16, 2025
a620046
diff: don't crash with empty argument to -G or -S
bk2204 Feb 17, 2025
d460267
Add 'promisor-remote' capability to protocol v2
chriscool Feb 18, 2025
36463e3
promisor-remote: check advertised name or URL
chriscool Feb 18, 2025
c582364
GIT-BUILD-OPTIONS: propagate project's source directory
pks-t Feb 18, 2025
fd21e6e
contrib/credential: fix "netrc" tests with out-of-tree builds
pks-t Feb 18, 2025
f8d95a3
contrib/credential: fix compilation of wincred helper with MSVC
hickford Feb 18, 2025
a47b873
contrib/credential: fix compiling "libsecret" helper
pks-t Feb 18, 2025
3f22889
contrib/credential: fix compilation of "osxkeychain" helper
pks-t Feb 18, 2025
1cee22e
meson: wire up credential helpers
pks-t Feb 18, 2025
e9e924e
meson: wire up git-contacts(1)
pks-t Feb 18, 2025
c1d6628
meson: wire up static analysis via Coccinelle
pks-t Feb 18, 2025
e565f37
Merge branch 'ds/backfill'
gitster Feb 18, 2025
345aaf3
Merge branch 'ps/send-pack-unhide-error-in-atomic-push'
gitster Feb 18, 2025
7722b99
Merge branch 'jt/rev-list-missing-print-info'
gitster Feb 18, 2025
716b00e
Merge branch 'da/difftool-sans-the-repository'
gitster Feb 18, 2025
5dd710c
Merge branch 'lo/t7603-path-is-file-update'
gitster Feb 18, 2025
6d385fe
Merge branch 'bc/contrib-thunderbird-patch-inline-fix'
gitster Feb 18, 2025
a554262
The twelfth batch
gitster Feb 18, 2025
d874d37
meson: bump minimum required Perl version to 5.26.0
Feb 18, 2025
0bf8d1b
meson: fix Perl version check for Meson versions before 1.7.0
Feb 18, 2025
cf7ee48
agent: advertise OS name via agent capability
Unique-Usman Feb 15, 2025
0d4fe30
gitk: extract script to build executable
pks-t Feb 19, 2025
b4c06f7
gitk: introduce support for the Meson build system
pks-t Feb 19, 2025
9990b58
Merge branch 'g4w-gitk' of https://github.com/dscho/gitk
j6t Feb 20, 2025
4a6cc6a
Merge branch 'pks-meson-support' of https://github.com/pks-t/gitk
j6t Feb 20, 2025
b838bf1
Merge branch 'master' of https://github.com/j6t/gitk
gitster Feb 20, 2025
235fe77
ci: fix propagating UTF-8 test locale in musl-based Meson job
pks-t Feb 18, 2025
63a597d
ci: exercise credential helpers
pks-t Feb 18, 2025
89be7d2
builtin/refs: add '--no-reflog' flag to drop reflogs
KarthikNayak Feb 21, 2025
975fc04
compat/mingw: rename the symlink, not the target
EliahKagan Feb 21, 2025
ee8020f
Merge branch 'ua/update-server-info-sans-the-repository'
gitster Feb 21, 2025
0fbe93b
Merge branch 'jc/doc-boolean-synonyms'
gitster Feb 21, 2025
55b5ba8
Merge branch 'en/doc-renormalize'
gitster Feb 21, 2025
84a5ce3
Merge branch 'ac/doc-http-ssl-type-config'
gitster Feb 21, 2025
2d2a71c
The thirteenth batch
gitster Feb 21, 2025
bb60c52
mailmap: fix check-mailmap with full mailmap line
jacob-keller Feb 21, 2025
3306edb
http: allow using netrc for WebDAV-based HTTP protocol
bk2204 Feb 23, 2025
1ca727f
commit: avoid parent list buildup in clear_commit_marks_many()
rscharfe Feb 23, 2025
ce98863
t/aggregate-results: fix paste(1) invocation
benknoble Feb 24, 2025
a16a2ee
t/unit-tests: implement clar specific oid helper functions
Seyi007 Feb 25, 2025
869a1ed
t/unit-tests: convert oid-array test to use clar test framework
Seyi007 Feb 25, 2025
69bc044
t/unit-tests: convert oidmap test to use clar test framework
Seyi007 Feb 25, 2025
1495850
t/unit-tests: convert oidtree test to use clar test framework
Seyi007 Feb 25, 2025
f52abcd
Merge branch 'da/xdiff-w-sign-compare-workaround'
gitster Feb 25, 2025
5ce6e0e
Merge branch 'tb/new-make-fix'
gitster Feb 25, 2025
a8a5bb1
Merge branch 'bc/diff-reject-empty-arg-to-pickaxe'
gitster Feb 25, 2025
37b34c4
Merge branch 'mh/doc-commit-title-not-subject'
gitster Feb 25, 2025
9b07c15
Merge branch 'pw/merge-tree-stdin-deadlock-fix'
gitster Feb 25, 2025
0921809
Merge branch 'ad/set-default-target-in-makefiles'
gitster Feb 25, 2025
2ebbe2b
Merge branch 'ms/rename-match-name-with-pattern'
gitster Feb 25, 2025
f65d9cf
Merge branch 'po/meson-perl-fix'
gitster Feb 25, 2025
5a526e5
The fourteenth batch
gitster Feb 25, 2025
887758c
BreakingChanges: clarify branches/ and remotes/
gitster Feb 25, 2025
4ebba56
merge-strategies.adoc: detail submodule merge
lucasoshiro Feb 25, 2025
bbca240
Merge branch 'ek/mingw-rename-symlink'
gitster Feb 26, 2025
e24570b
Merge branch 'jk/check-mailmap-wo-name-fix'
gitster Feb 26, 2025
08bdfd4
Git 2.49-rc0
gitster Feb 26, 2025
bd262d0
meson: fix exec path with enabled runtime prefix
pks-t Feb 26, 2025
6128301
meson: fix OpenSSL fallback when not explicitly required
pks-t Feb 26, 2025
ce94328
meson: inline the static 'git' library
pks-t Feb 26, 2025
ebb3536
meson: simplify use of the common-main library
pks-t Feb 26, 2025
dfc88bd
meson: introduce `libgit_curl` dependency
pks-t Feb 26, 2025
f5fac42
meson: stop linking libcurl into all executables
pks-t Feb 26, 2025
eee25bb
meson: drop separate version library
pks-t Feb 26, 2025
454d79b
meson: improve PATH handling
pks-t Feb 26, 2025
42846ef
meson: improve handling of `sane_tool_path` option
pks-t Feb 26, 2025
16c89dc
meson: prevent finding sed(1) in a loop
pks-t Feb 26, 2025
3ee3a6e
meson: fix overwritten `git` variable
pks-t Feb 26, 2025
2c374ea
meson: consistently use custom program paths to resolve programs
pks-t Feb 26, 2025
9350423
gitlab-ci: restrict maximum number of link jobs on Windows
pks-t Feb 26, 2025
aea7c18
gitlab-ci: fix "msvc-meson" test job succeeding despite test failures
pks-t Feb 27, 2025
9d8cce0
Merge branch 'ua/os-version-capability'
gitster Feb 27, 2025
3c0f4ab
Merge branch 'kn/ref-migrate-skip-reflog'
gitster Feb 27, 2025
c51a0b4
Merge branch 'pw/rebase-i-ff-empty-commit'
gitster Feb 27, 2025
16b2e57
Merge branch 'rs/clear-commit-marks-optim'
gitster Feb 27, 2025
68c3be6
Merge branch 'bc/http-push-auth-netrc-fix'
gitster Feb 27, 2025
9f280be
Merge branch 'jc/3.0-branches-remotes-update'
gitster Feb 27, 2025
cb0ae67
A bit more post -rc0
gitster Feb 27, 2025
8ee018d
rerere: let `rerere_path()` write paths into a caller-provided buffer
pks-t Feb 7, 2025
88dd321
path: drop `git_path()` in favor of `repo_git_path()`
pks-t Feb 7, 2025
b411ed6
repo-settings: introduce function to clear struct
pks-t Feb 7, 2025
6f3fbed
environment: move access to "core.hooksPath" into repo settings
pks-t Feb 7, 2025
f1ce861
environment: move access to "core.sharedRepository" into repo settings
pks-t Feb 7, 2025
028f618
path: adjust last remaining users of `the_repository`
pks-t Feb 7, 2025
2a1530a
Merge branch 'ps/meson-contrib-bits' into tz/doc-txt-to-adoc-fixes
gitster Mar 1, 2025
41c793e
doc: update howto-index.sh for .adoc extensions
tmzullinger Mar 1, 2025
fa779fa
contrib/contacts: rename .txt to .adoc
tmzullinger Mar 1, 2025
561de07
contrib/subtree: rename .txt to .adoc
tmzullinger Mar 1, 2025
06d9252
doc: fix build-docdep.perl
gitster Mar 1, 2025
87eccc3
meson: fix building technical and howto docs
phillipwood Mar 2, 2025
c84209a
editorconfig: add .bash extension
dseomn Mar 2, 2025
1aabec0
Merge branch 'dk/test-aggregate-results-paste-fix'
gitster Mar 3, 2025
ab09edd
Merge branch 'ps/build-meson-fixes-0130'
gitster Mar 3, 2025
238c8d3
Merge branch 'lo/doc-merge-submodule-update'
gitster Mar 3, 2025
85e342a
Merge branch 'ms/merge-recursive-string-list-micro-optimization'
gitster Mar 3, 2025
ca39da6
Merge branch 'ps/meson-contrib-bits'
gitster Mar 3, 2025
aa0ba82
Merge branch 'ps/build-meson-fixes'
gitster Mar 3, 2025
db91954
A few more before -rc1
gitster Mar 3, 2025
5040f9f
doc: add technical design doc for large object promisors
chriscool Feb 18, 2025
c268e32
BreakingChanges: clarify the procedure
gitster Feb 28, 2025
82deaae
t0450: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
33af5a3
.gitattributes: more *.txt -> *.adoc updates
tmzullinger Mar 3, 2025
7d90a27
doc: remove unneeded .gitattributes
tmzullinger Mar 3, 2025
d40da0b
Makefile: update reference to technical/racy-git.adoc
tmzullinger Mar 3, 2025
c50fbb2
README: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
7c78c59
CodingGuidelines: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
8b4b41a
MyFirstContribution: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
5ac2c61
MyFirstObjectWalk: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
9100c91
howto/new-command: update reference to builtin docs
tmzullinger Mar 3, 2025
59d9280
technical/partial-clone: update reference to rev-list-options.adoc
tmzullinger Mar 3, 2025
97350e1
doc: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
d795c65
advice.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
08ce333
apply.c: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
e801522
builtin.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
bbd6174
config.c: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
87e0910
contrib/long-running-filter: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
5c03752
diff.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
3936e95
diffcore.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
c09c29b
fsck.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
02ed88f
list-objects-filter-options.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
550fac1
object-name.c: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
458f8b0
parse-options.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
dc657d5
pseudo-merge.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
72d3858
refs.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
0543300
setup.c: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
9f04cd7
simple-ipc.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
e680c62
t/helper/test-rot13-filter.c: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
8ea7d41
t6012: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
366074d
t6434: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
508cf7f
trace2.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
15db9a8
trace2/tr2_sysenv.c: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
ee00ef4
transport.h: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
d6b67ce
unpack-trees.c: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
61cd812
xdiff: *.txt -> *.adoc fixes
tmzullinger Mar 3, 2025
6dff5de
refs: show --no-reflog in the help text
gitster Mar 3, 2025
6a64ac7
Git 2.49-rc1
gitster Mar 4, 2025
bad7910
reftable: release name on reftable_reader_new() error
rscharfe Mar 4, 2025
92f8da8
docs: fix repository-layout when building with breaking changes
phillipwood Mar 5, 2025
feffb34
Merge branch 'ps/path-sans-the-repository'
gitster Mar 5, 2025
6024f32
Merge branch 'sk/unit-test-oid'
gitster Mar 5, 2025
2c6fd30
Merge branch 'cc/lop-remote'
gitster Mar 5, 2025
3334de6
Merge branch 'dm/editorconfig-bash-is-like-sh'
gitster Mar 5, 2025
e2334d2
Merge branch 'jc/breaking-changes-early-adopter-option'
gitster Mar 5, 2025
cdf458c
Merge branch 'kn/ref-migrate-skip-reflog'
gitster Mar 5, 2025
22fab08
Merge branch 'pw/build-meson-technical-and-howto-docs'
gitster Mar 5, 2025
3dea2ad
Merge branch 'rs/reftable-reader-new-leakfix'
gitster Mar 5, 2025
e969bc8
A few more after -rc1
gitster Mar 5, 2025
a97ca95
l10n: Updated translation for vi-2.49
Nekosha Mar 6, 2025
cc2eb7e
l10n: bg.po: Updated Bulgarian translation (5836t)
alshopov Mar 1, 2025
60b9a25
l10n: fr: 2.49 round 2
jnavila Mar 1, 2025
4478ad3
ident: stop assuming that `gw_gecos` is writable
dscho Mar 6, 2025
31761f3
meson: fix sorting
dscho Mar 6, 2025
9709163
cmake: generalize the handling of the `CLAR_TEST_OBJS` list
dscho Mar 6, 2025
62c5889
Merge branch 'tz/doc-txt-to-adoc-fixes'
gitster Mar 6, 2025
bc86ef1
Merge branch 'pw/repo-layout-doc-update'
gitster Mar 6, 2025
a36e024
Merge branch 'js/win-2.49-build-fixes'
gitster Mar 6, 2025
49d9cd8
help: include git-zlib.h to print zlib version
To1ne Mar 7, 2025
2b1e0f8
help: print zlib-ng version number
To1ne Mar 7, 2025
bd52d9a
fetch: fix following tags when fetching specific OID
ttaylorr Mar 7, 2025
5d55ad0
Merge branch 'tb/fetch-follow-tags-fix'
gitster Mar 10, 2025
87a0bdb
Git 2.49-rc2
gitster Mar 10, 2025
6167370
l10n: sv.po: Update Swedish translation
nafmo Mar 10, 2025
7d5a9e6
l10n: sv.po: Fix Swedish typos
taahol Mar 8, 2025
83b278e
git-clone doc: fix indentation
Mar 10, 2025
ee01097
l10n: it: fix spelling of "sorgente" (Italian for "source")
wiso Feb 22, 2025
ec507ac
l10n: ko: fix minor typo in Korean translation
Jan 23, 2025
2d8902b
Merge branch 'master' of github.com:nafmo/git-l10n-sv
jiangxin Mar 10, 2025
aa77e3a
Merge branch 'fr_v2.49' of github.com:jnavila/git
jiangxin Mar 10, 2025
b50b68d
Merge branch 'master' of github.com:alshopov/git-po
jiangxin Mar 10, 2025
00cbbbe
Merge branch 'vi-2.49' of github.com:Nekosha/git-po
jiangxin Mar 10, 2025
f17f45f
l10n: tr: Update Turkish translations for 2.49.0
bitigchi Feb 27, 2025
5b75ad9
l10n: uk: add 2.49 translation
arkid15r Mar 12, 2025
2bd71e1
Merge branch '2.49-uk-update' of github.com:arkid15r
jiangxin Mar 12, 2025
ed99a5d
l10n: zh_CN: updated translation for 2.49
dyrone Mar 9, 2025
4d53aae
Merge branch 'tl/zh_CN_2.49.0_rnd' of github.com:dyrone/git
jiangxin Mar 12, 2025
0665904
Merge branch 'ma/clone-doc-markup-fix'
gitster Mar 12, 2025
870c749
Merge branch 'tc/zlib-ng-fix'
gitster Mar 12, 2025
a867909
Merge branch 'pb/doc-follow-remote-head'
gitster Mar 12, 2025
4b68faf
A bit more updates after -rc2
gitster Mar 12, 2025
ab00724
l10n: po-id for 2.49
bagasme Mar 4, 2025
9db5ab6
l10n: update German translation
ralfth Mar 13, 2025
c64eec3
Merge branch 'l10n-de-2.49' of github.com:ralfth/git
jiangxin Mar 13, 2025
7bc205b
l10n: zh_TW: Git 2.49.0 round 1
pan93412 Mar 9, 2025
ab7cb7e
Merge branch 'l10n/zh-TW/2025-03-09' of github.com:l10n-tw/git-po
jiangxin Mar 13, 2025
c9d3534
Merge tag 'l10n-2.49.0-rnd1' of https://github.com/git-l10n/git-po
gitster Mar 13, 2025
683c54c
Git 2.49
gitster Mar 14, 2025
7d4ac50
survey: stub in new experimental 'git-survey' command
jeffhostetler Apr 29, 2024
6259844
survey: add command line opts to select references
jeffhostetler Apr 29, 2024
b1083d8
survey: start pretty printing data in table form
derrickstolee Sep 1, 2024
d27045c
survey: add object count summary
derrickstolee Sep 2, 2024
8c478f4
survey: summarize total sizes by object type
derrickstolee Sep 2, 2024
6413555
survey: show progress during object walk
derrickstolee Sep 2, 2024
ad71878
survey: add ability to track prioritized lists
derrickstolee Sep 2, 2024
9ca91df
survey: add report of "largest" paths
derrickstolee Sep 2, 2024
56495fd
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
2663d6a
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
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
  •  
  •  
  •  
16 changes: 10 additions & 6 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ AlignConsecutiveAssignments: false
# double b = 3.14;
AlignConsecutiveDeclarations: false

# Align consecutive macro definitions.
AlignConsecutiveMacros: true

# Align escaped newlines as far left as possible
# #define A \
# int aaaa; \
Expand Down Expand Up @@ -209,13 +212,14 @@ KeepEmptyLinesAtTheStartOfBlocks: false

# Penalties
# This decides what order things should be done if a line is too long
PenaltyBreakAssignment: 10
PenaltyBreakBeforeFirstCallParameter: 30
PenaltyBreakComment: 10
PenaltyBreakAssignment: 5
PenaltyBreakBeforeFirstCallParameter: 5
PenaltyBreakComment: 5
PenaltyBreakFirstLessLess: 0
PenaltyBreakString: 10
PenaltyExcessCharacter: 100
PenaltyReturnTypeOnItsOwnLine: 60
PenaltyBreakOpenParenthesis: 300
PenaltyBreakString: 5
PenaltyExcessCharacter: 10
PenaltyReturnTypeOnItsOwnLine: 300

# Don't sort #include's
SortIncludes: false
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ insert_final_newline = true

# The settings for C (*.c and *.h) files are mirrored in .clang-format. Keep
# them in sync.
[{*.{c,h,sh,perl,pl,pm,txt},config.mak.*,Makefile}]
[{*.{c,h,sh,bash,perl,pl,pm,txt,adoc},config.mak.*,Makefile}]
indent_style = tab
tab_width = 8

Expand Down
8 changes: 4 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
*.py text eol=lf diff=python
*.bat text eol=crlf
CODE_OF_CONDUCT.md -whitespace
/Documentation/**/*.txt text eol=lf
/Documentation/**/*.adoc text eol=lf
/command-list.txt text eol=lf
/GIT-VERSION-GEN text eol=lf
/mergetools/* text eol=lf
/t/oid-info/* text eol=lf
/Documentation/git-merge.txt conflict-marker-size=32
/Documentation/gitk.txt conflict-marker-size=32
/Documentation/user-manual.txt conflict-marker-size=32
/Documentation/git-merge.adoc conflict-marker-size=32
/Documentation/gitk.adoc conflict-marker-size=32
/Documentation/user-manual.adoc conflict-marker-size=32
/t/t????-*.sh conflict-marker-size=32
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- run: ci/install-dependencies.sh
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
env:
distro: ${{ matrix.os }}
CI_JOB_IMAGE: ${{ matrix.os }}

# The Coverity site says the tool is usually updated twice yearly, so the
# MD5 of download can be used to determine whether there's been an update.
Expand Down
132 changes: 97 additions & 35 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,58 @@ jobs:
with:
name: failed-tests-windows-vs-${{ matrix.nr }}
path: ${{env.FAILED_TEST_ARTIFACTS}}

windows-meson-build:
name: win+Meson build
needs: ci-config
if: needs.ci-config.outputs.enabled == 'yes'
runs-on: windows-latest
concurrency:
group: windows-meson-build-${{ github.ref }}
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Set up dependencies
shell: pwsh
run: pip install meson ninja
- name: Setup
shell: pwsh
run: meson setup build -Dperl=disabled -Dcredential_helpers=wincred
- name: Compile
shell: pwsh
run: meson compile -C build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: windows-meson-artifacts
path: build
windows-meson-test:
name: win+Meson test
runs-on: windows-latest
needs: [ci-config, windows-meson-build]
strategy:
fail-fast: false
matrix:
nr: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
concurrency:
group: windows-meson-test-${{ matrix.nr }}-${{ github.ref }}
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Set up dependencies
shell: pwsh
run: pip install meson ninja
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: windows-meson-artifacts
path: build
- name: Test
shell: pwsh
run: meson test -C build --list | Select-Object -Skip 1 | Select-String .* | Group-Object -Property { $_.LineNumber % 10 } | Where-Object Name -EQ ${{ matrix.nr }} | ForEach-Object { meson test -C build --no-rebuild --print-errorlogs $_.Group }

regular:
name: ${{matrix.vector.jobname}} (${{matrix.vector.pool}})
needs: ci-config
Expand All @@ -259,20 +311,6 @@ jobs:
fail-fast: false
matrix:
vector:
- jobname: linux-sha256
cc: clang
pool: ubuntu-latest
- jobname: linux-reftable
cc: clang
pool: ubuntu-latest
- jobname: linux-gcc
cc: gcc
cc_package: gcc-8
pool: ubuntu-20.04
- jobname: linux-TEST-vars
cc: gcc
cc_package: gcc-8
pool: ubuntu-20.04
- jobname: osx-clang
cc: clang
pool: macos-13
Expand All @@ -282,23 +320,15 @@ jobs:
- jobname: osx-gcc
cc: gcc-13
pool: macos-13
- jobname: linux-gcc-default
cc: gcc
pool: ubuntu-latest
- jobname: linux-leaks
cc: gcc
pool: ubuntu-latest
- jobname: linux-reftable-leaks
cc: gcc
pool: ubuntu-latest
- jobname: linux-asan-ubsan
- jobname: osx-meson
cc: clang
pool: ubuntu-latest
pool: macos-13
env:
CC: ${{matrix.vector.cc}}
CC_PACKAGE: ${{matrix.vector.cc_package}}
jobname: ${{matrix.vector.jobname}}
distro: ${{matrix.vector.pool}}
CI_JOB_IMAGE: ${{matrix.vector.pool}}
TEST_OUTPUT_DIRECTORY: ${{github.workspace}}/t
runs-on: ${{matrix.vector.pool}}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -335,18 +365,48 @@ jobs:
fail-fast: false
matrix:
vector:
- jobname: linux-musl
image: alpine
distro: alpine-latest
- jobname: linux-sha256
image: ubuntu:rolling
cc: clang
- jobname: linux-reftable
image: ubuntu:rolling
cc: clang
- jobname: linux-TEST-vars
image: ubuntu:20.04
cc: gcc
cc_package: gcc-8
- jobname: linux-breaking-changes
cc: gcc
image: ubuntu:rolling
- jobname: linux-leaks
image: ubuntu:rolling
cc: gcc
- jobname: linux-reftable-leaks
image: ubuntu:rolling
cc: gcc
- jobname: linux-asan-ubsan
image: ubuntu:rolling
cc: clang
- jobname: linux-meson
image: ubuntu:rolling
cc: gcc
- jobname: linux-musl-meson
image: alpine:latest
# Supported until 2025-04-02.
- jobname: linux32
image: i386/ubuntu:focal
distro: ubuntu32-20.04
- jobname: pedantic
image: fedora
distro: fedora-latest
image: fedora:latest
# A RHEL 8 compatible distro. Supported until 2029-05-31.
- jobname: almalinux-8
image: almalinux:8
# Supported until 2026-08-31.
- jobname: debian-11
image: debian:11
env:
jobname: ${{matrix.vector.jobname}}
distro: ${{matrix.vector.distro}}
CC: ${{matrix.vector.cc}}
CI_JOB_IMAGE: ${{matrix.vector.image}}
runs-on: ubuntu-latest
container: ${{matrix.vector.image}}
steps:
Expand All @@ -355,10 +415,12 @@ jobs:
run: apt -q update && apt -q -y install libc6-amd64 lib64stdc++6
- uses: actions/checkout@v4
- run: ci/install-dependencies.sh
- run: ci/run-build-and-tests.sh
- run: useradd builder --create-home
- run: chown -R builder .
- run: sudo --preserve-env --set-home --user=builder ci/run-build-and-tests.sh
- name: print test failures
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
run: ci/print-test-failures.sh
run: sudo --preserve-env --set-home --user=builder ci/print-test-failures.sh
- name: Upload failed tests' directories
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
uses: actions/upload-artifact@v4
Expand Down
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
/GIT-TEST-SUITES
/GIT-USER-AGENT
/GIT-VERSION-FILE
/bin-wrappers/
/git
/git-add
/git-am
/git-annotate
/git-apply
/git-archimport
/git-archive
/git-backfill
/git-bisect
/git-blame
/git-branch
Expand Down Expand Up @@ -165,6 +165,7 @@
/git-submodule
/git-submodule--helper
/git-subtree
/git-survey
/git-svn
/git-switch
/git-symbolic-ref
Expand Down Expand Up @@ -195,9 +196,11 @@
/config-list.h
/command-list.h
/hook-list.h
/version-def.h
*.tar.gz
*.dsc
*.deb
/git.rc
/git.spec
*.exe
*.[aos]
Expand Down Expand Up @@ -249,3 +252,5 @@ Release/
/git.VC.db
*.dSYM
/contrib/buildsystems/out
/contrib/libgit-rs/target
/contrib/libgit-sys/target
Loading