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