Skip to content

fast forwarding #1

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 10,000 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
c607410
fetch: carefully clear local variable's address after use
dscho May 15, 2025
7f3ed75
commit-graph: avoid malloc'ing a local variable
dscho May 15, 2025
bf0468e
upload-pack: rename `enum` to reflect the operation
dscho May 15, 2025
6552684
has_dir_name(): make code more obvious
dscho May 15, 2025
6c91162
fetch: avoid unnecessary work when there is no current branch
dscho May 15, 2025
3d39bcd
Avoid redundant conditions
dscho May 15, 2025
fc451e6
trace2: avoid "futile conditional"
dscho May 15, 2025
ee63d02
commit-graph: avoid using stale stack addresses
dscho May 15, 2025
d7cfbd4
bundle-uri: avoid using undefined output of `sscanf()`
dscho May 15, 2025
2248833
sequencer: stop pretending that an assignment is a condition
dscho May 15, 2025
56f1cd1
mailinfo: fix pointential memory leak if `decode_header` failed
brandb97 May 13, 2025
044511f
sequencer: fix memory leak if `todo_list_rearrange_squash()` failed
brandb97 May 14, 2025
beccbdd
commit-graph: fix memory leak when `fill_oids_from_packs()` fails
brandb97 May 9, 2025
1d01042
Merge branch 'cf/wrapper-bsd-eloop'
gitster May 16, 2025
4dda60c
Merge branch 'ps/maintenance-missing-tasks'
gitster May 16, 2025
0499104
Merge branch 'dd/meson-perl-custom-path'
gitster May 16, 2025
38fc278
Merge branch 'jc/t6011-mv-ro-fix'
gitster May 16, 2025
fc04608
Merge branch 'tb/macos-false-but-the-compiler-does-not-know-it-fix'
gitster May 16, 2025
cb96e16
The fifteenth batch
gitster May 16, 2025
fba60a4
json-writer: add docstrings to jw_* functions
lucasoshiro May 16, 2025
da69229
json-writer: describe the usage of jw_* functions
lucasoshiro May 16, 2025
53eeed0
object-file.h: fix typo in variable declaration
peff May 16, 2025
f227fc7
cat-file: make --allow-unknown-type a noop
peff May 16, 2025
ae24b03
object-file: drop OBJECT_INFO_ALLOW_UNKNOWN_TYPE flag
peff May 16, 2025
aac2abe
cat-file: use type enum instead of buffer for -t option
peff May 16, 2025
b32b434
oid_object_info_convert(): stop using string for object type
peff May 16, 2025
4ae0e94
fsck: stop using object_info->type_name strbuf
peff May 16, 2025
d295638
oid_object_info(): drop type_name strbuf
peff May 16, 2025
f2ed511
t/helper: add zlib test-tool
peff May 16, 2025
b5643b6
t: add lib-loose.sh
peff May 16, 2025
65a6a79
hash-object: stop allowing unknown types
peff May 16, 2025
931e5ca
hash-object: merge HASH_* and INDEX_* flags
peff May 16, 2025
f710fd7
hash-object: handle --literally with OPT_NEGBIT
peff May 16, 2025
141f8c8
object-file: drop support for writing objects with unknown types
peff May 16, 2025
ea8a71b
userdiff: extend Bash pattern to cover more shell function forms
Mou887 May 16, 2025
952de28
apply: integrate with the sparse index
derrickstolee May 16, 2025
02ed855
git add: make -p/-i aware of sparse index
derrickstolee May 16, 2025
efab7dc
reset: integrate sparse index with --patch
derrickstolee May 16, 2025
ecf9ba2
p2000: add performance test for patch-mode commands
derrickstolee May 16, 2025
4bc0ba0
pack-objects: extract should_attempt_deltas()
derrickstolee May 16, 2025
70664d2
pack-objects: add --path-walk option
derrickstolee May 16, 2025
9fcfe12
pack-objects: update usage to match docs
derrickstolee May 16, 2025
3ce9e5f
p5313: add performance tests for --path-walk
derrickstolee May 16, 2025
861d4bc
pack-objects: introduce GIT_TEST_PACK_PATH_WALK
derrickstolee May 16, 2025
6e95bf8
t5538: add tests to confirm deltas in shallow pushes
derrickstolee May 16, 2025
5f71150
repack: add --path-walk option
derrickstolee May 16, 2025
4f7f571
pack-objects: enable --path-walk via config
derrickstolee May 16, 2025
4933152
scalar: enable path-walk during push via config
derrickstolee May 16, 2025
206a1bb
pack-objects: refactor path-walk delta phase
derrickstolee May 16, 2025
e539479
pack-objects: thread the path-based compression
derrickstolee May 16, 2025
4705889
path-walk: add new 'edge_aggressive' option
derrickstolee May 16, 2025
c178b02
pack-objects: allow --shallow and --path-walk
derrickstolee May 16, 2025
e426672
sequencer: make it clearer that commit descriptions are just comments
newren May 16, 2025
c6d5ca1
merge-ort: add a new mergeability_only option
newren May 16, 2025
29d7bf1
merge-tree: add a new --quiet flag
newren May 16, 2025
3749b8a
docs: remove unused mentoring mailing list reference
jayatheerthkulkarni May 18, 2025
a1dcf6b
docs: clarify cmd_psuh signature and explain UNUSED macro
jayatheerthkulkarni May 18, 2025
7649d31
docs: replace git_config to repo_config
jayatheerthkulkarni May 18, 2025
cddcee7
meson: reformat default options to workaround bug in `meson configure`
eli-schwartz May 19, 2025
f783b3f
meson.build: quote the GITWEBDIR build configuration
ramsay-jones May 19, 2025
bdb3843
meson: correct install location of YAML.pm
ramsay-jones May 19, 2025
46a626c
meson: correct path to system config/attribute files
ramsay-jones May 19, 2025
837f637
meson.build: correct setting of GIT_EXEC_PATH
ramsay-jones May 19, 2025
187ce02
configure.ac: upgrade to a compilation check for sysinfo
ramsay-jones May 19, 2025
0b8d22f
Merge branch 'pw/sequencer-reflog-use-after-free'
gitster May 19, 2025
4bb7254
Merge branch 'sc/bundle-uri-use-all-refs-in-bundle'
gitster May 19, 2025
ae0b60e
Merge branch 'ag/doc-send-email'
gitster May 19, 2025
effbd42
Merge branch 'bc/make-avoid-unneeded-rebuild-with-compdb-dir'
gitster May 19, 2025
6660b42
Merge branch 'ly/am-split-stgit-leakfix'
gitster May 19, 2025
9af978f
Merge branch 'rc/t1001-test-path-is-file'
gitster May 19, 2025
a9dcacb
Merge branch 'jk/oidmap-cleanup'
gitster May 19, 2025
2b33031
Merge branch 'ly/reftable-writer-leakfix'
gitster May 19, 2025
90eedab
Merge branch 'ps/reftable-read-block-perffix'
gitster May 19, 2025
8613c2b
The sixteenth batch
gitster May 19, 2025
9d60ba0
Merge branch 'yh/fix-non-themed-combobox'
j6t May 20, 2025
95262af
t5410: test receive-pack connectivity check
jltobler May 20, 2025
68cb0b5
builtin/receive-pack: add option to skip connectivity check
jltobler May 20, 2025
368d8c8
t: remove unexpected SANITIZE_LEAK variables
KarthikNayak May 20, 2025
2e60aab
name-hash: don't add sparse directories in threaded lazy init
alexandrfox May 21, 2025
bfb0fa7
Merge branch 'top-panel-search-highlight' of github.com:bnfour/gitk
j6t May 22, 2025
6e4fb00
pathspec: add match_leading_pathspec variant
jacob-keller May 21, 2025
00466c1
pathspec: add flag to indicate operation without repository
jacob-keller May 21, 2025
09fb155
diff --no-index: support limiting by pathspec
jacob-keller May 21, 2025
b103881
midx repack: avoid integer overflow on 32 bit systems
phillipwood May 22, 2025
f874c0e
midx repack: avoid potential integer overflow on 64 bit systems
phillipwood May 22, 2025
3aa98a6
midx: avoid negative array index
phillipwood May 22, 2025
70b128c
midx docs: clarify tie breaking
phillipwood May 22, 2025
e931288
Merge branch 'js/ci-build-win-in-release-mode'
gitster May 23, 2025
abb674a
Merge branch 'ly/pack-bitmap-load-leakfix'
gitster May 23, 2025
95c79ef
Merge branch 'ds/scalar-no-maintenance'
gitster May 23, 2025
5e9dea5
Merge branch 'ps/ci-gitlab-enable-msvc-meson-job'
gitster May 23, 2025
fb67f78
Merge branch 'ag/send-email-hostname-f'
gitster May 23, 2025
96d1278
Merge branch 'en/replay-wo-the-repository'
gitster May 23, 2025
a306da7
Merge branch 'lo/json-writer-docs'
gitster May 23, 2025
845c48a
The seventeenth batch
gitster May 23, 2025
2cc8c17
t4129: test that git apply warns for unexpected mode changes
markmentovai May 24, 2025
1d9a664
apply: set file mode when --reverse creates a deleted file
markmentovai May 24, 2025
3d26ec1
doc: convert git-checkout manpage to new style
jnavila May 25, 2025
13d5331
doc: convert git-merge manpage to new style
jnavila May 25, 2025
5f32132
doc: convert merge options to new synopsis format
jnavila May 25, 2025
cbbb3b2
doc: merge-options.adoc remove a misleading double negation
jnavila May 25, 2025
179f877
doc: convert merge strategies to synopsis format
jnavila May 25, 2025
90a837a
doc: switch merge config description to new synopsis format
jnavila May 25, 2025
1654396
doc: convert git-mergetool manpage to new synopsis style
jnavila May 25, 2025
d30c5cc
doc: convert git-mergetool options to new synopsis style
jnavila May 25, 2025
b983aaa
doc: convert git-switch manpage to new synopsis style
jnavila May 25, 2025
67cae84
cvsserver: remove unused escapeRefName function
opohorel May 26, 2025
dcb8974
Merge branch 'md/userdiff-bash-shell-function'
gitster May 27, 2025
2426a21
Merge branch 'ly/mailinfo-decode-header-leakfix'
gitster May 27, 2025
6261489
Merge branch 'ly/sequencer-rearrange-leakfix'
gitster May 27, 2025
b6fa7fb
Merge branch 'ly/commit-graph-fill-oids-leakfix'
gitster May 27, 2025
17d9dbd
Merge branch 'jk/no-funny-object-types'
gitster May 27, 2025
f545f40
Merge branch 'en/merge-tree-check'
gitster May 27, 2025
6b6c366
Merge branch 'rj/build-tweaks-part2'
gitster May 27, 2025
6e5fb39
Merge branch 'ds/sparse-apply-add-p'
gitster May 27, 2025
3950f8f
Merge branch 'jc/doc-synopsis-option-markup'
gitster May 27, 2025
d8b48af
Merge branch 'sj/use-mmap-to-check-packed-refs'
gitster May 27, 2025
f9cdaa2
Merge branch 'js/misc-fixes'
gitster May 27, 2025
80f49f2
Merge branch 'en/sequencer-comment-messages'
gitster May 27, 2025
21b0eb0
Merge branch 'es/meson-configure-build-options-fix'
gitster May 27, 2025
e8f4e14
Merge branch 'kj/my-first-contribution-updates'
gitster May 27, 2025
34673cd
The eighteenth batch
gitster May 27, 2025
e2de9b3
doc: stripspace: mention where the default comes from
LemmingAvalanche May 27, 2025
e2971d6
doc: config: mention core.commentChar on commit.cleanup
LemmingAvalanche May 27, 2025
37dd51a
doc: notes: split out options with negated forms
LemmingAvalanche May 27, 2025
6521ca8
doc: notes: rework --[no-]stripspace
LemmingAvalanche May 27, 2025
159c42a
doc: notes: remove stripspace discussion from other options
LemmingAvalanche May 27, 2025
5471b19
doc: notes: clearly state that --stripspace is the default
LemmingAvalanche May 27, 2025
6dcec89
doc: notes: point out copy --stdin use with argv
LemmingAvalanche May 27, 2025
45113e1
doc: notes: treat --stdin equally between copy/remove
LemmingAvalanche May 27, 2025
806337c
doc: notes: use stuck form throughout
LemmingAvalanche May 27, 2025
320572c
packfile: explain ordering of how we look up auxiliary pack files
pks-t May 28, 2025
1f34bf3
midx: stop repeatedly looking up nonexistent packfiles
pks-t May 28, 2025
b5afd0a
Merge branch 'kn/passing-leak-tests'
gitster May 28, 2025
b32feae
Git 2.50-rc0
gitster May 28, 2025
b4847a4
Merge branch 'jt/receive-pack-skip-connectivity-check'
gitster May 28, 2025
0b4c6ba
fast-export: --signed-commits is experimental
gitster May 28, 2025
61f8788
Merge branch 'pks-meson-support' of github.com:pks-t/git-gui
j6t May 29, 2025
bf5ce43
l10n: Add full Irish translation (ga.po)
aindriu80 May 15, 2025
49c4d5c
l10n: fr: v2.50 round 1
jnavila May 29, 2025
2140ff4
l10n: tr: Update Turkish translations for 2.50
bitigchi May 29, 2025
6ab5693
Merge branch 'master' of https://github.com/j6t/gitk
gitster May 29, 2025
fcfe606
Merge branch 'master' of https://github.com/j6t/git-gui
gitster May 29, 2025
f1228cd
reftable: make REFTABLE_UNUSED C99 compatible
carenas May 29, 2025
1c3c7b1
l10n: bg.po: Updated Bulgarian translation (5819t)
alshopov May 29, 2025
1d9526d
userdiff: add support for R programming language
rodrigorsdc May 29, 2025
cea9f55
doc: sparse-checkout: use consistent inline list style
onee-only May 30, 2025
200d747
docs: add credential helper for yahoo and link Google's sendgmail tool
AdityaGarg8 May 30, 2025
394c190
docs: improve formatting in git-send-email documentation
AdityaGarg8 May 30, 2025
6cae42c
docs: remove credential helper links for emails from gitcredentials
AdityaGarg8 May 30, 2025
9e68aab
docs: make the purpose of using app password for Gmail more clear in …
AdityaGarg8 May 30, 2025
277064b
Merge branch 'cb/reftable-unused-portability-fix'
gitster May 30, 2025
48a25bb
Merge branch 'pw/midx-repack-overflow-fix'
gitster May 30, 2025
8ddea85
Merge branch 'am/sparse-index-name-hash-fix'
gitster May 30, 2025
5cde0d7
Merge branch 'op/cvsserver-perl-warning'
gitster May 30, 2025
5d2812f
Merge branch 'mm/apply-reverse-mode-of-deleted-path'
gitster May 30, 2025
1a140c8
Merge branch 'kh/notes-doc-fixes'
gitster May 30, 2025
9a43523
Merge branch 'ps/midx-negative-packfile-cache'
gitster May 30, 2025
7014b55
A bit more topics for -rc1
gitster May 30, 2025
2d207ed
t: run tests from a normalized working directory
markmentovai May 28, 2025
7f1a09d
thread-utils.c: detect online CPU count on OpenBSD / NetBSD
brad0 May 9, 2025
23d30ea
doc: column: fix blank lines around block delimiters
LemmingAvalanche Jun 1, 2025
35c1d59
builtin/gc: correct physical memory detection for OpenBSD / NetBSD
brad0 Jun 1, 2025
d584219
config.mak.uname: update settings for OpenBSD
brad0 Jun 2, 2025
faac9d4
t: stop announcing prereqs
pks-t Jun 2, 2025
ddfcb9d
t: silence output from `test_create_repo()`
pks-t Jun 2, 2025
8445370
t9822: use prereq to check for ISO-8859-1 support
pks-t Jun 2, 2025
a1199a2
t983*: use prereq to check for Python-specific git-p4(1) support
pks-t Jun 2, 2025
d411d3d
t/test-lib: don't print shell traces to stdout
pks-t Jun 2, 2025
d4ea24b
t/test-lib: fix TAP format for BASH_XTRACEFD warning
pks-t Jun 2, 2025
d3d8c60
t7815: fix unexpectedly passing test on macOS
pks-t Jun 2, 2025
5e0752b
test-lib: fail on unexpectedly passing tests
pks-t Jun 2, 2025
b44e63f
meson: introduce kwargs variable for tests
pks-t Jun 2, 2025
c1bc974
meson: parse TAP output generated by our tests
pks-t Jun 2, 2025
4f91e60
Merge branch 'ja/doc-synopsis-style'
gitster Jun 2, 2025
bbe8a37
Merge branch 'jc/signed-fast-export-is-experimental'
gitster Jun 2, 2025
3624591
Merge branch 'wk/sparse-checkout-doc-fix'
gitster Jun 2, 2025
b07857f
A bit more before -rc1
gitster Jun 2, 2025
d5b3c38
fsck: ignore missing "refs" directory for linked worktrees
shejialuo Jun 2, 2025
db170e1
completion: make sed command that generates config-list.h portable.
collinfunk Jun 2, 2025
08c3aaf
MyFirstContribution: use struct repository in examples
lucasoshiro Jun 2, 2025
b257adb
MyFirstContribution: add walken.c to meson.build
lucasoshiro Jun 2, 2025
35ec1e2
compat: fixes for header handling with OpenBSD / NetBSD
brad0 Jun 2, 2025
8b34b6a
sequencer: replace error() with BUG() in update_squash_messages ()
brandb97 Jun 3, 2025
5dceb8b
BUG(): remove leading underscore of the format string
brandb97 Jun 3, 2025
c38b74f
Merge branch 'sj/ref-contents-check-fix'
gitster Jun 3, 2025
86c32bb
Merge branch 'kh/doc-column-markup-fix'
gitster Jun 3, 2025
d9a1e51
Merge branch 'bs/total-ram-bsd'
gitster Jun 3, 2025
2beccb3
Merge branch 'bs/online-cpus-bsd'
gitster Jun 3, 2025
0bd2d79
Git 2.50-rc1
gitster Jun 3, 2025
9fd3803
t1006: update 'run_tests' to test generic object specifiers
vdye Jun 2, 2025
aba1438
cat-file: add %(objectmode) atom
vdye Jun 2, 2025
b0b910e
cat-file.c: add batch handling for submodules
vdye Jun 2, 2025
aedebdb
builtin/fetch-pack: cleanup before return error
brandb97 Jun 4, 2025
7082da8
commit-graph: fix start_delayed_progress() leak
brandb97 Jun 4, 2025
6f11c42
curl: fix integer constant typechecks with curl_easy_setopt()
peff Jun 4, 2025
30325e2
curl: fix integer variable typechecks with curl_easy_setopt()
peff Jun 4, 2025
4558c8f
curl: fix symbolic constant typechecks with curl_easy_setopt()
peff Jun 4, 2025
0d42fbd
Merge branch 'bs/config-mak-openbsd'
gitster Jun 4, 2025
c807604
Merge branch 'jk/curl-easy-setopt-typefix' into js/curl-easy-setopt-t…
gitster Jun 5, 2025
52a86dd
t5410: avoid hangs in CI runs in the win+Meson test jobs
dscho Jun 5, 2025
14de3eb
Merge branch 'js/t5410-tee-hang-workaround'
gitster Jun 5, 2025
765f1db
git-gui: don't delete source files when auto_mkindex fails
j6t Jun 6, 2025
229d126
curl: pass `long` values where expected
dscho Jun 6, 2025
83cb7ae
Merge branch 'master' of https://github.com/j6t/git-gui
gitster Jun 6, 2025
642fd4f
l10n: po-id for 2.50
bagasme May 29, 2025
e2e2293
Merge branch 'cf/var-completion-obsd-fixes'
gitster Jun 7, 2025
c20471e
Merge branch 'bs/bsd-wo-specific-xopen-source'
gitster Jun 7, 2025
7558d89
Merge branch 'jk/curl-easy-setopt-typefix'
gitster Jun 7, 2025
8546b35
Merge branch 'js/curl-easy-setopt-typefix'
gitster Jun 7, 2025
8db3019
A bit more before -rc2
gitster Jun 7, 2025
427b538
Merge branch 'mm/test-in-absolute-home'
gitster Jun 9, 2025
4c0e625
Git 2.50-rc2
gitster Jun 9, 2025
6cd0701
doc: maintenance: fix linkgit syntax
LemmingAvalanche Jun 9, 2025
1963f32
Merge branch 'master' of github.com:aindriu80/git-po
jiangxin Jun 9, 2025
b0f9a65
Merge branch 'tr-l10n' of github.com:bitigchi/git-po
jiangxin Jun 9, 2025
104807f
Merge branch 'l10n_fr_v2.50' of github.com:jnavila/git
jiangxin Jun 9, 2025
f6709fb
Merge branch 'master' of github.com:alshopov/git-po
jiangxin Jun 9, 2025
a956283
Merge branch 'po-id' of github.com:bagasme/git-po
jiangxin Jun 9, 2025
aeac109
l10n: uk: add 2.50 translation
arkid15r Jun 11, 2025
b21f7dd
l10n: Update German translation
ralfth May 31, 2025
882efe0
ci(coverity): fix building on Windows
dscho Jun 11, 2025
3cc4fc1
ci(coverity): output the build log upon error
dscho Jun 11, 2025
1e2677f
RelNotes/2.50.0: fix typos & other improvements
LemmingAvalanche Jun 11, 2025
ee33b2e
Merge branch 'l10n-de-2.50' of https://github.com/ralfth/git
jiangxin Jun 12, 2025
36cbedb
Merge branch '2.50-uk-update' of https://github.com/arkid15r/git-ukra…
jiangxin Jun 12, 2025
9250359
l10n: zh_CN: updated translation for 2.50
dyrone Jun 11, 2025
cbf346a
l10n: zh_TW: update translation for Git 2.50
pan93412 Jun 12, 2025
1c62df0
Revert "bswap.h: add support for built-in bswap functions"
sebastianas Jun 11, 2025
9b662a5
Merge tag 'l10n-2.50.0-rnd1' of https://github.com/git-l10n/git-po
gitster Jun 12, 2025
5acfacc
build: sed portability fixes
gitster Jun 12, 2025
9edff09
Merge branch 'kh/maintenance-missing-tasks-docfix'
gitster Jun 12, 2025
b2bfd31
Merge tag 'l10n-2.50.0-v2' of https://github.com/git-l10n/git-po
gitster Jun 13, 2025
f2a6a1e
Merge branch 'jc/sed-build-fixes'
gitster Jun 13, 2025
e1f335f
Merge branch 'ss/revert-builtin-bswap-stuff'
gitster Jun 13, 2025
7bd3e53
Merge branch 'js/github-ci-win-coverity-fix'
gitster Jun 13, 2025
f1ca98f
Hopefully final bits before 2.50
gitster Jun 13, 2025
16bd9f2
Git 2.50
gitster Jun 16, 2025
60f9bc3
Merge branch 'lo/my-first-ow-doc-update'
gitster Jun 17, 2025
88134a8
Merge branch 'ds/path-walk-2'
gitster Jun 17, 2025
01148ca
Merge branch 'rc/userdiff-r'
gitster Jun 17, 2025
5b124e7
Merge branch 'ag/send-email-docs'
gitster Jun 17, 2025
4fd5b1d
Merge branch 'vd/cat-file-objectmode-update'
gitster Jun 17, 2025
870a042
Merge branch 'ly/sequencer-update-squash-is-fixup-only'
gitster Jun 17, 2025
1f622bb
Merge branch 'ly/do-not-localize-bug-messages'
gitster Jun 17, 2025
b5a135b
Merge branch 'ly/commit-graph-graph-write-leakfix'
gitster Jun 17, 2025
5e22d03
Merge branch 'ly/fetch-pack-leakfix'
gitster Jun 17, 2025
2024ab3
Merge branch 'jk/diff-no-index-with-pathspec'
gitster Jun 17, 2025
b1dc2e7
Merge branch 'ps/meson-tap-parse'
gitster Jun 17, 2025
f9aa0ee
Start 2.51 cycle, the first batch
gitster Jun 17, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 22 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
env:
CIRRUS_CLONE_DEPTH: 1

