Skip to content

[DO NOT MERGE YET] Rebase to v2.20.0-rc0 #1939

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1,454 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1454 commits
Select commit Hold shift + click to select a range
f461d37
remove_dirs: do not swallow error when stat() failed
dscho Feb 16, 2016
c2c9a5b
t3701: verify that we can add *lots* of files interactively
dscho Sep 12, 2015
ca353d7
t7300: `git clean -dfx` must show an error with long paths
dscho Feb 16, 2016
d38f103
status: carry the --no-lock-index option for backwards-compatibility
dscho Aug 12, 2016
7ce7eef
status: reinstate --show-ignored-directory as a deprecated option
dscho Nov 9, 2017
896971d
status: verify that --show-ignored-directory prints a warning
dscho Nov 9, 2017
b68f9f6
mingw: demonstrate that all file handles are inherited by child proce…
dscho Jan 26, 2018
1f0ef9f
mingw: work around incorrect standard handles
dscho Feb 7, 2018
79aa973
Add a Code of Conduct
dscho Jul 24, 2015
4fdc1b8
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
3777893
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
79f8e6e
Add an issue template
shiftkey Feb 18, 2016
20e65cb
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
b24b079
.github: Add configuration for the Sentiment Bot
dscho Feb 20, 2018
5cc7328
sha1-name.c: add `get_oidf()` which acts like `get_oid()`
ungps May 5, 2018
a2bf7d9
Document how $HOME is set on Windows
alejandro5042 Mar 9, 2018
48359d7
strbuf.c: add `strbuf_join_argv()`
ungps Sep 6, 2018
c0fda17
stash: improve option parsing test coverage
klusark Apr 5, 2018
5a354ca
t0001: fix on case-insensitive filesystems
dscho Oct 2, 2018
f978d8d
Merge branch 'test-git-installed'
dscho Oct 12, 2018
3ca0d63
Merge branch 'mingw-expand-absolute-user-path'
dscho Oct 12, 2018
2e0729f
Mark .bat files as requiring CR/LF endings
dscho Nov 28, 2017
7b25056
t0001 (mingw): do not expect specific order of stdout/stderr
dscho Oct 25, 2018
0f9b04a
cache-tree.c: avoid reusing the DEBUG constant
jeffhostetler Jun 3, 2016
d9ea654
obstack: fix compiler warning
dscho Oct 27, 2016
e59bbd1
mingw: replace mingw_startup() hack
dscho Oct 30, 2018
9fd4220
msvc: fix dependencies of compat/msvc.c
dscho Oct 20, 2016
ea60f42
msvc: include sigset_t definition
Apr 21, 2016
c5fc9ee
msvc: define O_ACCMODE
Apr 21, 2016
f14e123
msvc: mark a variable as non-const
jeffhostetler Jun 3, 2016
4aa188d
msvc: do not re-declare the timespec struct
jeffhostetler Jun 3, 2016
0ac6b45
msvc: define ftello()
jeffhostetler Jun 3, 2016
14725d5
msvc: fix detect_msys_tty()
jeffhostetler Jan 10, 2017
fde215f
msvc: add pragmas for common warnings
May 4, 2016
c96afa5
msvc: do not pretend to support all signals
jeffhostetler Jun 3, 2016
3fd8c7c
msvc: support building Git using MS Visual C++
jeffhostetler Jun 3, 2016
479c493
msvc: avoid debug assertion windows in Debug Mode
dscho Nov 30, 2016
9e25bad
msvc: ignore .dll and incremental compile output
jeffhostetler Nov 8, 2016
53993f7
Vcproj.pm: auto-generate GUIDs
dscho Feb 16, 2018
091938e
Vcproj.pm: list git.exe first to be startup project
Jul 19, 2015
325e7fc
Vcproj.pm: do not configure VCWebServiceProxyGeneratorTool
dscho Oct 25, 2016
0c33f24
Vcproj.pm: urlencode '<' and '>' when generating VC projects
dscho Oct 25, 2016
e22cb9f
contrib/buildsystems: ignore invalidcontinue.obj
Jul 20, 2015
8545076
contrib/buildsystems: ignore irrelevant files in Generators/
dscho Oct 26, 2016
c9bd8bb
contrib/buildsystems: fix misleading error message
Jul 19, 2015
a646ad9
contrib/buildsystems: handle quoted spaces in filenames
Jul 19, 2015
ce2c41c
contrib/buildsystems: ignore gettext stuff
Feb 9, 2015
d52ef9d
contrib/buildsystems: redirect errors of the dry run into a log file
Jul 19, 2015
7bb908b
contrib/buildsystems: optionally capture the dry-run in a file
Jul 16, 2015
04657d3
contrib/buildsystems: handle the curl library option
May 4, 2016
cc391a4
contrib/buildsystems: handle libiconv, too
dscho Oct 27, 2016
0626a95
contrib/buildsystems: handle options starting with a slash
dscho Oct 27, 2016
206cc2d
contrib/buildsystems: error out on unknown option
dscho Dec 4, 2017
4538b08
contrib/buildsystems: add a backend for modern Visual Studio versions
dscho Oct 26, 2016
d62ca8d
msvc: add a Makefile target to pre-generate the VS solution
dscho Nov 28, 2016
744def1
vcxproj: also link-or-copy builtins
dscho Dec 19, 2017
2ba4f77
.gitignore: touch up the entries regarding Visual Studio
Jul 19, 2015
cd54853
WIP .gitignore: ignore library directories created by MSVC VS2008 bui…
Feb 23, 2015
b6a4977
.gitignore: ignore Visual Studio's temporary/generated files
dscho Oct 25, 2016
73f6782
bin-wrappers: append `.exe` to target paths if necessary
dscho Nov 25, 2016
dec7336
t5505,t5516: create .git/branches/ when needed
dscho Nov 30, 2016
02199ab
git: avoid calling aliased builtins via their dashed form
dscho Nov 28, 2016
e9e7bd2
Merge branch 'msvc'
jeffhostetler Oct 23, 2018
581eb54
Merge branch 'visual-studio'
jeffhostetler Oct 23, 2018
4d646f0
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
880317a
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
0f58449
Win32: Make the dirent implementation pluggable
kblees Sep 8, 2013
013350e
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
37bb3c0
add infrastructure for read-only file system level caches
kblees Sep 8, 2013
40a4bbc
Win32: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
7e9c269
fscache: load directories only once
kblees Jun 24, 2014
68741ff
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
ebe9fca
Makefile: Set htmldir to match the default HTML docs location under MSYS
sschuberth Sep 4, 2013
434dfee
Win32: support long paths
kblees Jul 28, 2015
3b852c5
Help debugging with MSys2 by optionally executing bash with strace
dscho Feb 20, 2015
df16083
Win32: fix 'lstat("dir/")' with long paths
kblees Jul 4, 2014
11d5be1
Build Python stuff with MSys2
dscho Feb 16, 2015
3d35d0c
mingw: Embed a manifest to trick UAC into Doing The Right Thing
cesarb Mar 9, 2015
eb489dc
mingw: enable stack smashing protector
dscho Nov 2, 2015
a11b499
Avoid illegal filenames when building Documentation on NTFS
dscho Apr 6, 2015
12c3072
gettext: always use UTF-8 on native Windows
kblees Apr 9, 2015
16e2f6e
mingw: initialize HOME on startup
kblees Apr 6, 2015
521ae72
mingw: explicitly `fflush` stdout
Apr 16, 2015
8628eab
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
746ede2
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
95ac0ba
winansi: simplify loading the GetCurrentConsoleFontEx() function
dscho Jan 10, 2017
ed6d834
Unbreak interactive GPG prompt upon signing
dscho Sep 6, 2016
7e3c5ec
mingw: ensure valid CTYPE
dscho Feb 21, 2017
3a9a005
MinGW: Use MakeMaker to build the Perl libraries
sschuberth Aug 29, 2013
f091a57
Tests: optionally skip redirecting stdin/stdout/stderr
dscho Feb 20, 2015
e883a1b
Skip t9020 with MSys2
dscho Feb 23, 2015
08dc75b
mingw: make is_hidden tests in t0001/t5611 more robust
dscho Feb 21, 2017
6bc2038
t9116: work around hard-to-debug hangs
dscho Jan 11, 2017
699a244
diff: munmap() file contents before running external diff
dscho Oct 5, 2017
a9a6a15
t9001: work around hard-to-debug hangs
dscho Jan 11, 2017
626fd82
strbuf_readlink: don't call readlink twice if hint is the exact link …
kblees May 11, 2015
1bf44a1
Merge branch 'maybe-drop'
dscho Oct 12, 2018
452ced7
strbuf_readlink: support link targets that exceed PATH_MAX
kblees May 11, 2015
cd73822
lockfile.c: use is_dir_sep() instead of hardcoded '/' checks
kblees May 11, 2015
e2c1632
Win32: don't call GetFileAttributes twice in mingw_lstat()
kblees May 12, 2015
349750a
Win32: implement stat() with symlink support
kblees May 15, 2015
a8a419c
Win32: remove separate do_lstat() function
kblees May 11, 2015
ad19d10
Win32: let mingw_lstat() error early upon problems with reparse points
kblees May 23, 2015
1009fcc
Win32: teach fscache and dirent about symlinks
kblees Jan 10, 2017
d7e5e85
Win32: lstat(): return adequate stat.st_size for symlinks
kblees May 15, 2015
49800df
Win32: factor out retry logic
kblees May 19, 2015
cc13e14
Win32: change default of 'core.symlinks' to false
kblees May 23, 2015
809c4e1
Win32: add symlink-specific error codes
kblees May 15, 2015
ba90de8
Win32: mingw_unlink: support symlinks to directories
kblees May 23, 2015
ce25172
Win32: mingw_rename: support renaming symlinks
kblees May 19, 2015
c8260a5
Win32: mingw_chdir: change to symlink-resolved directory
kblees May 23, 2015
6f11674
Win32: implement readlink()
kblees May 23, 2015
3a9808a
Win32: implement basic symlink() functionality (file symlinks only)
kblees May 23, 2015
56dcee2
Win32: symlink: add support for symlinks to directories
kblees May 23, 2015
fdd6b16
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
02b5eb8
Win32: symlink: specify symlink type in .gitattributes
piscisaureus Oct 26, 2018
246eb74
mingw: try to create symlinks without elevated permissions
dscho May 30, 2017
c49ea1e
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
55dc2cd
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
b78f18d
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
8376241
mingw: support spawning programs containing spaces in their names
dscho Apr 2, 2016
2be37f1
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
91be78a
mingw: ensure that core.longPaths is handled *always*
dscho Aug 29, 2017
a46ed78
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
7790c1f
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
8f8248d
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
90cc005
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
5ea46a8
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
8e6021c
Merge branch 'program-data-config'
dscho Jun 8, 2018
9c28fb4
checkout.c: enable fscache for checkout again
Jan 30, 2018
7e86fe6
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
afcfa3d
mingw: introduce code to detect whether we're inside a Windows container
ZCube Apr 23, 2018
a3bc0e1
mingw: when running in a Windows container, try to rename() harder
ZCube Apr 23, 2018
61038e3
mingw: move the file_attr_to_st_mode() function definition
ZCube Apr 23, 2018
3b6ecd9
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
2ea4fc1
mingw: kill child processes in a gentler way
dscho May 17, 2017
41b2fbd
mingw: change core.fsyncObjectFiles = 1 by default
dscho Sep 4, 2017
28f8871
mingw: really handle SIGINT
dscho Apr 22, 2018
9e5afaa
Merge branch 'spawn-with-spaces'
dscho Oct 12, 2018
71449cb
Merge branch 'program-data-config'
dscho Jun 8, 2018
43cd305
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
9680d8f
mingw: spawned processes need to inherit only standard handles
dscho Jan 26, 2018
43c7ab8
transport-helper: prefer Git's builtins over dashed form
dscho Jul 19, 2017
503514a
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
3720149
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
82380fd
test-run-command: learn to run (parts of) the testsuite
dscho Jul 18, 2017
f0f8c04
test-lib: avoid unnecessary Perl invocation
dscho Aug 5, 2017
8a29ffd
tests: replace mingw_test_cmp with a helper in C
dscho Jun 7, 2018
a429e65
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
52a7a54
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
6a0867f
tests: use t/diff-lib/* consistently
dscho Aug 5, 2017
8c2795b
gitattributes: mark .png files as binary
dscho Oct 11, 2018
9251710
tests: move test PNGs into t/diff-lib/
dscho Aug 5, 2017
371e35d
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
275dfda
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
69c3291
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
e50bc5f
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
f18e81f
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
0cbb539
t0021: use Windows path when appropriate
dscho Aug 4, 2017
8968a4c
t1300: mark all test cases with funny filenames as !MINGW
dscho Jul 3, 2017
561ebde
t4124: avoid using "normal" diff mode
dscho Jul 5, 2017
291ff4f
t5003: use binary file from t/diff-lib/
dscho Aug 5, 2017
d755b80
t5003: skip `unzip -a` tests with BusyBox
dscho Jul 5, 2017
6b9b1c5
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
2365769
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
d85a4c7
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
8bb7004
t7063: when running under BusyBox, avoid unsupported find option
dscho Jul 19, 2017
5dad5c9
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
1f63984
t9350: skip ISO-8859-1 test when the environment is always-UTF-8
dscho Jul 8, 2017
e529db8
mingw: add a Makefile target to copy test artifacts
dscho Jul 19, 2017
1d71150
mingw (git_terminal_prompt): work around BusyBox & WSL issues
dscho Feb 23, 2018
203345d
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
ab371e3
mingw (git_terminal_prompt): turn on echo explictly
dscho Feb 23, 2018
962882c
builtin rebase: call `git am` directly
dscho Aug 23, 2018
2df3c2e
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
a927de5
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
59b1df8
Merge branch 'msvc'
jeffhostetler Oct 23, 2018
0c11311
Merge branch 'visual-studio'
jeffhostetler Oct 23, 2018
720c99f
Merge branch 'fscache'
dscho Nov 15, 2018
7fcb7c7
Merge branch 'long-paths'
dscho Nov 15, 2018
112344f
Merge branch 'msys2'
dscho Nov 15, 2018
adc2f15
Merge branch 'kblees/kb/symlinks'
dscho Nov 15, 2018
ecce915
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
863ed62
Merge branch 'program-data-config'
dscho Jun 8, 2018
1cf3ccf
Merge pull request #305 from dscho/msysgit_issues_182
dscho Jun 8, 2018
fb2adde
Merge branch 'clean-long-paths'
dscho Jun 8, 2018
246ecf6
Merge branch 'spawn-with-spaces'
dscho Jun 8, 2018
191d982
Merge pull request #994 from jeffhostetler/jeffhostetler/fscache_nfd
dscho Jun 8, 2018
0e88675
Merge branch 'core-longpaths-everywhere'
dscho Jun 8, 2018
2057db3
Merge pull request #971 from jeffhostetler/jeffhostetler/add_preload_…
dscho Jun 8, 2018
29b20b1
Merge pull request #1344 from jeffhostetler/perf_add_excludes_with_fs…
dscho Jun 8, 2018
0fd6a0c
Merge pull request #1426 from atetubou/fetch_pack
dscho Jun 8, 2018
dd7a6e0
Merge pull request #1468 from atetubou/fscache_checkout_flush
dscho Oct 12, 2018
3758037
Merge pull request #1827 from benpeart/fscache_refresh_index
dscho Sep 27, 2018
c6cf9f4
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
dc6c706
Merge branch 'status-no-lock-index'
dscho Jun 8, 2018
0e2ee09
Merge pull request #1354 from dscho/phase-out-show-ignored-directory-…
dscho Jun 8, 2018
20a0ac7
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
d652f8b
Merge pull request #1170 from dscho/mingw-kill-process
dscho Oct 11, 2018
5392a13
Merge branch 'inherit-only-stdhandles'
dscho Oct 12, 2018
f9e2df3
Merge branch 'busybox-w32'
dscho Oct 12, 2018
b9b2e86
Merge branch 'fix-terminal-prompt'
dscho Jun 8, 2018
d80705a
Merge 'readme' into HEAD
dscho Jun 7, 2018
083039e
t3903: modernize style
ungps May 21, 2018
8c9c44d
stash: rename test cases to be more descriptive
ungps May 21, 2018
24adde7
stash: add tests for `git stash show` config
ungps Aug 26, 2018
73d1d7b
stash: mention options in `show` synopsis
ungps Oct 7, 2018
b327bab
stash: convert apply to builtin
klusark Apr 5, 2018
bc6ffe0
stash: convert drop and clear to builtin
klusark Apr 5, 2018
f05f3b4
stash: convert branch to builtin
klusark Apr 5, 2018
97ab387
stash: convert pop to builtin
klusark Apr 5, 2018
ea21f53
stash: convert list to builtin
ungps May 19, 2018
4a300aa
stash: convert show to builtin
ungps May 19, 2018
0a37a65
stash: convert store to builtin
ungps May 20, 2018
8727fa5
stash: convert create to builtin
ungps Jun 27, 2018
840f9c8
stash: convert push to builtin
ungps Jul 26, 2018
ddda3fa
stash: make push -q quiet
ungps Jul 26, 2018
86da0f9
stash: convert save to builtin
ungps Jul 30, 2018
1db512f
stash: convert `stash--helper.c` into `stash.c`
ungps Jul 31, 2018
b2a64e3
stash: optimize `get_untracked_files()` and `check_changes()`
ungps Aug 1, 2018
4f9e30e
stash: replace all `write-tree` child processes with API calls
ungps Aug 2, 2018
c2ebc1d
Add back the original, scripted `git stash`
dscho Aug 24, 2018
c3bc410
stash: optionally use the scripted version again
dscho Aug 24, 2018
d880850
Merge 'ps/stash-in-c'
dscho Aug 23, 2018
b42b402
Add back the original, scripted interactive rebase backend
dscho Aug 24, 2018
dc42c01
non-builtin rebase: use non-builtin interactive backend
dscho Aug 24, 2018
e450484
Merge 'builtin-rebase--am'
dscho Aug 23, 2018
018c831
Merge branch 'make-builtin-stash-and-rebase-opt-ins'
dscho Aug 24, 2018
59c99e7
Merge 'builtin-stash-rebase-v3'
jamill Aug 28, 2018
b493c58
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
e442ffb
Merge pull request #1859 from dscho/funny-cased-cwd
dscho Oct 17, 2018
deb9da3
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
c81e0d3
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
c56bcc8
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
4baa01d
fscache: fscache takes an initial size
benpeart Nov 2, 2018
b25dac4
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
7bd04bb
At the end of the add command, disable and free the fscache so that w…
benpeart Nov 5, 2018
1a4ec57
fscache: add fscache hit statistics
benpeart Sep 25, 2018
ae9126c
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
e4438e6
Merge pull request #1908 from benpeart/FindFirstFileEx-gfw
dscho Nov 5, 2018
fd2f152
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
a9291e4
Merge pull request #1911 from benpeart/git_test_fscache-gfw
dscho Nov 5, 2018
08f3e87
Merge pull request #1914 from benpeart/free-fscache-after-add-gfw
dscho Nov 16, 2018
ea1df4e
Merge pull request #1910 from benpeart/fscache_statistics-gfw
dscho Nov 16, 2018
0e45560
mingw: add a helper function to attach GDB to the current process
dscho Nov 6, 2018
399f90c
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
2f36641
mingw: remove obsolete IPv6-related code
tanushree27 Oct 26, 2018
abcd379
Merge pull request #1915 from dscho/open-in-gdb
dscho Nov 7, 2018
41dcf81
Merge pull request #1900 from tanushree27/remove-ipv6-fallback
dscho Nov 15, 2018
b63300f
fixup! mingw: replace mingw_startup() hack
dscho Nov 21, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

# Use tabs whenever we need to fill whitespace that spans at least from one tab
# stop to the next one.
#
# These settings are mirrored in .editorconfig. Keep them in sync.
UseTab: Always
TabWidth: 8
IndentWidth: 8
Expand Down
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[*]
charset = utf-8
insert_final_newline = true

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

[*.py]
indent_style = space
indent_size = 4

[COMMIT_EDITMSG]
max_line_length = 72
6 changes: 5 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
*.png binary
*.py eol=lf diff=python
*.bat eol=crlf
/Documentation/git-*.txt eol=lf
/Documentation/**/*.txt eol=lf
/command-list.txt eol=lf
/GIT-VERSION-GEN eol=lf
/mergetools/* eol=lf
/Documentation/git-merge.txt conflict-marker-size=32
/Documentation/gitk.txt conflict-marker-size=32
/Documentation/user-manual.txt conflict-marker-size=32
/t/t????-*.sh conflict-marker-size=32
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/fuzz_corpora
/fuzz-pack-headers
/fuzz-pack-idx
/GIT-BUILD-OPTIONS
/GIT-CFLAGS
/GIT-LDFLAGS
Expand Down Expand Up @@ -102,8 +105,9 @@
/git-mergetool--lib
/git-mktag
/git-mktree
/git-name-rev
/git-multi-pack-index
/git-mv
/git-name-rev
/git-notes
/git-p4
/git-pack-redundant
Expand Down
15 changes: 14 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,20 @@ Anders Kaseorg <[email protected]> <[email protected]>
Aneesh Kumar K.V <[email protected]>
Amos Waterland <[email protected]> <[email protected]>
Amos Waterland <[email protected]> <[email protected]>
Ben Peart <[email protected]> <[email protected]>
Ben Peart <[email protected]> <[email protected]>
Ben Walton <[email protected]> <[email protected]>
Benoit Sigoure <[email protected]> <[email protected]>
Bernt Hansen <[email protected]> <[email protected]>
Brandon Casey <[email protected]> <[email protected]>
brian m. carlson <[email protected]> Brian M. Carlson <[email protected]>
brian m. carlson <[email protected]>
brian m. carlson <[email protected]> <[email protected]>
Bryan Larsen <[email protected]> <[email protected]>
Bryan Larsen <[email protected]> <[email protected]>
Cheng Renquan <[email protected]>
Chris Shoemaker <[email protected]>
Chris Wright <[email protected]> <[email protected]>
Christian Ludwig <[email protected]> <[email protected]>
Cord Seele <[email protected]> <[email protected]>
Christian Couder <[email protected]> <[email protected]>
Christian Stimming <[email protected]> <[email protected]>
Expand All @@ -51,6 +54,7 @@ David Reiss <[email protected]> <dreiss@dreiss-vmware.(none)>
David S. Miller <[email protected]>
David Turner <[email protected]> <[email protected]>
David Turner <[email protected]> <[email protected]>
Derrick Stolee <[email protected]> <[email protected]>
Deskin Miller <[email protected]>
Dirk Süsserott <[email protected]>
Eric Blake <[email protected]> <[email protected]>
Expand Down Expand Up @@ -98,6 +102,7 @@ Jens Axboe <[email protected]> <[email protected]>
Jens Lindström <[email protected]> Jens Lindstrom <[email protected]>
Jim Meyering <[email protected]> <[email protected]>
Joachim Berdal Haga <[email protected]>
Joachim Jablon <[email protected]> <[email protected]>
Johannes Schindelin <[email protected]> <[email protected]>
Johannes Sixt <[email protected]> <[email protected]>
Johannes Sixt <[email protected]> <[email protected]>
Expand Down Expand Up @@ -150,13 +155,15 @@ Mark Levedahl <[email protected]> <[email protected]>
Mark Rada <[email protected]>
Martin Langhoff <[email protected]> <[email protected]>
Martin von Zweigbergk <[email protected]> <[email protected]>
Masaya Suzuki <[email protected]> <[email protected]>
Matt Draisey <[email protected]> <[email protected]>
Matt Kraai <[email protected]> <[email protected]>
Matt McCutchen <[email protected]> <[email protected]>
Matthias Kestenholz <[email protected]> <[email protected]>
Matthias Rüster <[email protected]> Matthias Ruester
Matthias Urlichs <[email protected]> <smurf@kiste.(none)>
Matthias Urlichs <[email protected]> <[email protected]>
Matthieu Moy <[email protected]> <[email protected]>
Michael Coleman <[email protected]>
Michael J Gruber <[email protected]> <[email protected]>
Michael J Gruber <[email protected]> <[email protected]>
Expand All @@ -180,7 +187,11 @@ Nick Stokoe <[email protected]> Nick Woolley <[email protected]>
Nick Stokoe <[email protected]> Nick Woolley <[email protected]>
Nicolas Morey-Chaisemartin <[email protected]> <[email protected]>
Nicolas Morey-Chaisemartin <[email protected]> <[email protected]>
Nicolas Morey-Chaisemartin <[email protected]> <[email protected]>
Nicolas Morey-Chaisemartin <[email protected]> <[email protected]>
Nicolas Morey-Chaisemartin <[email protected]> <[email protected]>
Nicolas Sebrecht <[email protected]> <[email protected]>
Orgad Shaneh <[email protected]> <[email protected]>
Paolo Bonzini <[email protected]> <[email protected]>
Pascal Obry <[email protected]> <[email protected]>
Pascal Obry <[email protected]> <[email protected]>
Expand All @@ -200,6 +211,7 @@ Philipp A. Hartmann <[email protected]> <[email protected]>
Philippe Bruhat <[email protected]>
Ralf Thielow <[email protected]> <[email protected]>
Ramsay Jones <[email protected]> <[email protected]>
Randall S. Becker <[email protected]> <[email protected]>
René Scharfe <[email protected]> <[email protected]>
René Scharfe <[email protected]> Rene Scharfe
Richard Hansen <[email protected]> <[email protected]>
Expand Down Expand Up @@ -238,6 +250,7 @@ Steven Walter <[email protected]> <[email protected]>
Sven Verdoolaege <[email protected]> <[email protected]>
Sven Verdoolaege <[email protected]> <[email protected]>
SZEDER Gábor <[email protected]> <[email protected]>
Tao Qingyun <[email protected]> <[email protected]>
Tay Ray Chuan <[email protected]>
Ted Percival <[email protected]> <[email protected]>
Theodore Ts'o <[email protected]>
Expand Down
23 changes: 0 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: c

sudo: false

cache:
directories:
- $HOME/travis-cache
Expand All @@ -14,16 +12,6 @@ compiler:
- clang
- gcc

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- language-pack-is
- git-svn
- apache2
- gcc-8

matrix:
include:
- env: jobname=GETTEXT_POISON
Expand Down Expand Up @@ -52,22 +40,11 @@ matrix:
- env: jobname=StaticAnalysis
os: linux
compiler:
addons:
apt:
packages:
- coccinelle
before_install:
script: ci/run-static-analysis.sh
after_failure:
- env: jobname=Documentation
os: linux
compiler:
addons:
apt:
packages:
- asciidoc
- xmlto
before_install:
script: ci/test-documentation.sh
after_failure:

Expand Down
23 changes: 22 additions & 1 deletion Documentation/CodingGuidelines
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,24 @@ For shell scripts specifically (not exhaustive):
do this
fi

- If a command sequence joined with && or || or | spans multiple
lines, put each command on a separate line and put && and || and |
operators at the end of each line, rather than the start. This
means you don't need to use \ to join lines, since the above
operators imply the sequence isn't finished.

(incorrect)
grep blob verify_pack_result \
| awk -f print_1.awk \
| sort >actual &&
...

(correct)
grep blob verify_pack_result |
awk -f print_1.awk |
sort >actual &&
...

- We prefer "test" over "[ ... ]".

- We do not write the noiseword "function" in front of shell
Expand Down Expand Up @@ -358,7 +376,10 @@ For C programs:
string_list for sorted string lists, a hash map (mapping struct
objects) named "struct decorate", amongst other things.

- When you come up with an API, document it.
- When you come up with an API, document its functions and structures
in the header file that exposes the API to its callers. Use what is
in "strbuf.h" as a model for the appropriate tone and level of
detail.

- The first #include in C files, except in platform specific compat/
implementations, must be either "git-compat-util.h", "cache.h" or
Expand Down
4 changes: 2 additions & 2 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ docdep_prereqs = \
mergetools-list.made $(mergetools_txt) \
cmd-list.made $(cmds_txt)

doc.dep : $(docdep_prereqs) $(wildcard *.txt) build-docdep.perl
doc.dep : $(docdep_prereqs) $(wildcard *.txt) $(wildcard config/*.txt) build-docdep.perl
$(QUIET_GEN)$(RM) [email protected] $@ && \
$(PERL_PATH) ./build-docdep.perl >[email protected] $(QUIET_STDERR) && \
mv [email protected] $@
Expand Down Expand Up @@ -344,7 +344,7 @@ $(OBSOLETE_HTML): %.html : %.txto asciidoc.conf
mv [email protected] $@

manpage-base-url.xsl: manpage-base-url.xsl.in
sed "s|@@MAN_BASE_URL@@|$(MAN_BASE_URL)|" $< > $@
$(QUIET_GEN)sed "s|@@MAN_BASE_URL@@|$(MAN_BASE_URL)|" $< > $@

%.1 %.5 %.7 : %.xml manpage-base-url.xsl
$(QUIET_XMLTO)$(RM) $@ && \
Expand Down
Loading