Skip to content

[TEST] v2.22.0 release candidates #2192

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

Merged
merged 2,080 commits into from
Jun 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2080 commits
Select commit Hold shift + click to select a range
af71e9c
.gitignore: ignore Visual Studio's temporary/generated files
dscho Oct 25, 2016
e7c5d18
push: do not pretend to return `int` from `die_push_simple()`
dscho Apr 3, 2019
bde6cec
bin-wrappers: append `.exe` to target paths if necessary
dscho Nov 25, 2016
fa01597
msvc: avoid using minus operator on unsigned types
dscho Apr 3, 2019
57f4989
t5505,t5516: create .git/branches/ when needed
dscho Nov 30, 2016
eba06cb
winansi: use FLEX_ARRAY to avoid compiler warning
dscho Apr 3, 2019
3bdf50c
git: avoid calling aliased builtins via their dashed form
dscho Nov 28, 2016
29a1543
compat/win32/path-utils.h: add #include guards
dscho Apr 3, 2019
a0e2fa0
msvc: ignore some libraries when linking
dscho Apr 3, 2019
7364842
msvc: handle DEVELOPER=1
dscho Apr 3, 2019
3f788be
msvc: work around a bug in GetEnvironmentVariable()
dscho Apr 4, 2019
9489119
ci: really use shallow clones on Azure Pipelines
dscho Apr 3, 2019
bb6cac5
mingw: get pw_name in UTF-8 format
dscho Feb 26, 2019
791dde2
ci: also test with MS Visual C on Azure Pipelines
dscho Apr 2, 2019
76a1f9a
Windows: add support for a Windows-wide configuration
dscho Apr 22, 2015
800cc09
mingw: use Unicode functions explicitly
dscho Nov 27, 2018
58f9ced
diff: munmap() file contents before running external diff
dscho Oct 5, 2017
37fd8ea
mingw: Embed a manifest to trick UAC into Doing The Right Thing
cesarb Mar 9, 2015
7e42723
mingw: enable stack smashing protector
dscho Nov 2, 2015
db0a794
Avoid illegal filenames when building Documentation on NTFS
dscho Apr 6, 2015
f01492f
remove_dirs: do not swallow error when stat() failed
dscho Feb 16, 2016
c0aeffe
gettext: always use UTF-8 on native Windows
kblees Apr 9, 2015
01ec4ed
mingw: initialize HOME on startup
kblees Apr 6, 2015
449b32b
t7300: `git clean -dfx` must show an error with long paths
dscho Feb 16, 2016
decb4f3
mingw: support spawning programs containing spaces in their names
dscho Apr 2, 2016
0596829
mingw: change core.fsyncObjectFiles = 1 by default
dscho Sep 4, 2017
f123b8e
gitk: prevent overly long command lines
dscho Apr 25, 2019
17bd93a
bisect--helper: verify HEAD could be parsed before continuing
dscho May 9, 2019
84cfde8
t9001, t9116: avoid pipes
dscho Jan 11, 2017
7bdb733
mingw: explicitly `fflush` stdout
Apr 16, 2015
81c6a28
Drop unused git-rebase--am.sh
dscho May 14, 2019
3ce93f0
t3400: stop referring to the scripted rebase
dscho May 14, 2019
9c28751
commit-graph: use raw_object_store when closing
derrickstolee May 17, 2019
29f83fd
.gitignore: there is no longer a built-in `git-rebase--interactive`
dscho May 14, 2019
c33a4f2
packfile: close commit-graph in close_all_packs
derrickstolee May 17, 2019
3069956
sequencer: the `am` and `rebase--interactive` scripts are gone
dscho May 14, 2019
d0c473d
fill_stat_cache_info(): prepare for an fsmonitor fix
dscho May 23, 2019
ec29454
mingw: make is_hidden tests in t0001/t5611 more robust
dscho Feb 21, 2017
017a691
packfile: close_all_packs to close_object_store
derrickstolee May 17, 2019
7549313
rebase: fold git-rebase--common into the -p backend
dscho May 14, 2019
187f852
mark_fsmonitor_valid(): mark the index as changed if needed
dscho May 23, 2019
1793c79
sha1-file: split OBJECT_INFO_FOR_PREFETCH
derrickstolee May 28, 2019
257e52d
Merge branch 'reset-stdin'
dscho Jun 8, 2018
43201af
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
da09c67
Merge 'fix-externals' into HEAD
dscho Jun 8, 2018
0c22e06
Merge branch 'gitdir-at-unc-root'
dscho Oct 11, 2018
c779ecb
Merge pull request #996 from jeffhostetler/jeffhostetler/register_ren…
dscho Jun 8, 2018
5202e1c
rebase -r: always reword merge -c
phillipwood May 2, 2019
96afad6
Merge branch 'drive-prefix'
dscho Jun 8, 2018
548d777
Merge branch 'test-unc-fetch'
dscho Oct 11, 2018
127b17e
Merge branch 'file-url-to-unc-path'
dscho Jun 8, 2018
b2e77b4
Merge branch 'mingw-expand-absolute-user-path'
dscho Oct 12, 2018
321454c
Merge pull request #1859 from dscho/funny-cased-cwd
dscho Oct 17, 2018
7ce2275
Merge pull request #1915 from dscho/open-in-gdb
dscho Nov 7, 2018
47ca123
Merge branch 'dont-spawn-gzip-in-archive'
dscho Feb 21, 2019
9f09372
Merge remote-tracking branch 'dscho/add-p' into add-p-g4w
dscho Apr 3, 2019
ccc9fe4
Merge branch 'msvc'
jeffhostetler Oct 23, 2018
481d6b9
Merge branch 'visual-studio'
jeffhostetler Oct 23, 2018
20af8cb
Merge pull request #2148 from dscho/azure-pipelines-msvc
dscho Apr 10, 2019
d6e4a92
Merge branch 'program-data-config'
dscho Jun 8, 2018
9b294bf
mingw: allow compiling with GCC 8 and DEVELOPER=1
dscho Mar 29, 2019
7691a90
kwset: allow building with GCC 8
dscho Mar 29, 2019
f31b1f7
Revert "git-gui: set GIT_DIR and GIT_WORK_TREE after setup"
hvoigt Feb 18, 2010
02a392e
git-gui--askyesno: fix funny text wrapping
dscho Sep 20, 2017
4947b1a
git-gui: provide question helper for retry fallback on Windows
hvoigt Feb 21, 2010
a4528d7
gitk: Unicode file name support
kblees Feb 4, 2012
ad53d00
git-gui--askyesno: allow overriding the window title
dscho Sep 20, 2017
30e9c6f
git gui: set GIT_ASKPASS=git-gui--askpass if not set yet
dscho Jul 23, 2010
a8b4863
git-gui (Windows): use git-bash.exe if it is available
tomyy Oct 18, 2015
c293e3a
respect core.hooksPath, falling back to .git/hooks
dscho Oct 4, 2018
f0542bb
gitk: Use an external icon file on Windows
sschuberth Jul 22, 2012
cc38f10
git-gui: correctly restore GIT_DIR after invoking gitk
max630 Jan 18, 2017
ca9f7aa
git-gui--askyesno (mingw): use Git for Windows' icon, if available
dscho Sep 20, 2017
6cce494
Merge 'git-gui' into HEAD
dscho Jun 7, 2018
bf9d5b1
Merge branch 'msys2-git-gui'
dscho Jun 7, 2018
472e5b3
Merge branch 'git-gui-hooks-path' of https://github.com/dscho/git-gui
dscho Jul 10, 2018
3683ac7
gitk: fix arrow keys in input fields with Tcl/Tk >= 8.6
dscho Feb 16, 2016
fa9ae9f
Merge pull request #1032 from max630/gitgui_GIT_GIT_unset
dscho Jun 8, 2018
e1d3957
gitk: make the "list references" default window width wider
sidecut Jan 21, 2016
fd4033e
Merge branch 'git-gui-askyesno'
dscho Jun 8, 2018
3286490
Merge 'gitk' into HEAD
dscho Jun 7, 2018
5a6d660
status: reinstate --show-ignored-directory as a deprecated option
dscho Nov 9, 2017
f59ea3f
Add a Code of Conduct
dscho Jul 24, 2015
1f3eea1
status: carry the --no-lock-index option for backwards-compatibility
dscho Aug 12, 2016
c43dbd0
status: verify that --show-ignored-directory prints a warning
dscho Nov 9, 2017
6427bc5
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
eb320e1
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
51c60d2
Add an issue template
shiftkey Feb 18, 2016
6a853ce
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
1b2b3b5
.github: Add configuration for the Sentiment Bot
dscho Feb 20, 2018
a9d750f
Document how $HOME is set on Windows
alejandro5042 Mar 9, 2018
cd2071d
winansi: simplify loading the GetCurrentConsoleFontEx() function
dscho Jan 10, 2017
414a402
Help debugging with MSys2 by optionally executing bash with strace
dscho Feb 20, 2015
b9f03c3
Build Python stuff with MSys2
dscho Feb 16, 2015
17b5778
Merge branch 'ansi-unicode'
dscho May 20, 2019
c54537c
Merge branch 'munmap-before-ext-diff'
dscho May 13, 2019
78b1d32
Merge branch 'mingw-manifest'
dscho May 13, 2019
2553275
Merge branch 'mingw-stack-smashing-protector'
dscho May 13, 2019
4c3e1d9
Merge branch 'mingw-avoid-illegal-filenames'
dscho May 13, 2019
8c2c888
Merge branch 'gettext-force-utf-8-on-windows'
dscho May 13, 2019
5ecab34
Merge branch 'mingw-home'
dscho May 13, 2019
9db9052
Merge branch 'clean-long-paths'
dscho Jun 8, 2018
49356b1
Merge branch 'spawn-with-spaces'
dscho Oct 12, 2018
700362b
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
cc6739f
Merge pull request #2170 from dscho/gitk-long-cmdline
dscho Apr 26, 2019
96669ec
Merge branch 'address-coverity-reports'
dscho May 9, 2019
cee5247
Merge branch 'avoid-pipes-in-svn-tests'
dscho May 31, 2019
2c79b23
Merge branch 'fflush-in-git-clean'
dscho May 31, 2019
2674b8a
Merge branch 'robustify-is-hidden-tests'
dscho May 31, 2019
2ae2e3c
Merge pull request #2149 from dscho/gcc-8-gfw
dscho Apr 5, 2019
2aa2ef1
Merge branch 'close-graph-everywhere'
dscho May 18, 2019
92d02c8
Merge 'drop-rebase--am.sh'
dscho May 25, 2019
66cec40
Merge pull request #2203 from dscho/fix-racy-fsmonitor-gfw
dscho Jun 8, 2018
a5f7178
Merge branch 'ds/object-info-for-prefetch-fix' into jch
gitster May 28, 2019
57e2b1e
Merge branch 'always-reword-merge-c'
dscho May 31, 2019
38b3050
Merge branch 'lazy-load-in-winansi'
dscho May 31, 2019
0b30dff
Merge branch 'msys2-strace'
dscho May 31, 2019
71da343
Merge branch 'msys2-python'
dscho May 31, 2019
e985fc1
mingw: demonstrate that all file handles are inherited by child proce…
dscho Jan 26, 2018
47a9aa5
mingw: work around incorrect standard handles
dscho Feb 7, 2018
f32320d
Allow `add -p` and `add -i` with a large number of files
kkheller May 27, 2015
253d2e6
mingw: spawned processes need to inherit only standard handles
dscho Jan 26, 2018
38b37c6
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
b10d04f
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
0bf37fb
Win32: Make the dirent implementation pluggable
kblees Sep 8, 2013
bef946a
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
cc2dea2
add infrastructure for read-only file system level caches
kblees Sep 8, 2013
52ca5ce
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
018c51d
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
a4ed46c
Win32: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
feb9eec
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
df25299
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
71f5574
t3701: verify that we can add *lots* of files interactively
dscho Sep 12, 2015
9d743bd
fscache: load directories only once
kblees Jun 24, 2014
380a0d7
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
2403582
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
0f0710c
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
d60fbef
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
03d083d
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
ce5877f
fscache: fscache takes an initial size
benpeart Nov 2, 2018
073a51a
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
693b06e
checkout.c: enable fscache for checkout again
Jan 30, 2018
37aa07f
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
b0d9999
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
4d5c2e9
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
fac12af
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
4de3d65
At the end of the add command, disable and free the fscache so that w…
benpeart Nov 5, 2018
69057a4
fscache: add fscache hit statistics
benpeart Sep 25, 2018
d5eaf00
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
064922f
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
4aa5153
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
0141a8e
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
81909fb
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
02152ca
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
e3aafc2
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
1df0970
Win32: support long paths
kblees Jul 28, 2015
16e355a
Unbreak interactive GPG prompt upon signing
dscho Sep 6, 2016
0fc171b
Win32: fix 'lstat("dir/")' with long paths
kblees Jul 4, 2014
9ef25b6
mingw: disable t9020
dscho Feb 23, 2015
7aa6528
mingw: ensure valid CTYPE
dscho Feb 21, 2017
a9bebca
strbuf_readlink: don't call readlink twice if hint is the exact link …
kblees May 11, 2015
0ad1cb7
mingw: ensure that core.longPaths is handled *always*
dscho Aug 29, 2017
29e23c4
Merge branch 'maybe-drop'
dscho Oct 12, 2018
d571a15
strbuf_readlink: support link targets that exceed PATH_MAX
kblees May 11, 2015
66a50f4
lockfile.c: use is_dir_sep() instead of hardcoded '/' checks
kblees May 11, 2015
59c14a4
Win32: don't call GetFileAttributes twice in mingw_lstat()
kblees May 12, 2015
59e8f42
Win32: implement stat() with symlink support
kblees May 15, 2015
bcaded3
Win32: remove separate do_lstat() function
kblees May 11, 2015
b34e184
Win32: let mingw_lstat() error early upon problems with reparse points
kblees May 23, 2015
360c0f6
Win32: teach fscache and dirent about symlinks
kblees Jan 10, 2017
a29a210
Win32: lstat(): return adequate stat.st_size for symlinks
kblees May 15, 2015
c7d5b1c
Win32: factor out retry logic
kblees May 19, 2015
5956645
Win32: change default of 'core.symlinks' to false
kblees May 23, 2015
c3ef04a
Win32: add symlink-specific error codes
kblees May 15, 2015
ce67686
Win32: mingw_unlink: support symlinks to directories
kblees May 23, 2015
599b4f3
Win32: mingw_rename: support renaming symlinks
kblees May 19, 2015
8029991
Win32: mingw_chdir: change to symlink-resolved directory
kblees May 23, 2015
665e4fc
Win32: implement readlink()
kblees May 23, 2015
81f0aae
Win32: implement basic symlink() functionality (file symlinks only)
kblees May 23, 2015
f177f10
Win32: symlink: add support for symlinks to directories
kblees May 23, 2015
70f7739
mingw: introduce code to detect whether we're inside a Windows container
ZCube Apr 23, 2018
6014ebb
mingw: try to create symlinks without elevated permissions
dscho May 30, 2017
4767ba5
Merge branch 'inherit-only-stdhandles'
dscho Jan 31, 2018
95c21e9
transport-helper: prefer Git's builtins over dashed form
dscho Jul 19, 2017
e1b89ad
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
62803f5
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
3162137
test-run-command: learn to run (parts of) the testsuite
dscho Jul 18, 2017
b0d8eaf
mingw: when running in a Windows container, try to rename() harder
ZCube Apr 23, 2018
3990fdd
test-lib: avoid unnecessary Perl invocation
dscho Aug 5, 2017
b0274fe
mingw: move the file_attr_to_st_mode() function definition
ZCube Apr 23, 2018
9932a83
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
f08d8fb
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
47c57cd
tests: replace mingw_test_cmp with a helper in C
dscho Jun 7, 2018
a678528
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
f19a197
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
ba5944f
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
302ccc1
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
cf75e41
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
fa7a3c4
tests: use t/diff-lib/* consistently
dscho Aug 5, 2017
61e6c09
gitattributes: mark .png files as binary
dscho Oct 11, 2018
c454961
tests: move test PNGs into t/diff-lib/
dscho Aug 5, 2017
d6657f3
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
39c3b81
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
cfc7b33
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
fbe707e
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
73fb5c9
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
1c8922f
t0021: use Windows path when appropriate
dscho Aug 4, 2017
1b1eefc
t1300: mark all test cases with funny filenames as !MINGW
dscho Jul 3, 2017
8182beb
t4124: avoid using "normal" diff mode
dscho Jul 5, 2017
1afe683
t5003: use binary file from t/diff-lib/
dscho Aug 5, 2017
df5e4e5
t5003: skip `unzip -a` tests with BusyBox
dscho Jul 5, 2017
1c4e1a0
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
6e7e69b
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
fa651bc
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
71cf3be
t7063: when running under BusyBox, avoid unsupported find option
dscho Jul 19, 2017
add8aeb
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
1382f2c
t9350: skip ISO-8859-1 test when the environment is always-UTF-8
dscho Jul 8, 2017
8edc6b2
mingw: kill child processes in a gentler way
dscho May 17, 2017
16bf4e3
mingw: add a Makefile target to copy test artifacts
dscho Jul 19, 2017
47b6871
mingw: really handle SIGINT
dscho Apr 22, 2018
41319b1
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
0c9d990
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
3dec908
Merge branch 'inherit-only-stdhandles'
dscho Jan 31, 2018
3231d95
Merge 'add-p-many-files'
dscho Jun 8, 2018
6d7ea66
Merge branch 'fscache'
dscho Nov 15, 2018
ba0c805
Merge pull request #994 from jeffhostetler/jeffhostetler/fscache_nfd
dscho Jun 8, 2018
7f827f2
Merge pull request #971 from jeffhostetler/jeffhostetler/add_preload_…
dscho Jun 8, 2018
7e5e5a8
Merge pull request #1344 from jeffhostetler/perf_add_excludes_with_fs…
dscho Jun 8, 2018
ae77704
Merge pull request #1426 from atetubou/fetch_pack
dscho Jun 8, 2018
db26371
Merge pull request #1468 from atetubou/fscache_checkout_flush
dscho Oct 12, 2018
ecfe59d
Merge pull request #1827 from benpeart/fscache_refresh_index
dscho Sep 27, 2018
c296f74
Merge pull request #1908 from benpeart/FindFirstFileEx-gfw
dscho Nov 5, 2018
44fcf2c
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
6b8bbe6
Merge pull request #1911 from benpeart/git_test_fscache-gfw
dscho Nov 5, 2018
fb7a3a3
Merge pull request #1914 from benpeart/free-fscache-after-add-gfw
dscho Nov 16, 2018
dbfc7cc
Merge pull request #1910 from benpeart/fscache_statistics-gfw
dscho Nov 16, 2018
211e636
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
4ec82ea
Merge pull request #1934 from benpeart/fscache-thread-safe-enable-gfw
dscho Nov 26, 2018
b534b35
Merge pull request #1937 from benpeart/fscache-NtQueryDirectoryFile-gfw
dscho Nov 27, 2018
4074deb
Merge branch 'long-paths'
dscho Nov 15, 2018
6e5365c
Merge branch 'msys2'
dscho Nov 15, 2018
23e440b
Merge branch 'kblees/kb/symlinks'
dscho Nov 15, 2018
5f14fd1
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
5fc9ac3
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
303bc3b
Merge pull request #2091 from dscho/symlink-attr-extra
dscho Feb 26, 2019
05b8401
Merge branch 'busybox-w32'
dscho Feb 7, 2019
b59ebe0
Merge pull request #1170 from dscho/mingw-kill-process
dscho Oct 11, 2018
0eada6e
Merge branch 'status-no-lock-index'
dscho Jun 8, 2018
dca576a
Merge pull request #1354 from dscho/phase-out-show-ignored-directory-…
dscho Jun 8, 2018
acdae51
Merge 'readme' into HEAD
dscho Jun 7, 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: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Cpp11BracedListStyle: false

# A list of macros that should be interpreted as foreach loops instead of as
# function calls.
ForEachMacros: ['for_each_string_list_item']
ForEachMacros: ['for_each_string_list_item', 'for_each_wanted_builtin', 'for_each_builtin', 'for_each_ut']

# The maximum number of consecutive empty lines to keep.
MaxEmptyLinesToKeep: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Git community does not use github.com for their contributions. Instead, we use
a mailing list (git@vger.kernel.org) for code submissions, code
reviews, and bug reports.

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

Please read ["A note from the maintainer"](https://git.kernel.org/pub/scm/git/git.git/plain/MaintNotes?h=todo)
Expand Down
13 changes: 7 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
Thanks for taking the time to contribute to Git!

Those seeking to contribute to the Git for Windows fork should see
http://gitforwindows.org/#contribute on how to contribute Windows specific enhancements.
http://gitforwindows.org/#contribute on how to contribute Windows specific
enhancements.

If your contribution is for the core Git functions and documentation
please be aware that the Git community does not use the github.com issues
or pull request mechanism for their contributions.
or pull request mechanism for their contributions.

Instead, we use the Git mailing list (git@vger.kernel.org) for code and
Instead, we use the Git mailing list (git@vger.kernel.org) for code and
documenatation submissions, code reviews, and bug reports. The
mailing list is plain text only (anything with HTML is sent directly
to the spam folder).
to the spam folder).

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

Please read the "guidelines for contributing" linked above!
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@
/git-init-db
/git-interpret-trailers
/git-instaweb
/git-legacy-rebase
/git-legacy-rebase--interactive
/git-legacy-stash
/git-log
/git-ls-files
Expand Down Expand Up @@ -124,9 +122,6 @@
/git-range-diff
/git-read-tree
/git-rebase
/git-rebase--am
/git-rebase--common
/git-rebase--interactive
/git-rebase--preserve-merges
/git-receive-pack
/git-reflog
Expand All @@ -137,7 +132,6 @@
/git-remote-ftps
/git-remote-fd
/git-remote-ext
/git-remote-testgit
/git-remote-testpy
/git-remote-testsvn
/git-repack
Expand Down
10 changes: 0 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ matrix:
compiler:
addons:
before_install:
- env: jobname=Windows
os: linux
compiler:
addons:
before_install:
script:
- >
test "$TRAVIS_REPO_SLUG" != "git/git" ||
ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
after_failure:
- env: jobname=Linux32
os: linux
compiler:
Expand Down
2 changes: 2 additions & 0 deletions Documentation/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ mergetools-*.txt
manpage-base-url.xsl
SubmittingPatches.txt
tmp-doc-diff/
GIT-ASCIIDOCFLAGS
/GIT-EXCLUDED-PROGRAMS
7 changes: 5 additions & 2 deletions Documentation/CodingGuidelines
Original file line number Diff line number Diff line change
Expand Up @@ -580,11 +580,14 @@ Writing Documentation:
or commands:

Literal examples (e.g. use of command-line options, command names,
branch names, configuration and environment variables) must be
typeset in monospace (i.e. wrapped with backticks):
branch names, URLs, pathnames (files and directories), configuration and
environment variables) must be typeset in monospace (i.e. wrapped with
backticks):
`--pretty=oneline`
`git rev-list`
`remote.pushDefault`
`http://git.example.com`
`.git/config`
`GIT_DIR`
`HEAD`

Expand Down
30 changes: 22 additions & 8 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ ARTICLES =
SP_ARTICLES =
OBSOLETE_HTML =

-include GIT-EXCLUDED-PROGRAMS

MAN1_TXT += $(filter-out \
$(patsubst %,%.txt,$(EXCLUDED_PROGRAMS)) \
$(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
$(wildcard git-*.txt))
MAN1_TXT += git.txt
MAN1_TXT += gitk.txt
MAN1_TXT += gitremote-helpers.txt
MAN1_TXT += gitweb.txt

MAN5_TXT += gitattributes.txt
Expand All @@ -30,6 +32,7 @@ MAN7_TXT += gitdiffcore.txt
MAN7_TXT += giteveryday.txt
MAN7_TXT += gitglossary.txt
MAN7_TXT += gitnamespaces.txt
MAN7_TXT += gitremote-helpers.txt
MAN7_TXT += gitrevisions.txt
MAN7_TXT += gitsubmodules.txt
MAN7_TXT += gittutorial-2.txt
Expand Down Expand Up @@ -331,6 +334,15 @@ mergetools-list.made: ../git-mergetool--lib.sh $(wildcard ../mergetools/*)
show_tool_names can_merge "* " || :' >mergetools-merge.txt && \
date >$@

TRACK_ASCIIDOCFLAGS = $(subst ','\'',$(ASCIIDOC_COMMON):$(ASCIIDOC_HTML):$(ASCIIDOC_DOCBOOK))

GIT-ASCIIDOCFLAGS: FORCE
@FLAGS='$(TRACK_ASCIIDOCFLAGS)'; \
if test x"$$FLAGS" != x"`cat GIT-ASCIIDOCFLAGS 2>/dev/null`" ; then \
echo >&2 " * new asciidoc flags"; \
echo "$$FLAGS" >GIT-ASCIIDOCFLAGS; \
fi

clean:
$(RM) *.xml *.xml.new *.html *.html.new *.1 *.5 *.7
$(RM) *.texi *.texi.new *.texi.new.new git.info gitman.info
Expand All @@ -340,30 +352,31 @@ clean:
$(RM) SubmittingPatches.txt
$(RM) $(cmds_txt) $(mergetools_txt) *.made
$(RM) manpage-base-url.xsl
$(RM) GIT-ASCIIDOCFLAGS

$(MAN_HTML): %.html : %.txt asciidoc.conf
$(MAN_HTML): %.html : %.txt asciidoc.conf asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
$(QUIET_ASCIIDOC)$(RM) $@.new $@ && \
$(TXT_TO_HTML) -d manpage -o $@.new $< && \
mv $@.new $@

$(OBSOLETE_HTML): %.html : %.txto asciidoc.conf
$(OBSOLETE_HTML): %.html : %.txto asciidoc.conf asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
$(QUIET_ASCIIDOC)$(RM) $@.new $@ && \
$(TXT_TO_HTML) -o $@.new $< && \
mv $@.new $@

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

%.1 %.5 %.7 : %.xml manpage-base-url.xsl
%.1 %.5 %.7 : %.xml manpage-base-url.xsl $(wildcard manpage*.xsl)
$(QUIET_XMLTO)$(RM) $@ && \
$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<

%.xml : %.txt asciidoc.conf
%.xml : %.txt asciidoc.conf asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
$(QUIET_ASCIIDOC)$(RM) $@.new $@ && \
$(TXT_TO_XML) -d manpage -o $@.new $< && \
mv $@.new $@

user-manual.xml: user-manual.txt user-manual.conf
user-manual.xml: user-manual.txt user-manual.conf asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
$(QUIET_ASCIIDOC)$(RM) $@.new $@ && \
$(TXT_TO_XML) -d book -o $@.new $< && \
mv $@.new $@
Expand All @@ -373,7 +386,8 @@ technical/api-index.txt: technical/api-index-skel.txt \
$(QUIET_GEN)cd technical && '$(SHELL_PATH_SQ)' ./api-index.sh

technical/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
$(patsubst %,%.html,$(API_DOCS) technical/api-index $(TECH_DOCS)): %.html : %.txt asciidoc.conf
$(patsubst %,%.html,$(API_DOCS) technical/api-index $(TECH_DOCS)): %.html : %.txt \
asciidoc.conf GIT-ASCIIDOCFLAGS
$(QUIET_ASCIIDOC)$(TXT_TO_HTML) $*.txt

SubmittingPatches.txt: SubmittingPatches
Expand Down Expand Up @@ -430,7 +444,7 @@ $(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt
WEBDOC_DEST = /pub/software/scm/git/docs

howto/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
$(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
$(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt GIT-ASCIIDOCFLAGS
$(QUIET_ASCIIDOC)$(RM) $@.new $@ && \
sed -e '1,/^$$/d' $< | \
$(TXT_TO_HTML) - >$@.new && \
Expand Down
Loading