freebsd_task:
env:
GIT_PROVE_OPTS: "--timer --jobs 10"
GIT_TEST_OPTS: "--no-chain-lint --no-bin-wrappers"
MAKEFLAGS: "-j4"
DEFAULT_TEST_TARGET: prove
DEVELOPER: 1
freebsd_instance:
image_family: freebsd-13-4
memory: 2G
install_script:
pkg install -y gettext gmake perl5
create_user_script:
- pw useradd git
- chown -R git:git .
build_script:
- su git -c gmake
test_script:
- su git -c 'gmake DEFAULT_UNIT_TEST_TARGET=unit-tests-prove test unit-tests'
225 changes: 225 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
# This file is an example configuration for clang-format 5.0.
#
# Note that this style definition should only be understood as a hint
# for writing new code. The rules are still work-in-progress and does
# not yet exactly match the style we have in the existing code.

# Use tabs whenever we need to fill whitespace that spans at least from one tab
# stop to the next one.
#
# These settings are mirrored in .editorconfig. Keep them in sync.
UseTab: Always
TabWidth: 8
IndentWidth: 8
ContinuationIndentWidth: 8
ColumnLimit: 80

# C Language specifics
Language: Cpp

# Align parameters on the open bracket
# someLongFunction(argument1,
# argument2);
AlignAfterOpenBracket: Align

