Skip to content

Commit bcde1b2

Browse files
committed
Merge branch 'ra/cherry-pick-skip' into HEAD
2 parents f3f8311 + 8c15c01 commit bcde1b2

File tree

612 files changed

+68494
-43764
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

612 files changed

+68494
-43764
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Cpp11BracedListStyle: false
149149

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

154154
# The maximum number of consecutive empty lines to keep.
155155
MaxEmptyLinesToKeep: 1

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Git community does not use github.com for their contributions. Instead, we use
55
a mailing list ([email protected]) for code submissions, code
66
reviews, and bug reports.
77

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

1111
Please read ["A note from the maintainer"](https://git.kernel.org/pub/scm/git/git.git/plain/MaintNotes?h=todo)

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Thanks for taking the time to contribute to Git! Please be advised that the
22
Git community does not use github.com for their contributions. Instead, we use
33
a mailing list ([email protected]) for code submissions, code reviews, and
4-
bug reports. Nevertheless, you can use submitGit to conveniently send your Pull
5-
Requests commits to our mailing list.
4+
bug reports. Nevertheless, you can use GitGitGadget (https://gitgitgadget.github.io/)
5+
to conveniently send your Pull Requests commits to our mailing list.
66

77
Please read the "guidelines for contributing" linked above!

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
/git-init-db
8383
/git-interpret-trailers
8484
/git-instaweb
85-
/git-legacy-rebase
85+
/git-legacy-stash
8686
/git-log
8787
/git-ls-files
8888
/git-ls-remote
@@ -135,7 +135,6 @@
135135
/git-remote-ftps
136136
/git-remote-fd
137137
/git-remote-ext
138-
/git-remote-testgit
139138
/git-remote-testpy
140139
/git-remote-testsvn
141140
/git-repack

.travis.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@ matrix:
2121
compiler:
2222
addons:
2323
before_install:
24-
- env: jobname=Windows
25-
os: linux
26-
compiler:
27-
addons:
28-
before_install:
29-
script:
30-
- >
31-
test "$TRAVIS_REPO_SLUG" != "git/git" ||
32-
ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
33-
after_failure:
3424
- env: jobname=Linux32
3525
os: linux
3626
compiler:

Documentation/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ mergetools-*.txt
1313
manpage-base-url.xsl
1414
SubmittingPatches.txt
1515
tmp-doc-diff/
16+
GIT-ASCIIDOCFLAGS
17+
/GIT-EXCLUDED-PROGRAMS

Documentation/CodingGuidelines

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,11 +580,14 @@ Writing Documentation:
580580
or commands:
581581

582582
Literal examples (e.g. use of command-line options, command names,
583-
branch names, configuration and environment variables) must be
584-
typeset in monospace (i.e. wrapped with backticks):
583+
branch names, URLs, pathnames (files and directories), configuration and
584+
environment variables) must be typeset in monospace (i.e. wrapped with
585+
backticks):
585586
`--pretty=oneline`
586587
`git rev-list`
587588
`remote.pushDefault`
589+
`http://git.example.com`
590+
`.git/config`
588591
`GIT_DIR`
589592
`HEAD`
590593

Documentation/Makefile

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ ARTICLES =
77
SP_ARTICLES =
88
OBSOLETE_HTML =
99

10+
-include GIT-EXCLUDED-PROGRAMS
11+
1012
MAN1_TXT += $(filter-out \
13+
$(patsubst %,%.txt,$(EXCLUDED_PROGRAMS)) \
1114
$(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
1215
$(wildcard git-*.txt))
1316
MAN1_TXT += git.txt
1417
MAN1_TXT += gitk.txt
15-
MAN1_TXT += gitremote-helpers.txt
1618
MAN1_TXT += gitweb.txt
1719

1820
MAN5_TXT += gitattributes.txt
@@ -30,6 +32,7 @@ MAN7_TXT += gitdiffcore.txt
3032
MAN7_TXT += giteveryday.txt
3133
MAN7_TXT += gitglossary.txt
3234
MAN7_TXT += gitnamespaces.txt
35+
MAN7_TXT += gitremote-helpers.txt
3336
MAN7_TXT += gitrevisions.txt
3437
MAN7_TXT += gitsubmodules.txt
3538
MAN7_TXT += gittutorial-2.txt
@@ -331,6 +334,15 @@ mergetools-list.made: ../git-mergetool--lib.sh $(wildcard ../mergetools/*)
331334
show_tool_names can_merge "* " || :' >mergetools-merge.txt && \
332335
date >$@
333336

337+
TRACK_ASCIIDOCFLAGS = $(subst ','\'',$(ASCIIDOC_COMMON):$(ASCIIDOC_HTML):$(ASCIIDOC_DOCBOOK))
338+
339+
GIT-ASCIIDOCFLAGS: FORCE
340+
@FLAGS='$(TRACK_ASCIIDOCFLAGS)'; \
341+
if test x"$$FLAGS" != x"`cat GIT-ASCIIDOCFLAGS 2>/dev/null`" ; then \
342+
echo >&2 " * new asciidoc flags"; \
343+
echo "$$FLAGS" >GIT-ASCIIDOCFLAGS; \
344+
fi
345+
334346
clean:
335347
$(RM) *.xml *.xml+ *.html *.html+ *.1 *.5 *.7
336348
$(RM) *.texi *.texi+ *.texi++ git.info gitman.info
@@ -340,30 +352,31 @@ clean:
340352
$(RM) SubmittingPatches.txt
341353
$(RM) $(cmds_txt) $(mergetools_txt) *.made
342354
$(RM) manpage-base-url.xsl
355+
$(RM) GIT-ASCIIDOCFLAGS
343356

344-
$(MAN_HTML): %.html : %.txt asciidoc.conf
357+
$(MAN_HTML): %.html : %.txt asciidoc.conf asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
345358
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
346359
$(TXT_TO_HTML) -d manpage -o $@+ $< && \
347360
mv $@+ $@
348361

349-
$(OBSOLETE_HTML): %.html : %.txto asciidoc.conf
362+
$(OBSOLETE_HTML): %.html : %.txto asciidoc.conf asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
350363
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
351364
$(TXT_TO_HTML) -o $@+ $< && \
352365
mv $@+ $@
353366

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

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

361-
%.xml : %.txt asciidoc.conf
374+
%.xml : %.txt asciidoc.conf asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
362375
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
363376
$(TXT_TO_XML) -d manpage -o $@+ $< && \
364377
mv $@+ $@
365378

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

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

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

432446
howto/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
433-
$(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
447+
$(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt GIT-ASCIIDOCFLAGS
434448
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
435449
sed -e '1,/^$$/d' $< | \
436450
$(TXT_TO_HTML) - >$@+ && \

0 commit comments

Comments
 (0)