Git Source Code Mirror. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Junio C Hamano d3b4e01def Sync with master 3 days ago
.github Merge branch 'js/windows-ci-path-fix' 3 days ago
Documentation Sync with master 3 days ago
block-sha1 block-sha1: drop trailing semicolon from macro definition 7 months ago
builtin Merge branch 'ab/pkt-line-cleanup' into next 3 days ago
ci Merge branch 'cb/ci-build-pedantic' into maint 1 week ago
compat Merge branch 'cm/save-restore-terminal' 3 days ago
contrib Merge branch 'js/retire-preserve-merges' 3 days ago
ewah use CALLOC_ARRAY 7 months ago
git-gui Merge https://github.com/prati0100/git-gui 8 months ago
gitk-git Merge remote-tracking branch 'paulus/master' into pm/gitk-update 1 year ago
gitweb Merge branch 'gh/gitweb-branch-sort' 1 month ago
mergetools mergetools/xxdiff: prevent segfaults from stopping difftool 1 week ago
negotiator use CALLOC_ARRAY 7 months ago
perl Merge branch 'ab/send-email-optim' 3 months ago
po l10n: sv.po: Update Swedish translation (5230t0f0u) 2 months ago
ppc *.[ch]: manually align parameter lists 3 years ago
refs Merge branch 'jt/no-abuse-alternate-odb-for-submodules' into next 1 week ago
sha1collisiondetection@855827c583 sha1dc: update from upstream 2 years ago
sha1dc Merge branch 'jk/lore-is-the-archive' 2 years ago
sha256 hash: implement and use a context cloning function 2 years ago
t Merge branch 'ab/test-lib-diff-cleanup' into next 3 days ago
templates hook: add sample template for push-to-checkout 1 year ago
trace2 Merge branch 'jh/builtin-fsmonitor-part1' 1 week ago
xdiff Merge branch 'ab/pickaxe-pcre2' 3 months ago
.cirrus.yml ci: update freebsd 12 cirrus job 2 months ago
.clang-format clang-format: use git grep to generate the ForEachMacros list 2 years ago
.editorconfig editorconfig: indent text files with tabs 2 years ago
.gitattributes CoC: explicitly take any whitespace breakage 10 months ago
.gitignore Merge branch 'js/retire-preserve-merges' 3 days ago
.gitmodules sha1dc: optionally use sha1collisiondetection as a submodule 4 years ago
.mailmap Add entry for Ramkumar Ramachandra 8 months ago
.travis.yml ci: remove GETTEXT_POISON jobs 9 months ago
.tsan-suppressions replace-object: make replace operations thread-safe 2 years ago
CODE_OF_CONDUCT.md CoC: update to version 2.0 + local changes 9 months ago
COPYING Update COPYING with GPLv2 with new FSF address 12 years ago
GIT-VERSION-GEN The first batch post 2.33 2 months ago
INSTALL INSTALL: mention that we need libcurl 7.19.4 or newer to build 1 month ago
LGPL-2.1 provide a copy of the LGPLv2.1 11 years ago
Makefile Merge branch 'js/retire-preserve-merges' 3 days ago
README.md ci: retire the Azure Pipelines definition 2 years ago
RelNotes Git 2.33.1 1 week ago
SECURITY.md SECURITY: describe how to report vulnerabilities 7 months ago
abspath.c abspath: add a function to resolve paths with missing components 10 months ago
aclocal.m4 configure: use AC_LANG_PROGRAM consistently 11 years ago
add-interactive.c *.h: move some *_INIT to designated initializers 3 weeks ago
add-interactive.h built-in add -p: respect the `interactive.singlekey` config setting 2 years ago
add-patch.c *.c static functions: add missing __attribute__((format)) 3 months ago
advice.c Merge branch 'ds/add-rm-with-sparse-index' 1 week ago
advice.h Merge branch 'en/pull-conflicting-options' into maint 1 week ago
alias.c alias.c: mark split_cmdline_strerror() strings for translation 3 years ago
alias.h headers: normalize the spelling of some header guards 3 years ago
alloc.c commit: move members graph_pos, generation to a slab 1 year ago
alloc.h object: drop parsed_object_pool->commit_count 1 year ago
apply.c Merge branch 'jc/trivial-threeway-binary-merge' into maint 1 week ago
apply.h apply.h: include missing header 2 years ago
archive-tar.c use CALLOC_ARRAY 7 months ago
archive-zip.c archive: read short blobs in archive.c::write_archive_entry() 1 year ago
archive.c archive: convert queue_directory to struct object_id 2 months ago
archive.h archive: expand only a single %(describe) per archive 7 months ago
attr.c attr: be careful about sparse directories 1 month ago
attr.h *: remove 'const' qualifier for struct index_state 6 months ago
banned.h banned.h: mark ctime_r() and asctime_r() as banned 11 months ago
base85.c base85.c: have SP around arithmetic operators 8 years ago
bisect.c bisect: simplify return code from bisect_checkout() 3 months ago
bisect.h bisect: combine args passed to find_bisection() 1 year ago
blame.c hash: provide per-algorithm null OIDs 6 months ago
blame.h blame: simplify 'setup_blame_bloom_data' interface 12 months ago
blob.c object: drop parsed_object_pool->commit_count 1 year ago
blob.h blob: allow lookup_blob to handle arbitrary repositories 3 years ago
bloom.c Merge branch 'ah/plugleaks' 6 months ago
bloom.h bloom: encode out-of-bounds filters as non-empty 1 year ago
branch.c advice: remove read uses of most global `advice_` variables 2 months ago
branch.h Merge branch 'nd/switch-and-restore' 2 years ago
builtin.h builtin.h: remove cmd_tar_tree() declaration 3 weeks ago
bulk-checkin.c pack-write: split up finish_tmp_packfile() function 1 month ago
bulk-checkin.h *.[ch]: manually align parameter lists 3 years ago
bundle.c bundle API: change "flags" to be "extra_index_pack_args" 1 month ago
bundle.h bundle API: change "flags" to be "extra_index_pack_args" 1 month ago
cache-tree.c Merge branch 'ab/fix-commit-error-message-upon-unwritable-object-store' into next 1 week ago
cache-tree.h cache-tree: extract subtree_pos() 9 months ago
cache.h Merge branch 'ab/fix-commit-error-message-upon-unwritable-object-store' into next 1 week ago
cbtree.c oidtree: a crit-bit tree for odb_loose_cache 4 months ago
cbtree.h cbtree.h: define cb_init() in terms of CBTREE_INIT 3 weeks ago
chdir-notify.c add chdir-notify API 4 years ago
chdir-notify.h add chdir-notify API 4 years ago
check-builtins.sh check-builtins: strip executable suffix $X when enumerating builtins 7 years ago
checkout.c *.[ch] *_INIT macros: use { 0 } for a "zero out" idiom 3 weeks ago
checkout.h *.[ch]: manually align parameter lists 3 years ago
chunk-format.c csum-file.h: increase hashfile buffer size 5 months ago
chunk-format.h chunk-format: create read chunk API 8 months ago
color.c color.c: alias RGB colors 8-15 to aixterm colors 2 years ago
color.h range-diff: use dim/bold cues to improve dual color mode 3 years ago
column.c Merge branch 'jk/strvec' 1 year ago
column.h *.[ch]: manually align parameter lists 3 years ago
combine-diff.c Merge branch 'ab/pickaxe-pcre2' 3 months ago
command-list.txt mailmap doc: create a new "gitmailmap(5)" man page 9 months ago
commit-graph.c Merge branch 'js/run-command-close-packs' 1 month ago
commit-graph.h revision: avoid hitting packfiles when commits are in commit-graph 2 months ago
commit-reach.c use CALLOC_ARRAY 7 months ago
commit-reach.h commit-graph: return 64-bit generation number 9 months ago
commit-slab-decl.h Merge branch 'sg/commit-graph-cleanups' into master 1 year ago
commit-slab-impl.h commit-slab: add a function to deep free entries on the slab 1 year ago
commit-slab.h commit-slab: add a function to deep free entries on the slab 1 year ago
commit.c advice: move advice.graftFileDeprecated squashing to commit.[ch] 2 months ago
commit.h advice: move advice.graftFileDeprecated squashing to commit.[ch] 2 months ago
common-main.c common-main: delay trace2 initialization 2 years ago
config.c config.c: remove unused git_config_key_is_valid() 3 weeks ago
config.h Merge branch 'ab/retire-git-config-key-is-valid' 2 weeks ago
config.mak.dev Makefile: restrict -Wpedantic and -Wno-pedantic-ms-format better 3 weeks ago
config.mak.in Merge branch 'jc/remove-export-from-config-mak-in' 9 years ago
config.mak.uname Merge branch 'ab/config-based-hooks-1' 1 week ago
configure.ac Remove support for v1 of the PCRE library 9 months ago
connect.c Merge branch 'ah/connect-parse-feature-v0-fix' into maint 1 week ago
connect.h Merge branch 'bc/sha-256-part-2' 1 year ago
connected.c Merge branch 'ps/fetch-optim' 1 month ago
connected.h connected: refactor iterator to return next object ID directly 2 months ago
convert.c convert: release strbuf to avoid leak 3 months ago
convert.h Merge branch 'ds/sparse-index-protections' 6 months ago
copy.c copy.c: use error_errno() 6 years ago
credential.c urlmatch.[ch]: add and use URLMATCH_CONFIG_INIT 3 weeks ago
credential.h *.h: move some *_INIT to designated initializers 4 months ago
csum-file.c use xopen() to handle fatal open(2) failures 2 months ago
csum-file.h Merge branch 'tb/midx-use-checksum' 3 months ago
ctype.c kwset: use unsigned char to store values with high-bit set 7 years ago
daemon.c Merge branch 'ab/pkt-line-cleanup' into next 3 days ago
date.c comments: avoid using the gender of our users 4 months ago
decorate.c use CALLOC_ARRAY 7 months ago
decorate.h *.[ch]: remove extern from function declarations using spatch 3 years ago
delta-islands.c oid_array: rename source file from sha1-array 2 years ago
delta-islands.h delta-islands: respect progress flag 2 years ago
delta.h *.[ch]: manually align parameter lists 3 years ago
detect-compiler build: catch clang that identifies itself as "$VENDOR clang" 3 months ago
diff-delta.c diff-delta: set size out-parameter to 0 for NULL delta 2 years ago
diff-lib.c Merge branch 'dd/diff-files-unmerged-fix' into maint 1 week ago
diff-merges.c diff-index: restore -c/--cc options handling 1 month ago
diff-merges.h diff-index: restore -c/--cc options handling 1 month ago
diff-no-index.c dir: introduce readdir_skip_dot_and_dotdot() helper 5 months ago
diff.c *.[ch] *_INIT macros: use { 0 } for a "zero out" idiom 3 weeks ago
diff.h diff.h: move pickaxe fields together again 5 months ago
diffcore-break.c diff: restrict when prefetching occurs 2 years ago
diffcore-delta.c diff.c: reduce implicit dependency on the_index 3 years ago
diffcore-order.c wildmatch: remove unused wildopts parameter 4 years ago
diffcore-pickaxe.c xdiff-interface: replace discard_hunk_line() with a flag 5 months ago
diffcore-rename.c Merge branch 'en/ort-perf-batch-15' 2 months ago
diffcore-rotate.c diff: --{rotate,skip}-to=<path> 8 months ago
diffcore.h merge-ort: store filepairs and filespecs in our mem_pool 3 months ago
dir-iterator.c dir-iterator: add flags parameter to dir_iterator_begin 2 years ago
dir-iterator.h dir-iterator: add flags parameter to dir_iterator_begin 2 years ago
dir.c Merge branch 'ds/add-rm-with-sparse-index' 1 week ago
dir.h Merge branch 'ds/sparse-index-ignored-files' 1 month ago
editor.c Merge branch 'cm/save-restore-terminal' 3 days ago
entry.c entry: show finer-grained counter in "Filtering content" progress line 1 month ago
entry.h *.h: move some *_INIT to designated initializers 3 weeks ago
environment.c Merge branch 'jk/ref-paranoia' 2 weeks ago
environment.h environment: make `getenv_safe()` a public function 9 months ago
exec-cmd.c strvec: rename struct fields 1 year ago
exec-cmd.h argv-array: rename to strvec 1 year ago
fetch-negotiator.c repo-settings.c: simplify the setup 4 weeks ago
fetch-negotiator.h repo-settings: create feature.experimental setting 2 years ago
fetch-pack.c fetch-pack: optimize loading of refs via commit graph 2 months ago
fetch-pack.h fetch: teach independent negotiation (no packfile) 6 months ago
fmt-merge-msg.c ssh signing: fmt-merge-msg tests & config parse 1 week ago
fmt-merge-msg.h Lib-ify fmt-merge-msg 2 years ago
fsck.c fsck: warn about symlinked dotfiles we'll open with O_NOFOLLOW 6 months ago
fsck.h fsck: warn about symlinked dotfiles we'll open with O_NOFOLLOW 6 months ago
fsmonitor.c Merge branch 'jh/fsmonitor-prework' 7 months ago
fsmonitor.h fsmonitor: add assertion that fsmonitor is valid to check_removed 7 months ago
fuzz-commit-graph.c commit-graph: pass a 'struct repository *' in more places 1 year ago
fuzz-pack-headers.c fuzz: add basic fuzz testing target. 3 years ago
fuzz-pack-idx.c fuzz: add fuzz testing for packfile indices. 3 years ago
generate-cmdlist.sh Fit to Plan 9's ANSI/POSIX compatibility layer 1 year ago
generate-configlist.sh help: move list_config_help to builtin/help 2 years ago
generate-hooklist.sh hook-list.h: add a generated list of hooks, like config-list.h 4 weeks ago
gettext.c *.c static functions: add missing __attribute__((format)) 3 months ago
gettext.h gettext: remove optional non-standard parens in N_() definition 2 months ago
git-add--interactive.perl Merge branch 'js/add-i-color-fix' 11 months ago
git-archimport.perl archimport: use safe_pipe_capture for user input 4 years ago
git-bisect.sh Merge branch 'mr/bisect-in-c-4' 4 weeks ago
git-compat-util.h Merge branch 'ab/repo-settings-cleanup' 2 weeks ago
git-curl-compat.h http: check CURLE_SSL_PINNEDPUBKEYNOTMATCH when emitting errors 4 weeks ago
git-cvsexportcommit.perl cvsexportcommit: do not run git programs in dashed form 1 year ago
git-cvsimport.perl git-cvsimport: port to SHA-256 1 year ago
git-cvsserver.perl git-cvsserver: protect against NULL in crypt(3) 1 month ago
git-difftool--helper.sh mergetool: break setup_tool out into separate initialization function 8 months ago
git-filter-branch.sh filter-branch: drop $_x40 glob 8 months ago
git-instaweb.sh git-instaweb: add Python builtin http.server support 3 years ago
git-merge-octopus.sh Merge branch 'ma/up-to-date' 4 years ago
git-merge-one-file.sh merge-one-file: compute empty blob object ID 4 years ago
git-merge-resolve.sh scripts: use "git foo" not "git-foo" 4 years ago
git-mergetool--lib.sh Merge branch 'sh/mergetool-hideresolved' 8 months ago
git-mergetool.sh mergetool: do not enable hideResolved by default 7 months ago
git-p4.py git-p4: fix failed submit by skip non-text data files 4 months ago
git-quiltimport.sh git-quiltimport: add --keep-non-patch option 3 years ago
git-request-pull.sh request-pull: warn if the remote object is not the same as the local one 2 years ago
git-send-email.perl Merge branch 'ab/send-email-config-fix' into maint 1 week ago
git-sh-i18n.sh tests: remove support for GIT_TEST_GETTEXT_POISON 9 months ago
git-sh-setup.sh git-sh-setup: remove unused "pull with rebase" message 1 month ago
git-submodule.sh Merge branch 'ab/unused-script-helpers' 4 weeks ago
git-svn.perl git-svn: drop support for `--preserve-merges` 1 month ago
git-web--browse.sh git-web--browse.sh: use the $( ... ) construct for command substitution 8 years ago
git.c Merge branch 'js/retire-preserve-merges' 3 days ago
git.rc mingw: embed a manifest to trick UAC into Doing The Right Thing 2 years ago
gpg-interface.c gpg-interface: fix leak of strbufs in get_ssh_key_fingerprint() 3 days ago
gpg-interface.h ssh signing: provide a textual signing_key_id 1 month ago
graph.c graph: improve grammar of "invalid color" error message 4 months ago
graph.h graph: move doc to graph.h and graph.c 2 years ago
grep.c grep: store grep_source buffer as const 4 weeks ago
grep.h Merge branch 'mt/grep-submodule-textconv' 1 week ago
hash-lookup.c oid_pos(): access table through const pointers 9 months ago
hash-lookup.h oid_pos(): access table through const pointers 9 months ago
hash.h oidtree: avoid unaligned access to crit-bit tree 2 months ago
hashmap.c use CALLOC_ARRAY 7 months ago
hashmap.h hashmap: provide deallocation function names 12 months ago
help.c help: move column config discovery to help.c library 4 weeks ago
help.h help: move column config discovery to help.c library 4 weeks ago
hex.c hex: print objects using the hash algorithm member 6 months ago
hook.c hook.c: add a hook_exists() wrapper and use it in bugreport.c 4 weeks ago
hook.h hook.c: add a hook_exists() wrapper and use it in bugreport.c 4 weeks ago
http-backend.c Merge branch 'jk/http-server-protocol-versions' 4 weeks ago
http-fetch.c http-fetch: allow custom index-pack args 8 months ago
http-push.c http: rename CURLOPT_FILE to CURLOPT_WRITEDATA 3 months ago
http-walker.c http: rename CURLOPT_FILE to CURLOPT_WRITEDATA 3 months ago
http.c Merge branch 'ab/designated-initializers-more' 3 days ago
http.h http: check CURLE_SSL_PINNEDPUBKEYNOTMATCH when emitting errors 4 weeks ago
ident.c Merge branch 'pw/rebase-i-more-options' 1 year ago
imap-send.c http: centralize the accounting of libcurl dependencies 1 month ago
iterator.h refs: introduce an iterator interface 5 years ago
json-writer.c *.c *_init(): define in terms of corresponding *_INIT macro 4 months ago
json-writer.h *.h: move some *_INIT to designated initializers 4 months ago
khash.h khash: clarify that allocations never fail 4 months ago
kwset.c Merge branch 'rs/copy-array' into maint 2 years ago
kwset.h kset.h, tar.h: add missing header guard to prevent multiple inclusion 2 years ago
levenshtein.c convert trivial cases to ALLOC_ARRAY 6 years ago
levenshtein.h Typofixes outside documentation area 12 years ago
line-log.c use CALLOC_ARRAY 7 months ago
line-log.h line-log: more responsive, incremental 'git log -L' 1 year ago
line-range.c use CALLOC_ARRAY 7 months ago
line-range.h line-range.c: remove implicit dependency on the_index 3 years ago
linear-assignment.c linear-assignment: fix potential out of bounds memory access 3 years ago
linear-assignment.h linear-assignment: a function to solve least-cost assignment problems 3 years ago
list-objects-filter-options.c help: fix small typo in error message 5 months ago
list-objects-filter-options.h list-objects: implement object type filter 6 months ago
list-objects-filter.c list-objects: implement object type filter 6 months ago
list-objects-filter.h list-objects: support filtering by tag and commit 6 months ago
list-objects.c list-objects.c: rename "traverse_trees_and_blobs" to "traverse_non_commits" 2 months ago
list-objects.h list-objects: consume sparse tree walk 3 years ago
list.h *.h: move some *_INIT to designated initializers 3 weeks ago
ll-merge.c ll_union_merge(): rename path_unused parameter 4 months ago
ll-merge.h merge: move doc to ll-merge.h 2 years ago
lockfile.c lockfile.c: introduce 'hold_lock_file_for_update_mode' 2 years ago
lockfile.h *.[ch] *_INIT macros: use { 0 } for a "zero out" idiom 3 weeks ago
log-tree.c Merge branch 'fs/ssh-signing' into fs/ssh-signing-fix 1 week ago
log-tree.h log-tree.h: remove unused function declarations 3 weeks ago
ls-refs.c Merge branch 'jk/ref-paranoia' 2 weeks ago
ls-refs.h serve.[ch]: don't pass "struct strvec *keys" to commands 3 months ago
mailinfo.c Merge branch 'ar/mailinfo-memcmp-to-skip-prefix' 4 months ago
mailinfo.h am: learn to process quoted lines that ends with CRLF 6 months ago
mailmap.c Merge branch 'ab/mailmap-leakfix' into maint 1 week ago
mailmap.h shortlog: remove unused(?) "repo-abbrev" feature 9 months ago
match-trees.c Always use oidread to read into struct object_id 6 months ago
mem-pool.c mem-pool: drop trailing semicolon from macro definition 7 months ago
mem-pool.h mem-pool: use consistent pool variable name 1 year ago
merge-blobs.c merge-blobs.c: remove implicit dependency on the_index 3 years ago
merge-blobs.h *.[ch]: manually align parameter lists 3 years ago
merge-ort-wrappers.c merge(s): apply consistent punctuation to "up to date" messages 6 months ago
merge-ort-wrappers.h merge-ort-wrappers: new convience wrappers to mimic the old merge API 1 year ago
merge-ort.c Merge branch 'jt/no-abuse-alternate-odb-for-submodules' into next 1 week ago
merge-ort.h merge-ort: avoid accidental API mis-use 5 months ago
merge-recursive.c Merge branch 'jt/no-abuse-alternate-odb-for-submodules' into next 1 week ago
merge-recursive.h merge-recursive: fix unclear and outright wrong comments 1 year ago
merge.c unpack-trees: introduce preserve_ignored to unpack_trees_options 3 weeks ago
mergesort.c mergesort: use ranks stack 3 weeks ago
mergesort.h mergesort: rename it to llist_mergesort() 10 years ago
midx.c Merge branch 'tb/repack-write-midx' 3 days ago
midx.h Merge branch 'tb/repack-write-midx' 3 days ago
name-hash.c Merge branch 'ds/sparse-index-protections' 6 months ago
notes-cache.c notes-cache.c: remove the_repository references 3 years ago
notes-cache.h notes-cache.c: remove the_repository references 3 years ago
notes-merge.c advice: remove read uses of most global `advice_` variables 2 months ago
notes-merge.h notes-merge.c: remove implicit dependency on the_index 3 years ago
notes-utils.c use CALLOC_ARRAY 7 months ago
notes-utils.h notes-utils.c: remove the_repository references 3 years ago
notes.c hash: provide per-algorithm null OIDs 6 months ago
notes.h Merge branch 'dl/format-patch-notes-config-fixup' 2 years ago
object-file.c Merge branch 'ab/fix-commit-error-message-upon-unwritable-object-store' into next 1 week ago
object-name.c advice: remove read uses of most global `advice_` variables 2 months ago
object-store.h Merge branch 'ab/fix-commit-error-message-upon-unwritable-object-store' into next 1 week ago
object.c Merge branch 'ab/fsck-unexpected-type' into next 1 week ago
object.h *.[ch] *_INIT macros: use { 0 } for a "zero out" idiom 3 weeks ago
oid-array.c oid_pos(): access table through const pointers 9 months ago
oid-array.h *.[ch] *_INIT macros: use { 0 } for a "zero out" idiom 3 weeks ago
oidmap.c hashmap: provide deallocation function names 12 months ago
oidmap.h hashmap: use *_entry APIs for iteration 2 years ago
oidset.c oidset: make oidset_size() an inline function 1 month ago
oidset.h oidset: make oidset_size() an inline function 1 month ago
oidtree.c oidtree: avoid unaligned access to crit-bit tree 2 months ago
oidtree.h oidtree: a crit-bit tree for odb_loose_cache 4 months ago
pack-bitmap-write.c pack-bitmap: read multi-pack bitmaps 2 months ago
pack-bitmap.c Merge branch 'tb/repack-write-midx' 3 days ago
pack-bitmap.h Merge branch 'tb/repack-write-midx' 3 days ago
pack-check.c Merge branch 'ab/fsck-unexpected-type' into next 1 week ago
pack-objects.c use CALLOC_ARRAY 7 months ago
pack-objects.h pack-objects: move static inline from a header to the sole consumer 5 months ago
pack-revindex.c Merge branch 'tb/reverse-midx' 7 months ago
pack-revindex.h pack-revindex.h: correct the time complexity descriptions 1 month ago
pack-write.c Merge branch 'tb/pack-finalize-ordering' into maint 1 week ago
pack.h pack-write: split up finish_tmp_packfile() function 1 month ago
packfile.c Merge branch 'rs/close-pack-leakfix' 3 weeks ago
packfile.h packfile: convert has_packed_and_bad() to object_id 1 month ago
pager.c pager: avoid setting COLUMNS when we're guessing its value 4 months ago
parallel-checkout.c pkt-line.[ch]: remove unused packet_read_line_buf() 6 days ago
parallel-checkout.h parallel-checkout: support progress displaying 6 months ago
parse-options-cb.c hash: provide per-algorithm null OIDs 6 months ago
parse-options.c Merge branch 'ab/parse-options-cleanup' into next 3 days ago
parse-options.h Merge branch 'ab/parse-options-cleanup' into next 3 days ago
patch-delta.c patch-delta: handle truncated copy parameters 3 years ago
patch-ids.c use CALLOC_ARRAY 7 months ago
patch-ids.h patch-ids: handle duplicate hashmap entries 9 months ago
path.c Merge branch 'lh/systemd-timers' 1 month ago
path.h *.[ch] *_INIT macros: use { 0 } for a "zero out" idiom 3 weeks ago
pathspec.c add: skip tracked paths outside sparse-checkout cone 3 weeks ago
pathspec.h Merge branch 'ds/gender-neutral-doc' 3 months ago
pkt-line.c Merge branch 'ab/pkt-line-cleanup' into next 3 days ago
pkt-line.h Merge branch 'ab/pkt-line-cleanup' into next 3 days ago
preload-index.c preload-index: log the number of lstat calls to trace2 8 months ago
pretty.c Merge branch 'fs/ssh-signing' into fs/ssh-signing-fix 1 week ago
pretty.h log: avoid loading decorations for userformats that don't need it 4 months ago
prio-queue.c prio-queue: add 'peek' operation 3 years ago
prio-queue.h *.[ch]: remove extern from function declarations using spatch 3 years ago
progress.c use CALLOC_ARRAY 7 months ago
progress.h progress.c: silence cgcc suggestion about internal linkage 2 years ago
promisor-remote.c Merge branch 'jt/partial-clone-submodule-1' 3 months ago
promisor-remote.h promisor-remote: support per-repository config 4 months ago
prompt.c interactive: explicitly `fflush` stdout before expecting input 2 years ago
prompt.h interactive: refactor code asking the user for interactive input 2 years ago
protocol-caps.c Merge branch 'ab/serve-cleanup' 1 month ago
protocol-caps.h serve.[ch]: don't pass "struct strvec *keys" to commands 3 months ago
protocol.c connect, protocol: log negotiated protocol version 2 months ago
protocol.h *.[ch]: remove extern from function declarations using spatch 3 years ago
prune-packed.c Lib-ify prune-packed 2 years ago
prune-packed.h Lib-ify prune-packed 2 years ago
quote.c ref-filter: --format=%(raw) support --perl 3 months ago
quote.h Merge branch 'zh/ref-filter-raw-data' 2 months ago
range-diff.c Merge branch 'rs/range-diff-avoid-segfault-with-I' into maint 1 week ago
range-diff.h Merge branch 'js/range-diff-one-side-only' 8 months ago
reachable.c object.h: add lookup_object_by_type() function 4 months ago
reachable.h *.[ch]: manually align parameter lists 3 years ago
read-cache.c Merge branch 'rs/make-verify-path-really-verify-again' 3 days ago
rebase-interactive.c rebase: remove a no-longer-used function 1 month ago
rebase-interactive.h rebase: remove a no-longer-used function 1 month ago
rebase.c pull: remove support for `--rebase=preserve` 1 month ago
rebase.h pull: remove support for `--rebase=preserve` 1 month ago
ref-filter.c Merge branch 'ab/designated-initializers' 2 weeks ago
ref-filter.h ref-filter: drop broken-ref code entirely 3 weeks ago
reflog-walk.c refs: make repo_dwim_log() accept a NULL oid 2 months ago
reflog-walk.h *.[ch]: manually align parameter lists 3 years ago
refs.c Merge branch 'jt/no-abuse-alternate-odb-for-submodules' into next 1 week ago
refs.h Merge branch 'jk/ref-paranoia' 2 weeks ago
refspec.c Merge branch 'fc/atmark-in-refspec' 10 months ago
refspec.h Merge branch 'sb/clone-origin' 12 months ago
remote-curl.c Merge branch 'ab/pkt-line-cleanup' into next 3 days ago
remote.c *.[ch] *_INIT macros: use { 0 } for a "zero out" idiom 3 weeks ago
remote.h Merge branch 'jt/clone-unborn-head' 8 months ago
replace-object.c replace-object: make replace operations thread-safe 2 years ago
replace-object.h replace-object: make replace operations thread-safe 2 years ago
repo-settings.c repository.h: don't use a mix of int and bitfields 4 weeks ago
repository.c Merge branch 'jt/add-submodule-odb-clean-up' 2 weeks ago
repository.h Merge branch 'ab/repo-settings-cleanup' 2 weeks ago
rerere.c dir: introduce readdir_skip_dot_and_dotdot() helper 5 months ago
rerere.h rerere.c: remove the_repository references 3 years ago
reset.c Change unpack_trees' 'reset' flag into an enum 3 weeks ago
reset.h reset: extract reset_head() from rebase 2 years ago
resolve-undo.c Merge branch 'ds/sparse-index-protections' 6 months ago
resolve-undo.h *.[ch]: remove extern from function declarations using spatch 3 years ago
revision.c Merge branch 'ab/designated-initializers' 2 weeks ago
revision.h Merge branch 'jt/add-submodule-odb-clean-up' 2 weeks ago
run-command.c Merge branch 'jh/builtin-fsmonitor-part1' 1 week ago
run-command.h Merge branch 'jh/builtin-fsmonitor-part1' 1 week ago
send-pack.c Merge branch 'jt/push-negotiation-fixes' into maint 1 week ago
send-pack.h Add missing includes and forward declarations 3 years ago
sequencer.c Merge branch 'js/retire-preserve-merges' 3 days ago
sequencer.h Merge branch 'js/retire-preserve-merges' 3 days ago
serve.c serve: reject commands used as capabilities 1 month ago
serve.h serve.[ch]: remove "serve_options", split up --advertise-refs code 3 months ago
server-info.c *.c static functions: add missing __attribute__((format)) 3 months ago
setup.c setup: use xopen and xdup in sanitize_stdfds 1 month ago
sh-i18n--envsubst.c builtins + test helpers: use return instead of exit() in cmd_* 5 months ago
sha1dc_git.c hex: drop sha1_to_hex() 2 years ago
sha1dc_git.h sha1dc_git.h: re-arrange an ifdef chain for a subsequent change 4 years ago
shallow.c commit_graft_pos(): take an oid instead of a bare hash 9 months ago
shallow.h *.h: move some *_INIT to designated initializers 3 weeks ago
shell.c builtins + test helpers: use return instead of exit() in cmd_* 5 months ago
shortlog.h shortlog: remove unused(?) "repo-abbrev" feature 9 months ago
sideband.c sideband: don't lose clear-to-eol at packet boundary 4 months ago
sideband.h sideband: diagnose more sideband anomalies 12 months ago
sigchain.c Replace all die("BUG: ...") calls by BUG() ones 4 years ago
sigchain.h sigchain: move doc to sigchain.h 2 years ago
simple-ipc.h Merge branch 'jh/builtin-fsmonitor-part1' 1 week ago
sparse-index.c Merge branch 'ds/sparse-index-ignored-files' 1 month ago
sparse-index.h sparse-index: add SPARSE_INDEX_MEMORY_ONLY flag 1 month ago
split-index.c split-index: use oideq instead of memcmp to compare object_id's 4 months ago
split-index.h split-index: convert struct split_index to object_id 4 years ago
stable-qsort.c Move git_sort(), a stable sort, into into libgit.a 2 years ago
strbuf.c merge-{ort,recursive}: remove add_submodule_odb() 2 weeks ago
strbuf.h Merge branch 'jt/no-abuse-alternate-odb-for-submodules' into next 1 week ago
streaming.c object-file.c: stop dying in parse_loose_header() 3 weeks ago
streaming.h streaming: allow open_istream() to handle any repo 2 years ago
string-list.c string-list.[ch]: remove string_list_init() compatibility function 3 weeks ago
string-list.h string-list.[ch]: remove string_list_init() compatibility function 3 weeks ago
strmap.c *.c *_init(): define in terms of corresponding *_INIT macro 4 months ago
strmap.h strmap: make callers of strmap_remove() to call it in void context 10 months ago
strvec.c *.c *_init(): define in terms of corresponding *_INIT macro 4 months ago
strvec.h *.h: move some *_INIT to designated initializers 3 weeks ago
sub-process.c strvec: convert remaining callers away from argv_array name 1 year ago
sub-process.h hashmap_entry: remove first member requirement from docs 2 years ago
submodule-config.c submodule-config: pass repo upon blob config read 1 month ago
submodule-config.h submodule-config.h: remove unused SUBMODULE_INIT macro 3 weeks ago
submodule.c Merge branch 'jt/no-abuse-alternate-odb-for-submodules' into next 1 week ago
submodule.h *.h: move some *_INIT to designated initializers 3 weeks ago
symlinks.c checkout: don't follow symlinks when removing entries 7 months ago
tag.c gpg-interface: improve interface for parsing tags 8 months ago
tag.h tag: factor out get_tagged_oid() 2 years ago
tar.h kset.h, tar.h: add missing header guard to prevent multiple inclusion 2 years ago
tempfile.c tempfile.c: introduce 'create_tempfile_mode' 2 years ago
tempfile.h tempfile.c: introduce 'create_tempfile_mode' 2 years ago
thread-utils.c thread-utils: macros to unconditionally compile pthreads API 3 years ago
thread-utils.h thread-utils: macros to unconditionally compile pthreads API 3 years ago
tmp-objdir.c packfile: prepare for the existence of '*.rev' files 9 months ago
tmp-objdir.h tmp-objdir: introduce API for temporary object directories 5 years ago
trace.c http, imap-send: stop using CURLOPT_VERBOSE 1 year ago
trace.h *.h: move some *_INIT to designated initializers 3 weeks ago
trace2.c trace2: add trace2_child_ready() to report on background children 1 month ago
trace2.h Merge branch 'jh/builtin-fsmonitor-part1' 1 week ago
trailer.c trailer: add new .cmd config option 6 months ago
trailer.h pretty format %(trailers): add a "key_value_separator" 11 months ago
transport-helper.c transport: use designated initializers 3 months ago
transport-internal.h transport: rename "fetch" in transport_vtable to "fetch_refs" 3 months ago
transport.c hook.[ch]: move find_hook() from run-command.c to hook.c 4 weeks ago
transport.h *.h: move some *_INIT to designated initializers 3 weeks ago
tree-diff.c tree-diff: fix leak when not HAVE_ALLOCA_H 1 month ago
tree-walk.c Always use oidread to read into struct object_id 6 months ago
tree-walk.h tree-walk.c: break circular dependency with unpack-trees 2 years ago
tree.c tree.h API: simplify read_tree_recursive() signature 7 months ago
tree.h tree.h API: simplify read_tree_recursive() signature 7 months ago
unicode-width.h unicode: update the width tables to Unicode 14 1 month ago
unimplemented.sh unimplemented.sh: use the $( ... ) construct for command substitution 6 years ago
unix-socket.c unix-socket: disallow chdir() when creating unix domain sockets 7 months ago
unix-socket.h unix-socket: disallow chdir() when creating unix domain sockets 7 months ago
unix-stream-server.c unix-stream-server: create unix domain socket under lock 7 months ago
unix-stream-server.h unix-stream-server: create unix domain socket under lock 7 months ago
unpack-trees.c Merge branch 'ab/unpack-trees-leakfix' into next 1 week ago
unpack-trees.h Change unpack_trees' 'reset' flag into an enum 3 weeks ago
upload-pack.c Merge branch 'ab/serve-cleanup' 1 month ago
upload-pack.h serve.[ch]: remove "serve_options", split up --advertise-refs code 3 months ago
url.c Fix spelling errors in code comments 2 years ago
url.h list-objects-filter: implement composite filters 2 years ago
urlmatch.c credential: handle `credential.<partial-URL>.<key>` again 2 years ago
urlmatch.h urlmatch.[ch]: add and use URLMATCH_CONFIG_INIT 3 weeks ago
usage.c usage.c: don't copy/paste the same comment three times 6 months ago
userdiff.c userdiff-cpp: learn the C++ spaceship operator 2 weeks ago
userdiff.h userdiff: add and use for_each_userdiff_driver() 7 months ago
utf8.c t0060: test ntfs/hfs-obscured dotfiles 6 months ago
utf8.h t0060: test ntfs/hfs-obscured dotfiles 6 months ago
varint.c cleanups: ensure that git-compat-util.h is included first 7 years ago
varint.h *.[ch]: remove extern from function declarations using spatch 3 years ago
version.c version --build-options: report commit, too, if possible 4 years ago
version.h version --build-options: report commit, too, if possible 4 years ago
versioncmp.c config: don't include config.h by default 4 years ago
walker.c lookup_unknown_object(): take a repository argument 6 months ago
walker.h remote-curl: show progress for fetches over dumb HTTP 2 years ago
wildmatch.c wildmatch: change behavior of "foo**bar" in WM_PATHNAME mode 3 years ago
wildmatch.h wildmatch: change behavior of "foo**bar" in WM_PATHNAME mode 3 years ago
worktree.c *.c static functions: add missing __attribute__((format)) 3 months ago
worktree.h worktree: teach worktree to lazy-load "prunable" reason 9 months ago
wrap-for-bin.sh Make running git under other debugger-like programs easy 4 years ago
wrapper.c wrapper.c: add x{un,}setenv(), and use xsetenv() in environment.c 4 weeks ago
write-or-die.c pkt-line: add stdio packet write functions 2 months ago
ws.c Merge branch 'nd/the-index' 3 years ago
wt-status.c advice: remove read uses of most global `advice_` variables 2 months ago
wt-status.h status: skip sparse-checkout percentage with sparse-index 3 months ago
xdiff-interface.c Merge branch 'ab/pickaxe-pcre2' 3 months ago
xdiff-interface.h xdiff-interface: replace discard_hunk_line() with a flag 5 months ago
zlib.c Replace all die("BUG: ...") calls by BUG() ones 4 years ago