# Don't align consecutive assignments
# int aaaa = 12;
# int b = 14;
AlignConsecutiveAssignments: false

# Don't align consecutive declarations
# int aaaa = 12;
# double b = 3.14;
AlignConsecutiveDeclarations: false

# Align consecutive macro definitions.
AlignConsecutiveMacros: true

# Align escaped newlines as far left as possible
# #define A \
# int aaaa; \
# int b; \
# int cccccccc;
AlignEscapedNewlines: Left

# Align operands of binary and ternary expressions
# int aaa = bbbbbbbbbbb +
# cccccc;
AlignOperands: true

# Don't align trailing comments
# int a; // Comment a
# int b = 2; // Comment b
AlignTrailingComments: false

# By default don't allow putting parameters onto the next line
# myFunction(foo, bar, baz);
AllowAllParametersOfDeclarationOnNextLine: false

# Don't allow short braced statements to be on a single line
# if (a) not if (a) return;
# return;
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false

# By default don't add a line break after the return type of top-level functions
# int foo();
AlwaysBreakAfterReturnType: None

# Pack as many parameters or arguments onto the same line as possible
# int myFunction(int aaaaaaaaaaaa, int bbbbbbbb,
# int cccc);
BinPackArguments: true
BinPackParameters: true

# Add no space around the bit field
# unsigned bf:2;
BitFieldColonSpacing: None

