A fork of Git containing Microsoft-specific patches.
Перейти к файлу
Lessley Dennington 0e35ce97ed
release: move secrets to workflow environment (#584)
Migrate applicable secrets to a new 'release' workflow environment. This
is a security measure to help ensure secrets cannot be accessed by those
without proper permissions.

An example of a passing `build-git-installers` workflow with these
changes can be found
[here](https://github.com/ldennington/git/actions/runs/5182147378) (I
set up my fork with the same migrated secret values as this repo).

Note that the old actions secrets will be left in this repo until the
next successful release, at which point they can be safely removed.
2023-06-06 12:22:16 -06:00
.github release: move secrets to workflow environment 2023-06-06 10:16:58 -06:00
Documentation Merge branch 'sparse-index-stuff' 2023-06-01 10:54:00 -07:00
block-sha1 Makefile + hash.h: remove PPC_SHA1 implementation 2022-08-31 14:37:31 -07:00
builtin reset: fix mixed reset when using virtual filesystem 2023-06-01 10:53:58 -07:00
ci Merge branch 'ci-fixes' 2023-06-01 10:14:25 -06:00
compat trace2: refactor setting process starting time 2023-06-01 10:53:51 -07:00
contrib scalar: adjust documentation to the microsoft/git fork 2023-06-01 10:53:56 -07:00
ewah alloc.h: move ALLOC_GROW() functions from cache.h 2023-02-23 17:25:28 -08:00
git-gui Merge branch 'git-gui-askyesno' 2023-06-01 10:14:32 -06:00
gitk-git gitk: make the "list references" default window width wider 2023-06-01 10:14:32 -06:00
gitweb Merge branch 'jr/gitweb-title-shortening' 2022-08-05 15:52:14 -07:00
mergetools mergetools: vimdiff: simplify tabfirst 2022-08-10 12:39:39 -07:00
negotiator Merge branch 'hx/negotiator-non-recursive' 2023-05-10 10:23:28 -07:00
oss-fuzz treewide: ensure one of the appropriate headers is sourced first 2023-02-23 17:25:28 -08:00
perl Git.pm: trust rev-parse to find bare repositories 2022-10-22 16:39:48 -07:00
po l10n: zh_TW.po: Git 2.41.0 2023-06-01 00:53:09 +08:00
refs Introduce helper to create symlinks that knows about index_state 2023-06-01 10:14:41 -06:00
reftable reftable: ensure git-compat-util.h is the first (indirect) include 2023-04-24 12:47:33 -07:00
sha1collisiondetection@855827c583 sha1dc: update from upstream 2019-05-14 16:45:01 +09:00
sha1dc Merge branch 'jk/lore-is-the-archive' 2019-12-06 15:09:23 -08:00
sha256 sha256: add support for Nettle 2022-07-10 14:43:34 -07:00
t Merge branch 'sparse-index-stuff' 2023-06-01 10:54:00 -07:00
templates send-email: export patch counters in validate environment 2023-04-14 10:41:15 -07:00
trace2 trace2:gvfs:experiment: increase default event depth for unpack-tree data 2023-06-01 10:53:51 -07:00
xdiff xdiff: mark unused parameter in xdl_call_hunk_func() 2022-12-13 22:16:23 +09:00
.cirrus.yml ci: update Cirrus-CI image to FreeBSD 12.3 2022-05-25 08:47:11 -07:00
.clang-format clang-format: use git grep to generate the ForEachMacros list 2019-06-04 14:50:40 -07:00
.editorconfig editorconfig: indent text files with tabs 2020-01-06 08:46:32 -08:00
.gitattributes gitattributes: mark .png files as binary 2023-06-01 10:14:41 -06:00
.gitignore Merge pull request #329: Add `git update-microsoft-git` 2023-06-01 10:54:00 -07:00
.gitmodules sha1dc: optionally use sha1collisiondetection as a submodule 2017-07-03 10:09:34 -07:00
.mailmap mailmap: change primary address for Emily Shaffer 2023-04-07 14:33:52 -07:00
.tsan-suppressions replace-object: make replace operations thread-safe 2020-01-17 13:52:14 -08:00
ARCHITECTURE.md Describe Git for Windows' architecture [no ci] 2023-06-01 10:14:44 -06:00
BRANCHES.md BRANCHES.md: Add explanation of branches and using forks 2023-06-01 10:53:50 -07:00
CODE_OF_CONDUCT.md Modify the Code of Conduct for Git for Windows 2023-06-01 10:14:44 -06:00
CONTRIBUTING.md CONTRIBUTING.md: add guide for first-time contributors 2023-06-01 10:14:44 -06:00
COPYING Update COPYING with GPLv2 with new FSF address 2010-01-17 14:29:37 -08:00
GIT-VERSION-GEN gvfs: ensure that the version is based on a GVFS tag 2023-06-01 10:53:48 -07:00
INSTALL Sync with 2.31.8 2023-04-17 21:15:49 +02:00
LGPL-2.1 provide a copy of the LGPLv2.1 2011-05-19 18:23:17 -07:00
Makefile Merge pull request #371 from dscho/run-scalar-functional-tests-and-fix-built-in-fsmonitor 2023-06-01 10:54:00 -07:00
README.md Adjust README.md for microsoft/git 2023-06-01 10:53:54 -07:00
RelNotes Git 2.40.1 2023-04-17 21:16:10 +02:00
SECURITY.md SECURITY.md: document Git for Windows' policies 2023-06-01 10:14:45 -06:00
abspath.c abspath: make strip_last_path_component() global 2023-06-01 10:53:56 -07:00
abspath.h abspath: make strip_last_path_component() global 2023-06-01 10:53:56 -07:00
aclocal.m4 configure: use AC_LANG_PROGRAM consistently 2011-02-14 10:55:15 -08:00
add-interactive.c commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
add-interactive.h built-in add -p: implement the "worktree" patch modes 2020-02-17 10:40:52 +01:00
add-patch.c editor: move editor-related functions and declarations into common file 2023-04-11 08:52:10 -07:00
advice.c Merge branch 'deprecate-core.useBuiltinFSMonitor' 2023-06-01 10:14:49 -06:00
advice.h Merge branch 'deprecate-core.useBuiltinFSMonitor' 2023-06-01 10:14:49 -06:00
alias.c rebase -m: fix serialization of strategy options 2023-04-10 09:53:19 -07:00
alias.h rebase -m: fix serialization of strategy options 2023-04-10 09:53:19 -07:00
alloc.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
alloc.h alloc.h: move ALLOC_GROW() functions from cache.h 2023-02-23 17:25:28 -08:00
apply.c sparse-checkout: avoid writing entries with the skip-worktree bit 2023-06-01 10:53:49 -07:00
apply.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
archive-tar.c git-zlib: move declarations for git-zlib functions from cache.h 2023-04-11 08:52:10 -07:00
archive-zip.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
archive.c Merge branch 'jc/attr-source-tree' 2023-05-17 10:11:41 -07:00
archive.h treewide: reduce includes of cache.h in other headers 2023-04-11 08:52:11 -07:00
attr.c Merge branch 'jc/attr-source-tree' 2023-05-17 10:11:41 -07:00
attr.h attr: teach "--attr-source=<tree>" global option to "git" 2023-05-06 14:34:09 -07:00
azure-pipelines.yml azure-pipeline: run static-analysis on jammy 2023-06-01 10:14:15 -06:00
banned.h banned.h: mark `strtok()` and `strtok_r()` as banned 2023-04-27 08:51:11 -07:00
base85.c base85.h: move declarations for base85.c functions from cache.h 2023-04-24 12:47:32 -07:00
base85.h base85.h: move declarations for base85.c functions from cache.h 2023-04-24 12:47:32 -07:00
bisect.c treewide: remove cache.h inclusion due to object.h changes 2023-04-11 08:52:10 -07:00
bisect.h bisect: output state before we are ready to compute bisection 2022-05-11 12:35:11 -07:00
blame.c Merge branch 'jk/blame-fake-commit-label' 2023-05-02 10:13:35 -07:00
blame.h object.h: stop depending on cache.h; make cache.h depend on object.h 2023-02-23 17:25:29 -08:00
blob.c object.h: stop depending on cache.h; make cache.h depend on object.h 2023-02-23 17:25:29 -08:00
blob.h blob: drop unused parts of parse_blob_buffer() 2022-12-13 22:16:22 +09:00
bloom.c commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
bloom.h bloom: encode out-of-bounds filters as non-empty 2020-09-17 21:55:50 -07:00
branch.c Merge branch 'rj/branch-unborn-in-other-worktrees' 2023-05-15 13:59:03 -07:00
branch.h branch: test for failures while renaming branches 2023-03-27 09:40:14 -07:00
builtin.h update-microsoft-git: create barebones builtin 2023-06-01 10:53:54 -07:00
bulk-checkin.c treewide: remove double forward declaration of read_in_full 2023-04-11 08:52:11 -07:00
bulk-checkin.h treewide: remove unnecessary cache.h inclusion from a few headers 2023-03-21 10:56:50 -07:00
bundle-uri.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
bundle-uri.h clone: set fetch.bundleURI if appropriate 2023-01-31 08:57:48 -08:00
bundle.c treewide: remove cache.h inclusion due to object.h changes 2023-04-11 08:52:10 -07:00
bundle.h treewide: remove unnecessary cache.h inclusion from a few headers 2023-03-21 10:56:50 -07:00
cache-tree.c trace2:gvfs:experiment: add region to cache_tree_fully_valid() 2023-06-01 10:53:51 -07:00
cache-tree.h object.h: stop depending on cache.h; make cache.h depend on object.h 2023-02-23 17:25:29 -08:00
cache.h unpack-trees:virtualfilesystem: Improve efficiency of clear_ce_flags 2023-06-01 10:53:53 -07:00
cbtree.c treewide: ensure one of the appropriate headers is sourced first 2023-02-23 17:25:28 -08:00
cbtree.h treewide: remove unnecessary git-compat-util.h includes in headers 2023-02-23 17:25:28 -08:00
chdir-notify.c treewide: reduce includes of cache.h in other headers 2023-04-11 08:52:11 -07:00
chdir-notify.h add chdir-notify API 2018-03-30 12:49:57 -07:00
check-builtins.sh check-builtins: strip executable suffix $X when enumerating builtins 2015-02-05 12:03:27 -08:00
checkout.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
checkout.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
chunk-format.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
chunk-format.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
color.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
color.h color: allow colors to be prefixed with "reset" 2021-10-28 09:37:18 -07:00
column.c treewide: remove cache.h inclusion due to pager.h changes 2023-04-11 08:52:11 -07:00
column.h *.[ch]: manually align parameter lists 2019-05-05 15:20:10 +09:00
combine-diff.c commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
command-list.txt version: fix builtin linking & documentation 2022-09-19 17:28:25 -07:00
commit-graph.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
commit-graph.h Merge branch 'ds/ahead-behind' 2023-04-06 13:38:21 -07:00
commit-reach.c Merge branch 'ab/remove-implicit-use-of-the-repository' 2023-04-06 13:38:30 -07:00
commit-reach.h Merge branch 'ab/remove-implicit-use-of-the-repository' 2023-04-06 13:38:30 -07:00
commit-slab-decl.h Merge branch 'sg/commit-graph-cleanups' into master 2020-07-30 13:20:30 -07:00
commit-slab-impl.h treewide: remove unnecessary git-compat-util.h includes in headers 2023-02-23 17:25:28 -08:00
commit-slab.h commit-slab: add a function to deep free entries on the slab 2020-06-08 12:28:49 -07:00
commit.c gvfs: add the feature that blobs may be missing 2023-06-01 10:53:49 -07:00
commit.h commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
common-main.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
config.c Merge branch 'scalar' 2023-06-01 10:53:55 -07:00
config.h Add virtual file system settings and hook proc 2023-06-01 10:53:50 -07:00
config.mak.dev mimalloc: offer a build-time option to enable it 2023-06-01 10:14:06 -06:00
config.mak.in Merge branch 'jc/remove-export-from-config-mak-in' 2013-04-01 09:00:02 -07:00
config.mak.uname mingw: add a Makefile target to copy test artifacts 2023-06-01 10:14:43 -06:00
configure.ac Makefile + hash.h: remove PPC_SHA1 implementation 2022-08-31 14:37:31 -07:00
connect.c Merge branch 'jk/protocol-cap-parse-fix' 2023-04-25 13:56:20 -07:00
connect.h v0 protocol: use size_t for capability length/offset 2023-04-14 15:08:13 -07:00
connected.c gvfs: allow "virtualizing" objects 2023-06-01 10:53:49 -07:00
connected.h receive-pack: only use visible refs for connectivity check 2022-11-17 16:22:52 -05:00
convert.c gvfs: ensure all filters and EOL conversions are blocked 2023-06-01 10:53:49 -07:00
convert.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
copy.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
copy.h copy.h: move declarations for copy.c functions from cache.h 2023-04-24 12:47:31 -07:00
credential.c credential: set trace2_child_class for credential manager children 2023-06-01 10:53:51 -07:00
credential.h Merge branch 'mh/credential-oauth-refresh-token' 2023-05-10 10:23:29 -07:00
csum-file.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
csum-file.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
ctype.c kwset: use unsigned char to store values with high-bit set 2015-03-02 12:32:24 -08:00
daemon.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
date.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
date.h date: remove approxidate_relative() 2023-04-10 08:46:40 -07:00
decorate.c treewide: replace cache.h with more direct headers, where possible 2023-02-23 17:25:30 -08:00
decorate.h *.[ch]: remove extern from function declarations using spatch 2019-05-05 15:20:06 +09:00
delta-islands.c treewide: remove cache.h inclusion due to object.h changes 2023-04-11 08:52:10 -07:00
delta-islands.h delta-islands: free island_marks and bitmaps 2023-02-03 18:01:46 -08:00
delta.h odb: guard against data loss checking out a huge file 2021-11-24 21:30:58 +01:00
detect-compiler Handle some compiler versions containing a dash 2023-04-26 09:20:50 -07:00
diagnose.c scalar diagnose: accommodate Scalar's Functional Tests 2023-06-01 10:53:56 -07:00
diagnose.h treewide: remove unnecessary inclusions of parse-options.h from headers 2023-03-20 11:55:18 -07:00
diff-delta.c diff-delta: set size out-parameter to 0 for NULL delta 2019-09-06 11:03:39 -07:00
diff-lib.c symlinks.h: move declarations for symlinks.c functions from cache.h 2023-04-24 12:47:31 -07:00
diff-merges.c object.h: stop depending on cache.h; make cache.h depend on object.h 2023-02-23 17:25:29 -08:00
diff-merges.h diff-index: restore -c/--cc options handling 2021-09-07 11:11:35 -07:00
diff-no-index.c treewide: remove cache.h inclusion due to object.h changes 2023-04-11 08:52:10 -07:00
diff.c diff: ignore sparse paths in diffstat 2023-06-01 10:53:57 -07:00
diff.h Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
diffcore-break.c cocci: apply the "promisor-remote.h" part of "the_repository.pending" 2023-03-28 07:36:46 -07:00
diffcore-delta.c object.h: stop depending on cache.h; make cache.h depend on object.h 2023-02-23 17:25:29 -08:00
diffcore-order.c treewide: replace cache.h with more direct headers, where possible 2023-02-23 17:25:30 -08:00
diffcore-pickaxe.c pretty.h: move has_non_ascii() declaration from commit.h 2023-02-23 17:25:29 -08:00
diffcore-rename.c Merge branch 'ab/remove-implicit-use-of-the-repository' 2023-04-06 13:38:30 -07:00
diffcore-rotate.c treewide: replace cache.h with more direct headers, where possible 2023-02-23 17:25:30 -08:00
diffcore.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
dir-iterator.c Merge branch 'en/header-cleanup' 2023-03-17 14:03:09 -07:00
dir-iterator.h dir-iterator: drop unused `DIR_ITERATOR_FOLLOW_SYMLINKS` 2023-02-16 16:21:56 -08:00
dir.c Merge branch 'sparse-index-stuff' 2023-06-01 10:54:00 -07:00
dir.h dir.h: move DTYPE defines from cache.h 2023-04-24 12:47:32 -07:00
editor.c Partially un-revert "editor: save and reset terminal after calling EDITOR" 2023-06-01 10:14:43 -06:00
editor.h editor: move editor-related functions and declarations into common file 2023-04-11 08:52:10 -07:00
entry.c Introduce helper to create symlinks that knows about index_state 2023-06-01 10:14:41 -06:00
entry.h treewide: remove unnecessary cache.h includes 2023-02-23 17:25:28 -08:00
environment.c sha1-file: create shared-cache directory if it doesn't exist 2023-06-01 10:53:52 -07:00
environment.h sha1-file: create shared-cache directory if it doesn't exist 2023-06-01 10:53:52 -07:00
exec-cmd.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
exec-cmd.h argv-array: rename to strvec 2020-10-06 01:10:04 +02:00
fetch-negotiator.c fetch-negotiator: add specific noop initializer 2022-03-28 10:25:52 -07:00
fetch-negotiator.h fetch-negotiator: add specific noop initializer 2022-03-28 10:25:52 -07:00
fetch-pack.c fscache: fscache takes an initial size 2023-06-01 10:14:30 -06:00
fetch-pack.h fetch-pack: add refetch 2022-03-28 10:25:52 -07:00
fmt-merge-msg.c treewide: remove cache.h inclusion due to object-name.h changes 2023-04-11 08:52:09 -07:00
fmt-merge-msg.h merge: allow to pretend a merge is made into a different branch 2021-12-20 14:55:02 -08:00
fsck.c commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
fsck.h object.h: stop depending on cache.h; make cache.h depend on object.h 2023-02-23 17:25:29 -08:00
fsmonitor--daemon.h fsmonitor: reduce includes of cache.h 2023-04-24 12:47:33 -07:00
fsmonitor-ipc.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
fsmonitor-ipc.h fsmonitor: relocate socket file if .git directory is remote 2022-10-05 11:05:22 -07:00
fsmonitor-path-utils.h fsmonitor: deal with synthetic firmlinks on macOS 2022-10-05 11:05:23 -07:00
fsmonitor-settings.c fsmonitor: reintroduce core.useBuiltinFSMonitor 2023-06-01 10:14:44 -06:00
fsmonitor-settings.h fsmonitor: check for compatability before communicating with fsmonitor 2022-10-05 11:05:23 -07:00
fsmonitor.c treewide: be explicit about dependence on trace.h & trace2.h 2023-04-11 08:52:08 -07:00
fsmonitor.h Merge branch 'en/header-split-cache-h' 2023-04-25 13:56:20 -07:00
generate-cmdlist.sh generate-cmdlist.sh: don't parse command-list.txt thrice 2021-11-05 12:01:13 -07:00
generate-configlist.sh help: move list_config_help to builtin/help 2020-04-16 15:22:16 -07:00
generate-hooklist.sh hook-list.h: add a generated list of hooks, like config-list.h 2021-09-27 09:44:54 -07:00
gettext.c Sync with Git 2.40.1 2023-04-24 22:31:32 -07:00
gettext.h Sync with 2.33.8 2023-04-17 21:15:56 +02:00
git-archimport.perl archimport: use safe_pipe_capture for user input 2017-09-12 11:08:15 +09:00
git-compat-util.h Introduce helper to create symlinks that knows about index_state 2023-06-01 10:14:41 -06:00
git-curl-compat.h http: optionally send SSL client certificate 2023-06-01 10:14:11 -06:00
git-cvsexportcommit.perl cvsexportcommit: do not run git programs in dashed form 2020-08-26 14:49:52 -07:00
git-cvsimport.perl git-cvsimport: port to SHA-256 2020-06-22 11:21:07 -07:00
git-cvsserver.perl git-cvsserver: clarify directory list 2022-07-19 12:45:31 -07:00
git-difftool--helper.sh mergetool: new config guiDefault supports auto-toggling gui by DISPLAY 2023-04-05 21:03:29 -07:00
git-filter-branch.sh git-sh-setup: remove "sane_grep", it's not needed anymore 2021-10-21 16:17:57 -07:00
git-instaweb.sh git-sh-setup.sh: remove "say" function, change last users 2022-06-28 13:13:18 -07:00
git-merge-octopus.sh Merge branch 'ma/up-to-date' 2017-09-10 17:08:22 +09:00
git-merge-one-file.sh merge-one-file: compute empty blob object ID 2018-05-02 13:59:53 +09:00
git-merge-resolve.sh merge-resolve: abort if index does not match HEAD 2022-07-22 21:45:22 -07:00
git-mergetool--lib.sh mergetool: new config guiDefault supports auto-toggling gui by DISPLAY 2023-04-05 21:03:29 -07:00
git-mergetool.sh mergetool: new config guiDefault supports auto-toggling gui by DISPLAY 2023-04-05 21:03:29 -07:00
git-p4.py Merge branch 'kk/p4-client-name-encoding-fix' into maint 2022-08-10 21:52:33 -07:00
git-quiltimport.sh git-quiltimport: add --keep-non-patch option 2019-01-07 15:29:34 -08:00
git-request-pull.sh request-pull: filter out SSH/X.509 tag signatures 2023-01-25 15:54:41 -08:00
git-send-email.perl Merge branch 'jc/send-email-pre-process-fix' 2023-05-19 09:27:06 -07:00
git-sh-i18n.sh git-sh-i18n: remove unused eval_ngettext() 2021-10-21 16:04:29 -07:00
git-sh-setup.sh mingw: only use Bash-ism `builtin pwd -W` when available 2023-06-01 10:14:42 -06:00
git-submodule.sh Merge branch 'ss/pull-v-recurse-fix' 2022-12-28 12:06:17 +09:00
git-svn.perl git-svn: drop support for `--preserve-merges` 2021-09-07 21:45:33 -07:00
git-web--browse.sh git-web--browse.sh: use the $( ... ) construct for command substitution 2014-04-23 15:17:02 -07:00
git-zlib.c git-zlib: move declarations for git-zlib functions from cache.h 2023-04-11 08:52:10 -07:00
git-zlib.h git-zlib: move declarations for git-zlib functions from cache.h 2023-04-11 08:52:10 -07:00
git.c update-microsoft-git: create barebones builtin 2023-06-01 10:53:54 -07:00
git.rc Fix Windows version resources 2023-06-01 10:14:15 -06:00
gpg-interface.c Unbreak interactive GPG prompt upon signing 2023-06-01 10:14:38 -06:00
gpg-interface.h gpg-interface: lazily initialize and read the configuration 2023-02-09 17:01:27 -08:00
graph.c treewide: replace cache.h with more direct headers, where possible 2023-02-23 17:25:30 -08:00
graph.h log: fix memory leak if --graph is passed multiple times 2022-02-11 10:06:40 -08:00
grep.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
grep.h grep: work around UTF-8 related JIT bug in PCRE2 <= 10.34 2023-03-23 11:19:34 -07:00
gvfs-helper-client.c gvfs-helper: add prefetch support 2023-06-01 10:53:52 -07:00
gvfs-helper-client.h gvfs-helper: add prefetch support 2023-06-01 10:53:52 -07:00
gvfs-helper.c gvfs-helper: ignore .idx files in prefetch multi-part responses 2023-06-01 10:54:00 -07:00
gvfs.c gvfs: allow overriding core.gvfs 2023-06-01 10:53:49 -07:00
gvfs.h fetch: use gvfs-helper prefetch under config 2023-06-01 10:53:53 -07:00
hash-ll.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
hash-lookup.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
hash-lookup.h oid_pos(): access table through const pointers 2021-01-28 12:03:26 -08:00
hash.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
hashmap.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
hashmap.h Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
help.c Merge branch 'jk/unused-post-2.39-part2' 2023-03-17 14:03:09 -07:00
help.h git docs: add a category for file formats, protocols and interfaces 2022-08-04 14:12:23 -07:00
hex.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
hex.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
hook.c backwards-compatibility: support the post-indexchanged hook 2023-06-01 10:53:50 -07:00
hook.h hook API: support passing stdin to hooks, convert am's 'post-rewrite' 2023-02-08 12:50:03 -08:00
http-backend.c treewide: remove cache.h inclusion due to git-zlib changes 2023-04-11 08:52:10 -07:00
http-fetch.c treewide: remove cache.h inclusion due to object-file.h changes 2023-04-11 08:52:10 -07:00
http-push.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
http-walker.c Merge branch 'en/header-split-cache-h' 2023-04-25 13:56:20 -07:00
http.c http: optionally send SSL client certificate 2023-06-01 10:14:11 -06:00
http.h Sync with 2.30.9 2023-04-17 21:15:44 +02:00
ident.c ident.h: move ident-related declarations out of cache.h 2023-02-23 17:25:29 -08:00
ident.h ident.h: move ident-related declarations out of cache.h 2023-02-23 17:25:29 -08:00
imap-send.c imap-send: include strbuf.h 2023-05-17 09:54:07 -07:00
iterator.h refs: introduce an iterator interface 2016-06-20 11:38:20 -07:00
json-parser.c scalar: implement a minimal JSON parser 2023-06-01 10:53:55 -07:00
json-parser.h scalar: implement a minimal JSON parser 2023-06-01 10:53:55 -07:00
json-writer.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
json-writer.h *.h: move some *_INIT to designated initializers 2021-07-01 12:31:45 -07:00
khash.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
kwset.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
kwset.h kset.h, tar.h: add missing header guard to prevent multiple inclusion 2019-11-07 20:12:04 +09:00
levenshtein.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
levenshtein.h Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
line-log.c diff.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
line-log.h hash.h: move some oid-related declarations from cache.h 2023-02-23 17:25:28 -08:00
line-range.c line-range: fix infinite loop bug with '$' regex 2022-12-20 10:00:43 +09:00
line-range.h line-range.c: remove implicit dependency on the_index 2018-09-21 09:51:18 -07:00
linear-assignment.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
linear-assignment.h linear-assignment: a function to solve least-cost assignment problems 2018-08-13 10:44:50 -07:00
list-objects-filter-options.c Merge branch 'ab/remove-implicit-use-of-the-repository' 2023-04-06 13:38:30 -07:00
list-objects-filter-options.h Merge branch 'en/header-split-cleanup' 2023-04-06 13:38:31 -07:00
list-objects-filter.c treewide: remove cache.h inclusion due to object.h changes 2023-04-11 08:52:10 -07:00
list-objects-filter.h list-objects: support filtering by tag and commit 2021-04-12 09:35:50 -07:00
list-objects.c treewide: remove cache.h inclusion due to object.h changes 2023-04-11 08:52:10 -07:00
list-objects.h list-objects: consolidate traverse_commit_list[_filtered] 2022-03-09 10:25:27 -08:00
list.h *.h: move some *_INIT to designated initializers 2021-09-27 14:48:00 -07:00
ll-merge.c Merge branch 'jc/attr-source-tree' 2023-05-17 10:11:41 -07:00
ll-merge.h ll-merge: make callers responsible for showing warnings 2022-02-02 10:02:27 -08:00
lockfile.c lockfile.c: use is_dir_sep() instead of hardcoded '/' checks 2023-06-01 10:14:39 -06:00
lockfile.h *.[ch] *_INIT macros: use { 0 } for a "zero out" idiom 2021-09-27 14:47:59 -07:00
log-tree.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
log-tree.h log-tree.h: remove unused function declarations 2021-10-01 14:39:46 -07:00
ls-refs.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
ls-refs.h serve.[ch]: don't pass "struct strvec *keys" to commands 2021-08-05 08:59:37 -07:00
mailinfo.c Merge branch 'jc/spell-id-in-both-caps-in-message-id' 2023-04-11 13:49:12 -07:00
mailinfo.h am: learn to process quoted lines that ends with CRLF 2021-05-10 15:06:22 +09:00
mailmap.c Merge branch 'en/header-split-cache-h' 2023-04-25 13:56:20 -07:00
mailmap.h mailmap, quote: move declarations of global vars to correct unit 2023-04-11 08:52:11 -07:00
match-trees.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
match-trees.h match-trees.h: move declarations for match-trees.c functions from cache.h 2023-04-24 12:47:32 -07:00
mem-pool.c mem_pool: add GIT_TRACE_MEMPOOL support 2023-06-01 10:14:30 -06:00
mem-pool.h mem-pool: use consistent pool variable name 2020-10-06 00:33:18 +02:00
merge-blobs.c Merge branch 'ab/remove-implicit-use-of-the-repository' 2023-04-06 13:38:30 -07:00
merge-blobs.h *.[ch]: manually align parameter lists 2019-05-05 15:20:10 +09:00
merge-ort-wrappers.c commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
merge-ort-wrappers.h merge-ort-wrappers: new convience wrappers to mimic the old merge API 2020-10-26 22:36:14 -07:00
merge-ort.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
merge-ort.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
merge-recursive.c merge-recursive: teach was_dirty() about the virtualfilesystem 2023-06-01 10:53:50 -07:00
merge-recursive.h merge-ort: format messages slightly different for use in headers 2022-02-02 10:02:27 -08:00
merge.c commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
mergesort.h mergesort: remove llist_mergesort() 2022-07-17 15:20:39 -07:00
midx.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
midx.h pack-bitmap-write: learn pack.writeBitmapLookupTable and add tests 2022-08-26 10:13:54 -07:00
name-hash.c unpack-trees:virtualfilesystem: Improve efficiency of clear_ce_flags 2023-06-01 10:53:53 -07:00
notes-cache.c commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
notes-cache.h notes-cache.c: remove the_repository references 2018-11-12 14:50:06 +09:00
notes-merge.c treewide: remove cache.h inclusion due to object-file.h changes 2023-04-11 08:52:10 -07:00
notes-merge.h notes-merge.c: remove implicit dependency on the_index 2018-11-12 14:50:05 +09:00
notes-utils.c commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
notes-utils.h notes-utils.c: remove the_repository references 2019-01-14 12:13:04 -08:00
notes.c Merge branch 'tb/ban-strtok' 2023-05-02 10:13:35 -07:00
notes.h Merge branch 'dl/format-patch-notes-config-fixup' 2019-12-25 11:21:58 -08:00
object-file.c sha1-file: create shared-cache directory if it doesn't exist 2023-06-01 10:53:52 -07:00
object-file.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
object-name.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
object-name.h object-name.h: move declarations for object-name.c functions from cache.h 2023-04-11 08:52:09 -07:00
object-store.h sha1-file: add function to update existing loose object cache 2023-06-01 10:53:52 -07:00
object.c object-file.h: move declarations for object-file.c functions from cache.h 2023-04-11 08:52:10 -07:00
object.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
oid-array.c alloc.h: move ALLOC_GROW() functions from cache.h 2023-02-23 17:25:28 -08:00
oid-array.h *.[ch] *_INIT macros: use { 0 } for a "zero out" idiom 2021-09-27 14:47:59 -07:00
oidmap.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
oidmap.h treewide: remove unnecessary cache.h includes 2023-02-23 17:25:28 -08:00
oidset.c hex.h: move some hex-related declarations from cache.h 2023-02-23 17:25:28 -08:00
oidset.h oidset: make oidset_size() an inline function 2021-09-12 16:14:32 -07:00
oidtree.c treewide: ensure one of the appropriate headers is sourced first 2023-02-23 17:25:28 -08:00
oidtree.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
pack-bitmap-write.c diff.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
pack-bitmap.c fsck: verify checksums of all .bitmap files 2023-05-02 08:48:22 -07:00
pack-bitmap.h fsck: verify checksums of all .bitmap files 2023-05-02 08:48:22 -07:00
pack-check.c treewide: remove cache.h inclusion due to object-file.h changes 2023-04-11 08:52:10 -07:00
pack-mtimes.c treewide: remove cache.h inclusion due to object-file.h changes 2023-04-11 08:52:10 -07:00
pack-mtimes.h treewide: remove unnecessary git-compat-util.h includes in headers 2023-02-23 17:25:28 -08:00
pack-objects.c alloc.h: move ALLOC_GROW() functions from cache.h 2023-02-23 17:25:28 -08:00
pack-objects.h pack-objects.h: remove outdated pahole results 2022-06-28 15:39:03 -07:00
pack-revindex.c Merge branch 'ds/fsck-pack-revindex' 2023-04-27 16:00:59 -07:00
pack-revindex.h fsck: validate .rev file header 2023-04-17 14:39:05 -07:00
pack-write.c Merge branch 'tb/enable-cruft-packs-by-default' 2023-04-28 16:03:03 -07:00
pack.h csum-file.h: remove unnecessary inclusion of cache.h 2023-03-21 10:56:55 -07:00
packfile.c packfile: add install_packed_git_and_mru() 2023-06-01 10:53:52 -07:00
packfile.h packfile: add install_packed_git_and_mru() 2023-06-01 10:53:52 -07:00
pager.c treewide: remove cache.h inclusion due to pager.h changes 2023-04-11 08:52:11 -07:00
pager.h pager.h: move declarations for pager.c functions from cache.h 2023-04-11 08:52:10 -07:00
parallel-checkout.c checkout.c: enable fscache for checkout again 2023-06-01 10:14:29 -06:00
parallel-checkout.h checkout: fix two bugs on the final count of updated entries 2022-07-14 10:19:28 -07:00
parse-options-cb.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
parse-options.c commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
parse-options.h Merge branch 'pw/rebase-cleanup-merge-strategy-option-handling' 2023-04-17 18:05:13 -07:00
patch-delta.c patch-delta: handle truncated copy parameters 2018-08-30 10:30:23 -07:00
patch-ids.c treewide: remove unnecessary cache.h inclusion from several sources 2023-03-21 10:56:51 -07:00
patch-ids.h patch-id: use stable patch-id for rebases 2022-10-24 15:44:19 -07:00
path.c clean: do not traverse mount points 2023-06-01 10:14:05 -06:00
path.h clean: do not traverse mount points 2023-06-01 10:14:05 -06:00
pathspec.c Merge branch 'jc/attr-source-tree' 2023-05-17 10:11:41 -07:00
pathspec.h dir.h: refactor to no longer need to include cache.h 2023-02-23 17:25:29 -08:00
pkt-line.c status: add status serialization mechanism 2023-06-01 10:53:50 -07:00
pkt-line.h status: add status serialization mechanism 2023-06-01 10:53:50 -07:00
preload-index.c fscache: update fscache to be thread specific instead of global 2023-06-01 10:14:30 -06:00
pretty.c treewide: remove cache.h inclusion due to pager.h changes 2023-04-11 08:52:11 -07:00
pretty.h Merge branch 'ab/remove-implicit-use-of-the-repository' 2023-04-06 13:38:30 -07:00
prio-queue.c alloc.h: move ALLOC_GROW() functions from cache.h 2023-02-23 17:25:28 -08:00
prio-queue.h *.[ch]: remove extern from function declarations using spatch 2019-05-05 15:20:06 +09:00
progress.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
progress.h progress API: unify stop_progress{,_msg}(), fix trace2 bug 2022-02-03 15:39:59 -08:00
promisor-remote.c gvfs-helper: create tool to fetch objects using the GVFS Protocol 2023-06-01 10:53:52 -07:00
promisor-remote.h cocci: apply the "promisor-remote.h" part of "the_repository.pending" 2023-03-28 07:36:46 -07:00
prompt.c git add -i: handle CR/LF line endings in the interactive input 2023-06-01 10:14:08 -06:00
prompt.h interactive: refactor code asking the user for interactive input 2020-04-10 10:26:31 -07:00
protocol-caps.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
protocol-caps.h serve.[ch]: don't pass "struct strvec *keys" to commands 2021-08-05 08:59:37 -07:00
protocol.c treewide: remove unnecessary cache.h inclusion 2023-04-11 08:52:09 -07:00
protocol.h protocol.h: move definition of DEFAULT_GIT_PORT from cache.h 2023-04-18 14:01:04 -07:00
prune-packed.c treewide: remove cache.h inclusion due to environment.h changes 2023-03-21 10:56:54 -07:00
prune-packed.h Lib-ify prune-packed 2020-03-24 15:04:44 -07:00
quote.c treewide: reduce includes of cache.h in other headers 2023-04-11 08:52:11 -07:00
quote.h mailmap, quote: move declarations of global vars to correct unit 2023-04-11 08:52:11 -07:00
range-diff.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
range-diff.h Merge branch 'js/range-diff-one-side-only' 2021-02-17 17:21:41 -08:00
reachable.c treewide: remove cache.h inclusion due to environment.h changes 2023-03-21 10:56:54 -07:00
reachable.h builtin/pack-objects.c: --cruft with expiration 2022-05-26 15:48:26 -07:00
read-cache.c trace2:gvfs:experiment: read-cache: time read/write of cache-tree extension 2023-06-01 10:53:51 -07:00
rebase-interactive.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
rebase-interactive.h rebase: remove a no-longer-used function 2021-09-07 21:45:33 -07:00
rebase.c treewide: ensure one of the appropriate headers is sourced first 2023-02-23 17:25:28 -08:00
rebase.h pull: remove support for `--rebase=preserve` 2021-09-07 21:45:32 -07:00
ref-filter.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
ref-filter.h Merge branch 'ow/ref-format-remove-unused-member' 2023-04-06 13:38:32 -07:00
reflog-walk.c alloc.h: move ALLOC_GROW() functions from cache.h 2023-02-23 17:25:28 -08:00
reflog-walk.h treewide: remove unnecessary cache.h includes 2023-02-23 17:25:28 -08:00
reflog.c diff.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
reflog.h reflog: libify delete reflog function and helpers 2022-03-02 15:24:47 -08:00
refs.c treewide: remove cache.h inclusion due to object-name.h changes 2023-04-11 08:52:09 -07:00
refs.h Merge branch 'en/header-split-cleanup' 2023-04-06 13:38:31 -07:00
refspec.c commit.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
refspec.h docs: move protocol-related docs to man section 5 2022-08-04 14:12:23 -07:00
remote-curl.c remote-curl: do not call fetch-pack when using gvfs-helper 2023-06-01 10:53:53 -07:00
remote.c Trace2:gvfs:experiment: capture more 'tracking' details 2023-06-01 10:53:51 -07:00
remote.h Merge branch 'sg/parse-options-h-users' 2023-03-30 13:47:11 -07:00
replace-object.c treewide: remove unnecessary cache.h inclusion from several sources 2023-03-21 10:56:51 -07:00
replace-object.h replace-object.h: move read_replace_refs declaration from cache.h to here 2023-02-23 17:25:30 -08:00
repo-settings.c repo-settings: enable sparse index by default 2023-06-01 10:53:57 -07:00
repository.c status: fix for old-style submodules with commondir 2023-06-01 10:14:15 -06:00
repository.h Merge branch 'tb/enable-cruft-packs-by-default' 2023-04-28 16:03:03 -07:00
rerere.c copy.h: move declarations for copy.c functions from cache.h 2023-04-24 12:47:31 -07:00
rerere.h Merge branch 'en/header-split-cleanup' 2023-04-06 13:38:31 -07:00
reset.c object-name.h: move declarations for object-name.c functions from cache.h 2023-04-11 08:52:09 -07:00
reset.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
resolve-undo.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
resolve-undo.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
revision.c Merge branch 'en/header-split-cache-h' 2023-04-25 13:56:20 -07:00
revision.h Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
run-command.c Merge branch 'tb/run-command-needs-alloc-h' 2023-05-19 09:27:06 -07:00
run-command.h Merge branch 'rs/no-more-run-command-v' 2022-11-08 17:15:12 -05:00
scalar.c scalar: add --no-src option 2023-06-01 10:53:56 -07:00
send-pack.c send-pack: do not check for sha1 file when GVFS_MISSING_OK set 2023-06-01 10:53:49 -07:00
send-pack.h send-pack.c: add config push.useBitmaps 2022-06-17 14:31:01 -07:00
sequencer.c sequencer: avoid progress when stderr is redirected 2023-06-01 10:53:58 -07:00
sequencer.h rebase -m: cleanup --strategy-option handling 2023-04-10 09:53:19 -07:00
serve.c Merge branch 'jk/unused-post-2.39-part2' 2023-03-17 14:03:09 -07:00
serve.h serve.[ch]: remove "serve_options", split up --advertise-refs code 2021-08-05 08:59:37 -07:00
server-info.c server-info.h: move declarations for server-info.c functions from cache.h 2023-04-24 12:47:31 -07:00
server-info.h server-info.h: move declarations for server-info.c functions from cache.h 2023-04-24 12:47:31 -07:00
setup.c setup: add discover_git_directory_reason() 2023-06-01 10:53:56 -07:00
setup.h setup: add discover_git_directory_reason() 2023-06-01 10:53:56 -07:00
sh-i18n--envsubst.c tree-wide: apply equals-null.cocci 2022-05-02 09:50:37 -07:00
sha1dc_git.c hash algorithms: use size_t for section lengths 2023-06-01 10:14:12 -06:00
sha1dc_git.h hash algorithms: use size_t for section lengths 2023-06-01 10:14:12 -06:00
shallow.c treewide: be explicit about dependence on trace.h & trace2.h 2023-04-11 08:52:08 -07:00
shallow.h object.h: stop depending on cache.h; make cache.h depend on object.h 2023-02-23 17:25:29 -08:00
shared.mak Merge branch 'ab/gnumake-4.4-fix' 2022-12-01 18:38:07 +09:00
shell.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
shortlog.h shortlog: extract `shortlog_finish_setup()` 2022-10-24 14:48:05 -07:00
sideband.c treewide: remove cache.h inclusion due to editor.h changes 2023-04-11 08:52:10 -07:00
sideband.h sideband: diagnose more sideband anomalies 2020-10-29 09:23:29 -07:00
sigchain.c alloc.h: move ALLOC_GROW() functions from cache.h 2023-02-23 17:25:28 -08:00
sigchain.h sigchain: move doc to sigchain.h 2019-11-18 15:21:29 +09:00
simple-ipc.h Merge branch 'jh/builtin-fsmonitor-part1' 2021-10-13 15:15:58 -07:00
sparse-index.c Add virtual file system settings and hook proc 2023-06-01 10:53:50 -07:00
sparse-index.h Merge branch 'ds/sparse-sparse-checkout' 2022-06-03 14:30:35 -07:00
split-index.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
split-index.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
stable-qsort.c stable-qsort: avoid using potentially unaligned access 2022-01-07 15:48:40 -08:00
statinfo.h dir.h: refactor to no longer need to include cache.h 2023-02-23 17:25:29 -08:00
strbuf.c strbuf_readlink: support link targets that exceed PATH_MAX 2023-06-01 10:14:39 -06:00
strbuf.h editor: move editor-related functions and declarations into common file 2023-04-11 08:52:10 -07:00
streaming.c treewide: remove cache.h inclusion due to object-file.h changes 2023-04-11 08:52:10 -07:00
streaming.h treewide: remove unnecessary cache.h inclusion from a few headers 2023-03-21 10:56:50 -07:00
string-list.c string-list: introduce `string_list_setlen()` 2023-04-24 16:01:28 -07:00
string-list.h string-list: introduce `string_list_setlen()` 2023-04-24 16:01:28 -07:00
strmap.c git-compat-util.h: use "UNUSED", not "UNUSED(var)" 2022-09-01 10:49:48 -07:00
strmap.h strmap: make callers of strmap_remove() to call it in void context 2020-12-15 15:30:44 -08:00
strvec.c cache.h: remove dependence on hex.h; make other files include it explicitly 2023-02-23 17:25:29 -08:00
strvec.h *.h: move some *_INIT to designated initializers 2021-09-27 14:48:00 -07:00
sub-process.c sub-process: add subprocess_start_argv() 2023-06-01 10:53:51 -07:00
sub-process.h sub-process: add subprocess_start_argv() 2023-06-01 10:53:51 -07:00
submodule-config.c object-store.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
submodule-config.h hash.h: move some oid-related declarations from cache.h 2023-02-23 17:25:28 -08:00
submodule.c Merge branch 'en/header-split-cache-h' 2023-04-25 13:56:20 -07:00
submodule.h read-tree: add "--super-prefix" option, eliminate global 2022-12-26 10:21:44 +09:00
symlinks.c symlinks.h: move declarations for symlinks.c functions from cache.h 2023-04-24 12:47:31 -07:00
symlinks.h symlinks.h: move declarations for symlinks.c functions from cache.h 2023-04-24 12:47:31 -07:00
tag.c treewide: remove cache.h inclusion due to object.h changes 2023-04-11 08:52:10 -07:00
tag.h tag: factor out get_tagged_oid() 2019-09-05 14:10:18 -07:00
tar.h kset.h, tar.h: add missing header guard to prevent multiple inclusion 2019-11-07 20:12:04 +09:00
tempfile.c treewide: remove unnecessary includes of cache.h 2023-03-21 10:56:53 -07:00
tempfile.h tempfile: drop active flag 2022-08-30 14:16:49 -07:00
thread-utils.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
thread-utils.h thread-utils: macros to unconditionally compile pthreads API 2018-10-29 11:22:48 +09:00
tmp-objdir.c treewide: remove cache.h inclusion due to object-file.h changes 2023-04-11 08:52:10 -07:00
tmp-objdir.h replace and remove run_command_v_opt_cd_env() 2022-10-30 14:04:47 -04:00
trace.c treewide: remove unnecessary cache.h inclusion 2023-04-11 08:52:09 -07:00
trace.h Merge branch 'en/header-cleanup' 2023-03-17 14:03:09 -07:00
trace2.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
trace2.h trace2: add global counter mechanism 2022-10-24 12:45:26 -07:00
trailer.c treewide: remove cache.h inclusion due to environment.h changes 2023-03-21 10:56:54 -07:00
trailer.h pretty format %(trailers): add a "key_value_separator" 2020-12-09 14:16:42 -08:00
transport-helper.c Always auto-gc after calling a fast-import transport 2023-06-01 10:14:04 -06:00
transport-internal.h clone: request the 'bundle-uri' command when available 2022-12-25 16:24:23 +09:00
transport.c Merge branch 'jk/protocol-cap-parse-fix' 2023-04-25 13:56:20 -07:00
transport.h treewide: remove unnecessary cache.h inclusion from a few headers 2023-03-21 10:56:50 -07:00
tree-diff.c diff.h: reduce unnecessary includes 2023-04-24 12:47:33 -07:00
tree-walk.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
tree-walk.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
tree.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
tree.h cache,tree: move basic name compare functions from read-cache to tree 2023-04-24 12:47:32 -07:00
unicode-width.h unicode: update the width tables to Unicode 15 2023-03-30 13:06:12 -07:00
unimplemented.sh unimplemented.sh: use the $( ... ) construct for command substitution 2015-12-27 15:33:13 -08:00
unix-socket.c treewide: replace cache.h with more direct headers, where possible 2023-02-23 17:25:30 -08:00
unix-socket.h unix-socket: disallow chdir() when creating unix domain sockets 2021-03-27 09:02:38 +01:00
unix-stream-server.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
unix-stream-server.h unix-stream-server: create unix domain socket under lock 2021-03-27 09:02:38 +01:00
unpack-trees.c unpack-trees:virtualfilesystem: Improve efficiency of clear_ce_flags 2023-06-01 10:53:53 -07:00
unpack-trees.h treewide: be explicit about dependence on convert.h 2023-04-11 08:52:09 -07:00
upload-pack.c upload-pack: fix race condition in error messages 2023-06-01 10:53:53 -07:00
upload-pack.h serve.[ch]: remove "serve_options", split up --advertise-refs code 2021-08-05 08:59:37 -07:00
url.c treewide: replace cache.h with more direct headers, where possible 2023-02-23 17:25:30 -08:00
url.h list-objects-filter: implement composite filters 2019-06-28 08:41:53 -07:00
urlmatch.c treewide: replace cache.h with more direct headers, where possible 2023-02-23 17:25:30 -08:00
urlmatch.h urlmatch.c: add and use a *_release() function 2022-03-04 13:24:18 -08:00
usage.c treewide: remove unnecessary includes of cache.h 2023-03-21 10:56:53 -07:00
userdiff.c attr: teach "--attr-source=<tree>" global option to "git" 2023-05-06 14:34:09 -07:00
userdiff.h Merge branch 'rs/userdiff-multibyte-regex' 2023-04-20 14:33:35 -07:00
utf8.c Sync with Git 2.31.6 2022-12-13 21:09:40 +09:00
utf8.h Sync with Git 2.31.6 2022-12-13 21:09:40 +09:00
varint.c cleanups: ensure that git-compat-util.h is included first 2014-09-15 12:05:14 -07:00
varint.h *.[ch]: remove extern from function declarations using spatch 2019-05-05 15:20:06 +09:00
version.c version --build-options: report commit, too, if possible 2018-01-02 11:23:34 +01:00
version.h version --build-options: report commit, too, if possible 2018-01-02 11:23:34 +01:00
versioncmp.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
versioncmp.h versioncmp.h: move declarations for versioncmp.c functions from cache.h 2023-04-24 12:47:32 -07:00
virtualfilesystem.c unpack-trees:virtualfilesystem: Improve efficiency of clear_ce_flags 2023-06-01 10:53:53 -07:00
virtualfilesystem.h unpack-trees:virtualfilesystem: Improve efficiency of clear_ce_flags 2023-06-01 10:53:53 -07:00
walker.c treewide: remove cache.h inclusion due to object.h changes 2023-04-11 08:52:10 -07:00
walker.h remote-curl: show progress for fetches over dumb HTTP 2020-03-03 13:15:40 -08:00
wildmatch.c Merge branch 'pw/wildmatch-fixes' 2023-04-04 14:28:27 -07:00
wildmatch.h wildmatch: hide internal return values 2023-03-20 10:58:53 -07:00
worktree.c treewide: remove cache.h inclusion due to setup.h changes 2023-03-21 10:56:54 -07:00
worktree.h Merge branch 'rj/avoid-switching-to-already-used-branch' 2023-03-19 15:03:11 -07:00
wrap-for-bin.sh Make running git under other debugger-like programs easy 2018-04-25 10:47:22 +09:00
wrapper.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
wrapper.h wrapper.h: move declarations for wrapper.c functions from cache.h 2023-03-21 10:56:53 -07:00
write-or-die.c write-or-die.h: move declarations for write-or-die.c functions from cache.h 2023-03-21 10:56:54 -07:00
write-or-die.h write-or-die.h: move declarations for write-or-die.c functions from cache.h 2023-03-21 10:56:54 -07:00
ws.c Merge branch 'jc/attr-source-tree' 2023-05-17 10:11:41 -07:00
ws.h ws.h: move declarations for ws.c functions from cache.h 2023-04-24 12:47:32 -07:00
wt-status-deserialize.c gvfs:trace2:data: status deserialization information 2023-06-01 10:53:51 -07:00
wt-status-serialize.c gvfs:trace2:data: status serialization 2023-06-01 10:53:51 -07:00
wt-status.c Add virtual file system settings and hook proc 2023-06-01 10:53:50 -07:00
wt-status.h gvfs:trace2:data: status deserialization information 2023-06-01 10:53:51 -07:00
xdiff-interface.c Merge branch 'en/header-split-cleanup' 2023-04-06 13:38:31 -07:00
xdiff-interface.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00

README.md

microsoft/git and the Scalar CLI

Open in Visual Studio Code Build status

This is microsoft/git, a special Git distribution to support monorepo scenarios. If you are not working in a monorepo, you are likely searching for Git for Windows instead of this codebase.

In addition to the Git command-line interface (CLI), microsoft/git includes the Scalar CLI to further enable working with extremely large repositories. Scalar is a tool to apply the latest recommendations and use the most advanced Git features. You can read the Scalar CLI documentation or read our Scalar user guide including the philosophy of Scalar.

If you encounter problems with microsoft/git, please report them as GitHub issues.

Why is this fork needed?

Git is awesome - it's a fast, scalable, distributed version control system with an unusually rich command set that provides both high-level operations and full access to internals. What more could you ask for?

Well, because Git is a distributed version control system, each Git repository has a copy of all files in the entire history. As large repositories, aka monorepos grow, Git can struggle to manage all that data. As Git commands like status and fetch get slower, developers stop waiting and start switching context. And context switches harm developer productivity.

microsoft/git is focused on addressing these performance woes and making the monorepo developer experience first-class. The Scalar CLI packages all of these recommendations into a simple set of commands.

One major feature that Scalar recommends is partial clone, which reduces the amount of data transferred in order to work with a Git repository. While several services such as GitHub support partial clone, Azure Repos instead has an older version of this functionality called the GVFS protocol. The integration with the GVFS protocol present in microsoft/git is not appropriate to include in the core Git client because partial clone is the official version of that functionality.

Downloading and Installing

If you're working in a monorepo and want to take advantage of the performance boosts in microsoft/git, then you can download the latest version installer for your OS from the Releases page. Alternatively, you can opt to install via the command line, using the below instructions for supported OSes:

Windows

Note: Winget is still in public preview, meaning you currently need to take special installation steps: Either manually install the .appxbundle available at the preview version of App Installer, or participate in the Windows Insider flight ring since winget is available by default on preview versions of Windows.

To install with Winget, run

winget install --id microsoft.git

Double-check that you have the right version by running these commands, which should have the same output:

git version
scalar version

To upgrade microsoft/git, use the following Git command, which will download and install the latest release.

git update-microsoft-git

You may also be alerted with a notification to upgrade, which presents a single-click process for running git update-microsoft-git.

macOS

To install microsoft/git on macOS, first be sure that Homebrew is installed then install the microsoft-git cask with these steps:

brew tap microsoft/git
brew install --cask microsoft-git

Double-check that you have the right version by running these commands, which should have the same output:

git version
scalar version

To upgrade microsoft/git, you can run the necessary brew commands:

brew update
brew upgrade --cask microsoft-git

Or you can run the git update-microsoft-git command, which will run those brew commands for you.

Linux

Ubuntu/Debian distributions

On newer distributions*, you can download the most recent Debian package from the releases page (or using a tool such as wget) then run:

sudo dpkg -i <path to package>

Double-check that you have the right version by running these commands, which should have the same output:

git version
scalar version

To upgrade, you will need to repeat these steps to reinstall.

*Older distributions are missing some required dependencies. Even though the package may appear to install successfully, microsoft/ git will not function as expected. If you are running Ubuntu 18.04 or older, please follow the install from source instructions below instead of installing the debian package.

Other distributions

You will need to compile and install microsoft/git from source:

git clone https://github.com/microsoft/git microsoft-git
cd microsoft-git
make -j12 prefix=/usr/local
sudo make -j12 prefix=/usr/local install

For more assistance building Git from source, see the INSTALL file in the core Git project.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.