README.md

Build status

Git - fast, scalable, distributed revision control system

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.

Git is an Open Source project covered by the GNU General Public License version 2 (some parts of it are under different licenses, compatible with the GPLv2). It was originally written by Linus Torvalds with help of a group of hackers around the net.

Please read the file INSTALL for installation instructions.

Many Git online resources are accessible from https://git-scm.com/ including full documentation and Git related tools.

See Documentation/gittutorial.txt to get started, then see Documentation/giteveryday.txt for a useful minimum set of commands, and Documentation/git-<commandname>.txt for documentation of each command. If git has been correctly installed, then the tutorial can also be read with man gittutorial or git help tutorial, and the documentation of each command with man git-<commandname> or git help <commandname>.

CVS users may also want to read Documentation/gitcvs-migration.txt (man gitcvs-migration or git help cvs-migration if git is installed).

The user discussion and development of Git take place on the Git mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to git@vger.kernel.org (read Documentation/SubmittingPatches for instructions on patch submission). To subscribe to the list, send an email with just "subscribe git" in the body to majordomo@vger.kernel.org. The mailing list archives are available at https://lore.kernel.org/git/, http://marc.info/?l=git and other archival sites.

Issues which are security relevant should be disclosed privately to the Git Security mailing list git-security@googlegroups.com.

The maintainer frequently sends the "What's cooking" reports that list the current status of various development topics to the mailing list. The discussion following them give a good reference for project status, development direction and remaining tasks.

The name "git" was given by Linus Torvalds when he wrote the very first version. He described the tool as "the stupid content tracker" and the name as (depending on your mood):

  • random three-letter combination that is pronounceable, and not actually used by any common UNIX command. The fact that it is a mispronunciation of "get" may or may not be relevant.
  • stupid. contemptible and despicable. simple. Take your pick from the dictionary of slang.
  • "global information tracker": you're in a good mood, and it actually works for you. Angels sing, and a light suddenly fills the room.
  • "goddamn idiotic truckload of sh*t": when it breaks