# Attach braces to surrounding context except break before braces on function
# definitions.
# void foo()
# {
# if (true) {
# } else {
# }
# };
BreakBeforeBraces: Linux

# Break after operators
# int value = aaaaaaaaaaaaa +
# bbbbbb -
# ccccccccccc;
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: false

# Don't break string literals
BreakStringLiterals: false

# Use the same indentation level as for the switch statement.
# Switch statement body is always indented one level more than case labels.
IndentCaseLabels: false

# Indents directives before the hash. Each level uses a single space for
# indentation.
# #if FOO
# # include <foo>
# #endif
IndentPPDirectives: AfterHash
PPIndentWidth: 1

# Don't indent a function definition or declaration if it is wrapped after the
# type
IndentWrappedFunctionNames: false

# Align pointer to the right
# int *a;
PointerAlignment: Right

# Don't insert a space after a cast
# x = (int32)y; not x = (int32) y;
SpaceAfterCStyleCast: false

# No space is inserted after the logical not operator
SpaceAfterLogicalNot: false

# Insert spaces before and after assignment operators
# int a = 5; not int a=5;
# a += 42; a+=42;
SpaceBeforeAssignmentOperators: true

# Spaces will be removed before case colon.
# case 1: break; not case 1 : break;
SpaceBeforeCaseColon: false

# Put a space before opening parentheses only after control statement keywords.
# void f() {
# if (true) {
# f();
# }
# }
SpaceBeforeParens: ControlStatements

# Don't insert spaces inside empty '()'
SpaceInEmptyParentheses: false

# No space before first '[' in arrays
# int a[5][5]; not int a [5][5];
SpaceBeforeSquareBrackets: false

# No space will be inserted into {}
# while (true) {} not while (true) { }
SpaceInEmptyBlock: false

# The number of spaces before trailing line comments (// - comments).
# This does not affect trailing block comments (/* - comments).
SpacesBeforeTrailingComments: 1

# Don't insert spaces in casts
# x = (int32) y; not x = ( int32 ) y;
SpacesInCStyleCastParentheses: false

# Don't insert spaces inside container literals
# var arr = [1, 2, 3]; not var arr = [ 1, 2, 3 ];
SpacesInContainerLiterals: false

# Don't insert spaces after '(' or before ')'
# f(arg); not f( arg );
SpacesInParentheses: false

# Don't insert spaces after '[' or before ']'
# int a[5]; not int a[ 5 ];
SpacesInSquareBrackets: false

# Insert a space after '{' and before '}' in struct initializers
Cpp11BracedListStyle: false

# A list of macros that should be interpreted as foreach loops instead of as
# function calls. Taken from:
# git grep -h '^#define [^[:space:]]*for_\?each[^[:space:]]*(' |
# sed "s/^#define / - '/; s/(.*$/'/" | sort | uniq
ForEachMacros:
- 'for_each_builtin'
- 'for_each_string_list_item'
- 'for_each_ut'
- 'for_each_wanted_builtin'
- 'hashmap_for_each_entry'
- 'hashmap_for_each_entry_from'
- 'kh_foreach'
- 'kh_foreach_value'
- 'list_for_each'
- 'list_for_each_dir'
- 'list_for_each_prev'
- 'list_for_each_prev_safe'
- 'list_for_each_safe'
- 'strintmap_for_each_entry'
- 'strmap_for_each_entry'
- 'strset_for_each_entry'

# A list of macros that should be interpreted as conditionals instead of as
# function calls.
IfMacros:
- 'if_test'

# The maximum number of consecutive empty lines to keep.
MaxEmptyLinesToKeep: 1

# No empty line at the start of a block.
KeepEmptyLinesAtTheStartOfBlocks: false

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

# Don't sort #include's
SortIncludes: false
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[*]
charset = utf-8
insert_final_newline = true

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

[*.py]
indent_style = space
indent_size = 4

[COMMIT_EDITMSG]
max_line_length = 72
24 changes: 17 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
* whitespace=!indent,trail,space
*.[ch] whitespace=indent,trail,space diff=cpp
*.sh whitespace=indent,trail,space eol=lf
*.perl eol=lf
*.pm eol=lf
/Documentation/git-*.txt eol=lf
/command-list.txt eol=lf
/GIT-VERSION-GEN eol=lf
/mergetools/* eol=lf
*.sh whitespace=indent,trail,space text eol=lf
*.perl text eol=lf diff=perl
*.pl text eof=lf diff=perl
*.pm text eol=lf diff=perl
*.py text eol=lf diff=python
*.bat text eol=crlf
CODE_OF_CONDUCT.md -whitespace
/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.adoc conflict-marker-size=32
/Documentation/git-merge-file.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
5 changes: 4 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Git community does not use github.com for their contributions. Instead, we use
a mailing list ([email protected]) for code submissions, code
reviews, and bug reports.

Nevertheless, you can use [submitGit](http://submitgit.herokuapp.com/) to
Nevertheless, you can use [GitGitGadget](https://gitgitgadget.github.io/) to
conveniently send your Pull Requests commits to our mailing list.

Please read ["A note from the maintainer"](https://git.kernel.org/pub/scm/git/git.git/plain/MaintNotes?h=todo)
Expand All @@ -16,4 +16,7 @@ If you prefer video, then [this talk](https://www.youtube.com/watch?v=Q7i_qQW__q
might be useful to you as the presenter walks you through the contribution
process by example.

Or, you can follow the ["My First Contribution"](https://git-scm.com/docs/MyFirstContribution)
tutorial for another example of the contribution process.

Your friendly Git community!
7 changes: 5 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Thanks for taking the time to contribute to Git! Please be advised that the
Git community does not use github.com for their contributions. Instead, we use
a mailing list ([email protected]) for code submissions, code reviews, and
bug reports. Nevertheless, you can use submitGit to conveniently send your Pull
Requests commits to our mailing list.
bug reports. Nevertheless, you can use GitGitGadget (https://gitgitgadget.github.io/)
to conveniently send your Pull Requests commits to our mailing list.

For a single-commit pull request, please *leave the pull request description
empty*: your commit message itself should describe your changes.

Please read the "guidelines for contributing" linked above!
34 changes: 34 additions & 0 deletions .github/workflows/check-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: check-style

# Get the repository with all commits to ensure that we can analyze
# all of the commits contributed via the Pull Request.

on:
pull_request:
types: [opened, synchronize]

# Avoid unnecessary builds. Unlike the main CI jobs, these are not
# ci-configurable (but could be).
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
check-style:
env:
CC: clang
jobname: ClangFormat
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- run: ci/install-dependencies.sh

- name: git clang-format
continue-on-error: true
id: check_out
run: |
./ci/run-style-check.sh \
"${{github.event.pull_request.base.sha}}"
32 changes: 32 additions & 0 deletions .github/workflows/check-whitespace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: check-whitespace

# Get the repository with all commits to ensure that we can analyze
# all of the commits contributed via the Pull Request.
# Process `git log --check` output to extract just the check errors.
# Exit with failure upon white-space issues.

on:
pull_request:
types: [opened, synchronize]

# Avoid unnecessary builds. Unlike the main CI jobs, these are not
# ci-configurable (but could be).
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
check-whitespace:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: git log --check
id: check_out
run: |
./ci/check-whitespace.sh \
"${{github.event.pull_request.base.sha}}" \
"$GITHUB_STEP_SUMMARY" \
"https://github.com/${{github.repository}}"
Loading