Compare

2e8a9d94b009c69628e29bc7c50d9a3fc12e14ba..43ce3bafb8b886a02887e714d18ca74a0a43f27e

gitk: use more natural language for labels of color preferences

The labels used to be clickable buttons. These would have looked funny
if they carried long texts. For this reason, jargon and abbreviations
were used to keep them short. Since there is no button frame around the
labels anymore, the texts can become longer without becoming ugly.
Bring them closer to natural language.

Remove the prefix "Diff" from labels, because the remaining texts are
sufficiently unambiguous that they are about diff text.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>

Johannes Sixt <j6t@kdbg.org> · 2026-08-03 21:37 UTC

Browse files
265 files changed, +3 −24534
deleted .cirrus.yml mode 100644
@@ -1,24 +0,0 @@
1 - env:
2 - CIRRUS_CLONE_DEPTH: 1
3 -
4 - freebsd_task:
5 - env:
6 - GIT_PROVE_OPTS: "--timer --jobs 10"
7 - GIT_TEST_OPTS: "--no-chain-lint --no-bin-wrappers"
8 - GIT_SKIP_TESTS: t7815.12
9 - MAKEFLAGS: -j4
10 - DEFAULT_TEST_TARGET: prove
11 - DEFAULT_UNIT_TEST_TARGET: unit-tests-prove
12 - DEVELOPER: 1
13 - freebsd_instance:
14 - image_family: freebsd-14-3
15 - memory: 2G
16 - install_script:
17 - pkg install -y gettext gmake perl5
18 - create_user_script:
19 - - pw useradd git
20 - - chown -R git:git .
21 - build_script:
22 - - su git -c gmake
23 - test_script:
24 - - su git -c 'gmake test unit-tests'
deleted .clang-format mode 100644
@@ -1,228 +0,0 @@
1 - # This file is an example configuration for clang-format 5.0.
2 - #
3 - # Note that this style definition should only be understood as a hint
4 - # for writing new code. The rules are still work-in-progress and does
5 - # not yet exactly match the style we have in the existing code.
6 -
7 - # Use tabs whenever we need to fill whitespace that spans at least from one tab
8 - # stop to the next one.
9 - #
10 - # These settings are mirrored in .editorconfig. Keep them in sync.
11 - UseTab: Always
12 - TabWidth: 8
13 - IndentWidth: 8
14 - ContinuationIndentWidth: 8
15 -
16 - # While we do want to enforce a character limit of 80 characters, we often
17 - # allow lines to overflow that limit to prioritize readability. Setting a
18 - # character limit here with penalties has been finicky and creates too many
19 - # false positives.
20 - #
21 - # NEEDSWORK: It would be nice if we can find optimal settings to ensure we
22 - # can re-enable the limit here.
23 - ColumnLimit: 0
24 -
25 - # C Language specifics
26 - Language: Cpp
27 -
28 - # Align parameters on the open bracket
29 - # someLongFunction(argument1,
30 - # argument2);
31 - AlignAfterOpenBracket: Align
32 -
33 - # Don't align consecutive assignments
34 - # int aaaa = 12;
35 - # int b = 14;
36 - AlignConsecutiveAssignments: false
37 -
38 - # Don't align consecutive declarations
39 - # int aaaa = 12;
40 - # double b = 3.14;
41 - AlignConsecutiveDeclarations: false
42 -
43 - # Align consecutive macro definitions.
44 - AlignConsecutiveMacros: true
45 -
46 - # Align escaped newlines as far left as possible
47 - # #define A \
48 - # int aaaa; \
49 - # int b; \
50 - # int cccccccc;
51 - AlignEscapedNewlines: Left
52 -
53 - # Align operands of binary and ternary expressions
54 - # int aaa = bbbbbbbbbbb +
55 - # cccccc;
56 - AlignOperands: true
57 -
58 - # Don't align trailing comments
59 - # int a; // Comment a
60 - # int b = 2; // Comment b
61 - AlignTrailingComments: false
62 -
63 - # By default don't allow putting parameters onto the next line
64 - # myFunction(foo, bar, baz);
65 - AllowAllParametersOfDeclarationOnNextLine: false
66 -
67 - # Don't allow short braced statements to be on a single line
68 - # if (a) not if (a) return;
69 - # return;
70 - AllowShortBlocksOnASingleLine: false
71 - AllowShortCaseLabelsOnASingleLine: false
72 - AllowShortFunctionsOnASingleLine: false
73 - AllowShortIfStatementsOnASingleLine: false
74 - AllowShortLoopsOnASingleLine: false
75 -
76 - # By default don't add a line break after the return type of top-level functions
77 - # int foo();
78 - AlwaysBreakAfterReturnType: None
79 -
80 - # Pack as many parameters or arguments onto the same line as possible
81 - # int myFunction(int aaaaaaaaaaaa, int bbbbbbbb,
82 - # int cccc);
83 - BinPackArguments: true
84 - BinPackParameters: true
85 -
86 - # Add no space around the bit field
87 - # unsigned bf:2;
88 - BitFieldColonSpacing: None
89 -
90 - # Attach braces to surrounding context except break before braces on function
91 - # definitions.
92 - # void foo()
93 - # {
94 - # if (true) {
95 - # } else {
96 - # }
97 - # };
98 - BreakBeforeBraces: Linux
99 -
100 - # Break after operators
101 - # int value = aaaaaaaaaaaaa +
102 - # bbbbbb -
103 - # ccccccccccc;
104 - BreakBeforeBinaryOperators: None
105 - BreakBeforeTernaryOperators: false
106 -
107 - # Don't break string literals
108 - BreakStringLiterals: false
109 -
110 - # Use the same indentation level as for the switch statement.
111 - # Switch statement body is always indented one level more than case labels.
112 - IndentCaseLabels: false
113 -
114 - # Indents directives before the hash. Each level uses a single space for
115 - # indentation.
116 - # #if FOO
117 - # # include <foo>
118 - # #endif
119 - IndentPPDirectives: AfterHash
120 - PPIndentWidth: 1
121 -
122 - # Don't indent a function definition or declaration if it is wrapped after the
123 - # type
124 - IndentWrappedFunctionNames: false
125 -
126 - # Align pointer to the right
127 - # int *a;
128 - PointerAlignment: Right
129 -
130 - # Don't insert a space after a cast
131 - # x = (int32)y; not x = (int32) y;
132 - SpaceAfterCStyleCast: false
133 -
134 - # No space is inserted after the logical not operator
135 - SpaceAfterLogicalNot: false
136 -
137 - # Insert spaces before and after assignment operators
138 - # int a = 5; not int a=5;
139 - # a += 42; a+=42;
140 - SpaceBeforeAssignmentOperators: true
141 -
142 - # Spaces will be removed before case colon.
143 - # case 1: break; not case 1 : break;
144 - SpaceBeforeCaseColon: false
145 -
146 - # Put a space before opening parentheses only after control statement keywords.
147 - # void f() {
148 - # if (true) {
149 - # f();
150 - # }
151 - # }
152 - SpaceBeforeParens: ControlStatementsExceptControlMacros
153 -
154 - # Don't insert spaces inside empty '()'
155 - SpaceInEmptyParentheses: false
156 -
157 - # No space before first '[' in arrays
158 - # int a[5][5]; not int a [5][5];
159 - SpaceBeforeSquareBrackets: false
160 -
161 - # No space will be inserted into {}
162 - # while (true) {} not while (true) { }
163 - SpaceInEmptyBlock: false
164 -
165 - # The number of spaces before trailing line comments (// - comments).
166 - # This does not affect trailing block comments (/* - comments).
167 - SpacesBeforeTrailingComments: 1
168 -
169 - # Don't insert spaces in casts
170 - # x = (int32) y; not x = ( int32 ) y;
171 - SpacesInCStyleCastParentheses: false
172 -
173 - # Don't insert spaces inside container literals
174 - # var arr = [1, 2, 3]; not var arr = [ 1, 2, 3 ];
175 - SpacesInContainerLiterals: false
176 -
177 - # Don't insert spaces after '(' or before ')'
178 - # f(arg); not f( arg );
179 - SpacesInParentheses: false
180 -
181 - # Don't insert spaces after '[' or before ']'
182 - # int a[5]; not int a[ 5 ];
183 - SpacesInSquareBrackets: false
184 -
185 - # Insert a space after '{' and before '}' in struct initializers
186 - Cpp11BracedListStyle: false
187 -
188 - # A list of macros that should be interpreted as foreach loops instead of as
189 - # function calls. Taken from:
190 - # git grep -h '^#define [^[:space:]]*for_\?each[^[:space:]]*(' |
191 - # sed "s/^#define / - '/; s/(.*$/'/" | sort | uniq
192 - ForEachMacros:
193 - - 'for_each_builtin'
194 - - 'for_each_string_list_item'
195 - - 'for_each_ut'
196 - - 'for_each_wanted_builtin'
197 - - 'hashmap_for_each_entry'
198 - - 'hashmap_for_each_entry_from'
199 - - 'kh_foreach'
200 - - 'kh_foreach_value'
201 - - 'list_for_each'
202 - - 'list_for_each_dir'
203 - - 'list_for_each_prev'
204 - - 'list_for_each_prev_safe'
205 - - 'list_for_each_safe'
206 - - 'strintmap_for_each_entry'
207 - - 'strmap_for_each_entry'
208 - - 'strset_for_each_entry'
209 -
210 - # A list of macros that should be interpreted as conditionals instead of as
211 - # function calls.
212 - IfMacros:
213 - - 'if_test'
214 -
215 - # The maximum number of consecutive empty lines to keep.
216 - MaxEmptyLinesToKeep: 1
217 -
218 - # No empty line at the start of a block.
219 - KeepEmptyLinesAtTheStartOfBlocks: false
220 -
221 - # Don't sort #include's
222 - SortIncludes: false
223 -
224 - # Remove optional braces of control statements (if, else, for, and while)
225 - # according to the LLVM coding style. This avoids braces on simple
226 - # single-statement bodies of statements but keeps braces if one side of
227 - # if/else if/.../else cascade has multi-statement body.
228 - RemoveBracesLLVM: true
deleted .editorconfig mode 100644
@@ -1,20 +0,0 @@
1 - [*]
2 - charset = utf-8
3 - insert_final_newline = true
4 -
5 - # The settings for C (*.c and *.h) files are mirrored in .clang-format. Keep
6 - # them in sync.
7 - [{*.{c,h,sh,bash,perl,pl,pm,txt,adoc},config.mak.*,Makefile}]
8 - indent_style = tab
9 - tab_width = 8
10 -
11 - [templates/hooks/*.sample]
12 - indent_style = tab
13 - tab_width = 8
14 -
15 - [*.py]
16 - indent_style = space
17 - indent_size = 4
18 -
19 - [COMMIT_EDITMSG]
20 - max_line_length = 72
deleted .gitattributes mode 100644
@@ -1,21 +0,0 @@
1 - * whitespace=trail,space
2 - *.[ch] whitespace=indent,trail,space,incomplete diff=cpp
3 - *.sh whitespace=indent,trail,space,incomplete text eol=lf
4 - *.perl text eol=lf diff=perl
5 - *.pl text eol=lf diff=perl
6 - *.pm text eol=lf diff=perl
7 - *.py text eol=lf diff=python
8 - *.bat text eol=crlf
9 - CODE_OF_CONDUCT.md -whitespace
10 - /Documentation/**/*.adoc text eol=lf whitespace=trail,space,incomplete
11 - /command-list.txt text eol=lf
12 - /GIT-VERSION-GEN text eol=lf
13 - /mergetools/* text eol=lf
14 - /t/oid-info/* text eol=lf
15 - /Documentation/git-merge.adoc conflict-marker-size=32
16 - /Documentation/git-merge-file.adoc conflict-marker-size=32
17 - /Documentation/gitk.adoc conflict-marker-size=32
18 - /Documentation/user-manual.adoc conflict-marker-size=32
19 - /t/t????-*.sh conflict-marker-size=32
20 - /t/unit-tests/clar/test/expected/* whitespace=-blank-at-eof
21 - /templates/hooks/*.sample whitespace=indent,trail,space,incomplete text eol=lf
deleted .github/CONTRIBUTING.md mode 100644
@@ -1,23 +0,0 @@
1 - ## Contributing to Git
2 -
3 - Thanks for taking the time to contribute to Git! Please be advised that the
4 - Git community does not use github.com for their contributions. Instead, we use
5 - a mailing list (git@vger.kernel.org) for code submissions, code
6 - reviews, and bug reports.
7 -
8 - Nevertheless, you can use [GitGitGadget](https://gitgitgadget.github.io/) to
9 - conveniently send your Pull Requests commits to our mailing list.
10 -
11 - Please read ["A note from the maintainer"](https://git.kernel.org/pub/scm/git/git.git/plain/MaintNotes?h=todo)
12 - to learn how the Git project is managed, and how you can work with it.
13 - In addition, we highly recommend you to read
14 - [our submission guidelines](https://git-scm.com/docs/SubmittingPatches).
15 -
16 - If you prefer video, then [this talk](https://www.youtube.com/watch?v=Q7i_qQW__q4&feature=youtu.be&t=6m4s)
17 - might be useful to you as the presenter walks you through the contribution
18 - process by example.
19 -
20 - Or, you can follow the ["My First Contribution"](https://git-scm.com/docs/MyFirstContribution)
21 - tutorial for another example of the contribution process.
22 -
23 - Your friendly Git community!
deleted .github/PULL_REQUEST_TEMPLATE.md mode 100644
@@ -1,10 +0,0 @@
1 - Thanks for taking the time to contribute to Git! Please be advised that the
2 - Git community does not use github.com for their contributions. Instead, we use
3 - a mailing list (git@vger.kernel.org) for code submissions, code reviews, and
4 - bug reports. Nevertheless, you can use GitGitGadget (https://gitgitgadget.github.io/)
5 - to conveniently send your Pull Requests commits to our mailing list.
6 -
7 - For a single-commit pull request, please *leave the pull request description
8 - empty*: your commit message itself should describe your changes.
9 -
10 - Please read the "guidelines for contributing" linked above!
deleted .github/workflows/check-style.yml mode 100644
@@ -1,34 +0,0 @@
1 - name: check-style
2 -
3 - # Get the repository with all commits to ensure that we can analyze
4 - # all of the commits contributed via the Pull Request.
5 -
6 - on:
7 - pull_request:
8 - types: [opened, synchronize]
9 -
10 - # Avoid unnecessary builds. Unlike the main CI jobs, these are not
11 - # ci-configurable (but could be).
12 - concurrency:
13 - group: ${{ github.workflow }}-${{ github.ref }}
14 - cancel-in-progress: true
15 -
16 - jobs:
17 - check-style:
18 - env:
19 - CC: clang
20 - jobname: ClangFormat
21 - runs-on: ubuntu-latest
22 - steps:
23 - - uses: actions/checkout@v6
24 - with:
25 - fetch-depth: 0
26 -
27 - - run: ci/install-dependencies.sh
28 -
29 - - name: git clang-format
30 - continue-on-error: true
31 - id: check_out
32 - run: |
33 - ./ci/run-style-check.sh \
34 - "${{github.event.pull_request.base.sha}}"
deleted .github/workflows/check-whitespace.yml mode 100644
@@ -1,32 +0,0 @@
1 - name: check-whitespace
2 -
3 - # Get the repository with all commits to ensure that we can analyze
4 - # all of the commits contributed via the Pull Request.
5 - # Process `git log --check` output to extract just the check errors.
6 - # Exit with failure upon white-space issues.
7 -
8 - on:
9 - pull_request:
10 - types: [opened, synchronize]
11 -
12 - # Avoid unnecessary builds. Unlike the main CI jobs, these are not
13 - # ci-configurable (but could be).
14 - concurrency:
15 - group: ${{ github.workflow }}-${{ github.ref }}
16 - cancel-in-progress: true
17 -
18 - jobs:
19 - check-whitespace:
20 - runs-on: ubuntu-latest
21 - steps:
22 - - uses: actions/checkout@v6
23 - with:
24 - fetch-depth: 0
25 -
26 - - name: git log --check
27 - id: check_out
28 - run: |
29 - ./ci/check-whitespace.sh \
30 - "${{github.event.pull_request.base.sha}}" \
31 - "$GITHUB_STEP_SUMMARY" \
32 - "https://github.com/${{github.repository}}"
deleted .github/workflows/coverity.yml mode 100644
@@ -1,167 +0,0 @@
1 - name: Coverity
2 -
3 - # This GitHub workflow automates submitting builds to Coverity Scan. To enable it,
4 - # set the repository variable `ENABLE_COVERITY_SCAN_FOR_BRANCHES` (for details, see
5 - # https://docs.github.com/en/actions/learn-github-actions/variables) to a JSON
6 - # string array containing the names of the branches for which the workflow should be
7 - # run, e.g. `["main", "next"]`.
8 - #
9 - # In addition, two repository secrets must be set (for details how to add secrets, see
10 - # https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions):
11 - # `COVERITY_SCAN_EMAIL` and `COVERITY_SCAN_TOKEN`. The former specifies the
12 - # email to which the Coverity reports should be sent and the latter can be
13 - # obtained from the Project Settings tab of the Coverity project).
14 - #
15 - # The workflow runs on `ubuntu-latest` by default. This can be overridden by setting
16 - # the repository variable `ENABLE_COVERITY_SCAN_ON_OS` to a JSON string array specifying
17 - # the operating systems, e.g. `["ubuntu-latest", "windows-latest"]`.
18 - #
19 - # By default, the builds are submitted to the Coverity project `git`. To override this,
20 - # set the repository variable `COVERITY_PROJECT`.
21 -
22 - on:
23 - push:
24 -
25 - defaults:
26 - run:
27 - shell: bash
28 -
29 - jobs:
30 - coverity:
31 - if: contains(fromJSON(vars.ENABLE_COVERITY_SCAN_FOR_BRANCHES || '[""]'), github.ref_name)
32 - strategy:
33 - matrix:
34 - os: ${{ fromJSON(vars.ENABLE_COVERITY_SCAN_ON_OS || '["ubuntu-latest"]') }}
35 - runs-on: ${{ matrix.os }}
36 - env:
37 - COVERITY_PROJECT: ${{ vars.COVERITY_PROJECT || 'git' }}
38 - COVERITY_LANGUAGE: cxx
39 - COVERITY_PLATFORM: overridden-below
40 - steps:
41 - - uses: actions/checkout@v6
42 - - name: install minimal Git for Windows SDK
43 - if: contains(matrix.os, 'windows')
44 - uses: git-for-windows/setup-git-for-windows-sdk@v2
45 - - run: ci/install-dependencies.sh
46 - if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
47 - env:
48 - CI_JOB_IMAGE: ${{ matrix.os }}
49 -
50 - # The Coverity site says the tool is usually updated twice yearly, so the
51 - # MD5 of download can be used to determine whether there's been an update.
52 - - name: get the Coverity Build Tool hash
53 - id: lookup
54 - run: |
55 - case "${{ matrix.os }}" in
56 - *windows*)
57 - COVERITY_PLATFORM=win64
58 - COVERITY_TOOL_FILENAME=cov-analysis.zip
59 - MAKEFLAGS=-j$(nproc)
60 - ;;
61 - *macos*)
62 - COVERITY_PLATFORM=macOSX
63 - COVERITY_TOOL_FILENAME=cov-analysis.dmg
64 - MAKEFLAGS=-j$(sysctl -n hw.physicalcpu)
65 - ;;
66 - *ubuntu*)
67 - COVERITY_PLATFORM=linux64
68 - COVERITY_TOOL_FILENAME=cov-analysis.tgz
69 - MAKEFLAGS=-j$(nproc)
70 - ;;
71 - *)
72 - echo '::error::unhandled OS ${{ matrix.os }}' >&2
73 - exit 1
74 - ;;
75 - esac
76 - echo "COVERITY_PLATFORM=$COVERITY_PLATFORM" >>$GITHUB_ENV
77 - echo "COVERITY_TOOL_FILENAME=$COVERITY_TOOL_FILENAME" >>$GITHUB_ENV
78 - echo "MAKEFLAGS=$MAKEFLAGS" >>$GITHUB_ENV
79 - MD5=$(curl https://scan.coverity.com/download/$COVERITY_LANGUAGE/$COVERITY_PLATFORM \
80 - --fail \
81 - --form token='${{ secrets.COVERITY_SCAN_TOKEN }}' \
82 - --form project="$COVERITY_PROJECT" \
83 - --form md5=1)
84 - case $? in
85 - 0) ;; # okay
86 - 22) # 40x, i.e. access denied
87 - echo "::error::incorrect token or project?" >&2
88 - exit 1
89 - ;;
90 - *) # other error
91 - echo "::error::Failed to retrieve MD5" >&2
92 - exit 1
93 - ;;
94 - esac
95 - echo "hash=$MD5" >>$GITHUB_OUTPUT
96 -
97 - # Try to cache the tool to avoid downloading 1GB+ on every run.
98 - # A cache miss will add ~30s to create, but a cache hit will save minutes.
99 - - name: restore the Coverity Build Tool
100 - id: cache
101 - uses: actions/cache/restore@v5
102 - with:
103 - path: ${{ runner.temp }}/cov-analysis
104 - key: cov-build-${{ env.COVERITY_LANGUAGE }}-${{ env.COVERITY_PLATFORM }}-${{ steps.lookup.outputs.hash }}
105 - - name: download the Coverity Build Tool (${{ env.COVERITY_LANGUAGE }} / ${{ env.COVERITY_PLATFORM}})
106 - if: steps.cache.outputs.cache-hit != 'true'
107 - run: |
108 - curl https://scan.coverity.com/download/$COVERITY_LANGUAGE/$COVERITY_PLATFORM \
109 - --fail --no-progress-meter \
110 - --output $RUNNER_TEMP/$COVERITY_TOOL_FILENAME \
111 - --form token='${{ secrets.COVERITY_SCAN_TOKEN }}' \
112 - --form project="$COVERITY_PROJECT"
113 - - name: extract the Coverity Build Tool
114 - if: steps.cache.outputs.cache-hit != 'true'
115 - run: |
116 - case "$COVERITY_TOOL_FILENAME" in
117 - *.tgz)
118 - mkdir $RUNNER_TEMP/cov-analysis &&
119 - tar -xzf $RUNNER_TEMP/$COVERITY_TOOL_FILENAME --strip 1 -C $RUNNER_TEMP/cov-analysis
120 - ;;
121 - *.dmg)
122 - cd $RUNNER_TEMP &&
123 - attach="$(hdiutil attach $COVERITY_TOOL_FILENAME)" &&
124 - volume="$(echo "$attach" | cut -f 3 | grep /Volumes/)" &&
125 - mkdir cov-analysis &&
126 - cd cov-analysis &&
127 - sh "$volume"/cov-analysis-macosx-*.sh &&
128 - ls -l &&
129 - hdiutil detach "$volume"
130 - ;;
131 - *.zip)
132 - cd $RUNNER_TEMP &&
133 - mkdir cov-analysis-tmp &&
134 - unzip -d cov-analysis-tmp $COVERITY_TOOL_FILENAME &&
135 - mv cov-analysis-tmp/* cov-analysis
136 - ;;
137 - *)
138 - echo "::error::unhandled archive type: $COVERITY_TOOL_FILENAME" >&2
139 - exit 1
140 - ;;
141 - esac
142 - - name: cache the Coverity Build Tool
143 - if: steps.cache.outputs.cache-hit != 'true'
144 - uses: actions/cache/save@v5
145 - with:
146 - path: ${{ runner.temp }}/cov-analysis
147 - key: cov-build-${{ env.COVERITY_LANGUAGE }}-${{ env.COVERITY_PLATFORM }}-${{ steps.lookup.outputs.hash }}
148 - - name: build with cov-build
149 - run: |
150 - export PATH="$PATH:$RUNNER_TEMP/cov-analysis/bin" &&
151 - cov-configure --gcc &&
152 - if ! cov-build --dir cov-int make
153 - then
154 - cat cov-int/build-log.txt
155 - exit 1
156 - fi
157 - - name: package the build
158 - run: tar -czvf cov-int.tgz cov-int
159 - - name: submit the build to Coverity Scan
160 - run: |
161 - curl \
162 - --fail \
163 - --form token='${{ secrets.COVERITY_SCAN_TOKEN }}' \
164 - --form email='${{ secrets.COVERITY_SCAN_EMAIL }}' \
165 - --form file=@cov-int.tgz \
166 - --form version='${{ github.sha }}' \
167 - "https://scan.coverity.com/builds?project=$COVERITY_PROJECT"
deleted .github/workflows/l10n.yml mode 100644
@@ -1,111 +0,0 @@
1 - name: git-l10n
2 -
3 - on: [push, pull_request_target]
4 -
5 - # Avoid unnecessary builds. Unlike the main CI jobs, these are not
6 - # ci-configurable (but could be).
7 - concurrency:
8 - group: ${{ github.workflow }}-${{ github.ref }}
9 - cancel-in-progress: true
10 -
11 - jobs:
12 - git-po-helper:
13 - if: >-
14 - endsWith(github.repository, '/git-po') ||
15 - contains(github.head_ref, 'l10n') ||
16 - contains(github.ref, 'l10n')
17 - runs-on: ubuntu-latest
18 - permissions:
19 - pull-requests: write
20 - steps:
21 - - name: Setup base and head objects
22 - id: setup-tips
23 - run: |
24 - if test "${{ github.event_name }}" = "pull_request_target"
25 - then
26 - base=${{ github.event.pull_request.base.sha }}
27 - head=${{ github.event.pull_request.head.sha }}
28 - else
29 - base=${{ github.event.before }}
30 - head=${{ github.event.after }}
31 - fi
32 - echo base=$base >>$GITHUB_OUTPUT
33 - echo head=$head >>$GITHUB_OUTPUT
34 - - name: Run partial clone
35 - run: |
36 - git -c init.defaultBranch=master init --bare .
37 - git remote add \
38 - --mirror=fetch \
39 - origin \
40 - https://github.com/${{ github.repository }}
41 - # Fetch tips that may be unreachable from github.ref:
42 - # - For a forced push, "$base" may be unreachable.
43 - # - For a "pull_request_target" event, "$head" may be unreachable.
44 - args=
45 - for commit in \
46 - ${{ steps.setup-tips.outputs.base }} \
47 - ${{ steps.setup-tips.outputs.head }}
48 - do
49 - case $commit in
50 - *[^0]*)
51 - args="$args $commit"
52 - ;;
53 - *)
54 - # Should not fetch ZERO-OID.
55 - ;;
56 - esac
57 - done
58 - git -c protocol.version=2 fetch \
59 - --progress \
60 - --no-tags \
61 - --no-write-fetch-head \
62 - --filter=blob:none \
63 - origin \
64 - ${{ github.ref }} \
65 - $args
66 - - uses: actions/setup-go@v6
67 - with:
68 - go-version: '>=1.16'
69 - cache: false
70 - - name: Install git-po-helper
71 - run: go install github.com/git-l10n/git-po-helper@main
72 - - name: Install other dependencies
73 - run: |
74 - sudo apt-get update -q &&
75 - sudo apt-get install -q -y gettext
76 - - name: Run git-po-helper
77 - id: check-commits
78 - run: |
79 - exit_code=0
80 - git-po-helper check-commits \
81 - --github-action-event="${{ github.event_name }}" -- \
82 - ${{ steps.setup-tips.outputs.base }}..${{ steps.setup-tips.outputs.head }} \
83 - >git-po-helper.out 2>&1 || exit_code=$?
84 - if test $exit_code -ne 0 || grep -q WARNING git-po-helper.out
85 - then
86 - # Remove ANSI colors which are proper for console logs but not
87 - # proper for PR comment.
88 - echo "COMMENT_BODY<<EOF" >>$GITHUB_ENV
89 - perl -pe 's/\e\[[0-9;]*m//g; s/\bEOF$//g' git-po-helper.out >>$GITHUB_ENV
90 - echo "EOF" >>$GITHUB_ENV
91 - fi
92 - cat git-po-helper.out
93 - exit $exit_code
94 - - name: Create comment in pull request for report
95 - uses: mshick/add-pr-comment@v3
96 - if: >-
97 - always() &&
98 - github.event_name == 'pull_request_target' &&
99 - env.COMMENT_BODY != ''
100 - with:
101 - repo-token: ${{ secrets.GITHUB_TOKEN }}
102 - message: >
103 - ${{ steps.check-commits.outcome == 'failure' && 'Errors and warnings' || 'Warnings' }}
104 - found by [git-po-helper](https://github.com/git-l10n/git-po-helper#readme) in workflow
105 - [#${{ github.run_number }}](${{ env.GITHUB_SERVER_URL }}/${{ github.repository }}/actions/runs/${{ github.run_id }}):
106 -
107 - ```
108 -
109 - ${{ env.COMMENT_BODY }}
110 -
111 - ```
deleted .github/workflows/main.yml mode 100644
@@ -1,515 +0,0 @@
1 - name: CI
2 -
3 - on: [push, pull_request]
4 -
5 - env:
6 - DEVELOPER: 1
7 -
8 - # If more than one workflow run is triggered for the very same commit hash
9 - # (which happens when multiple branches pointing to the same commit), only
10 - # the first one is allowed to run, the second will be kept in the "queued"
11 - # state. This allows a successful completion of the first run to be reused
12 - # in the second run via the `skip-if-redundant` logic in the `config` job.
13 - #
14 - # The only caveat is that if a workflow run is triggered for the same commit
15 - # hash that another run is already being held, that latter run will be
16 - # canceled. For more details about the `concurrency` attribute, see:
17 - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
18 - concurrency:
19 - group: ${{ github.sha }}
20 -
21 - jobs:
22 - ci-config:
23 - name: config
24 - if: vars.CI_BRANCHES == '' || contains(vars.CI_BRANCHES, github.ref_name)
25 - runs-on: ubuntu-latest
26 - outputs:
27 - enabled: ${{ steps.check-ref.outputs.enabled }}${{ steps.skip-if-redundant.outputs.enabled }}
28 - skip_concurrent: ${{ steps.check-ref.outputs.skip_concurrent }}
29 - steps:
30 - - name: try to clone ci-config branch
31 - run: |
32 - git -c protocol.version=2 clone \
33 - --no-tags \
34 - --single-branch \
35 - -b ci-config \
36 - --depth 1 \
37 - --no-checkout \
38 - --filter=blob:none \
39 - https://github.com/${{ github.repository }} \
40 - config-repo &&
41 - cd config-repo &&
42 - git checkout HEAD -- ci/config || : ignore
43 - - id: check-ref
44 - name: check whether CI is enabled for ref
45 - run: |
46 - enabled=yes
47 - if test -x config-repo/ci/config/allow-ref
48 - then
49 - echo "::warning::ci/config/allow-ref is deprecated; use CI_BRANCHES instead"
50 - if ! config-repo/ci/config/allow-ref '${{ github.ref }}'
51 - then
52 - enabled=no
53 - fi
54 - fi
55 -
56 - skip_concurrent=yes
57 - if test -x config-repo/ci/config/skip-concurrent &&
58 - ! config-repo/ci/config/skip-concurrent '${{ github.ref }}'
59 - then
60 - skip_concurrent=no
61 - fi
62 - echo "enabled=$enabled" >>$GITHUB_OUTPUT
63 - echo "skip_concurrent=$skip_concurrent" >>$GITHUB_OUTPUT
64 - - name: skip if the commit or tree was already tested
65 - id: skip-if-redundant
66 - uses: actions/github-script@v9
67 - if: steps.check-ref.outputs.enabled == 'yes'
68 - with:
69 - github-token: ${{secrets.GITHUB_TOKEN}}
70 - script: |
71 - try {
72 - // Figure out workflow ID, commit and tree
73 - const { data: run } = await github.rest.actions.getWorkflowRun({
74 - owner: context.repo.owner,
75 - repo: context.repo.repo,
76 - run_id: context.runId,
77 - });
78 - const workflow_id = run.workflow_id;
79 - const head_sha = run.head_sha;
80 - const tree_id = run.head_commit.tree_id;
81 -
82 - // See whether there is a successful run for that commit or tree
83 - const { data: runs } = await github.rest.actions.listWorkflowRuns({
84 - owner: context.repo.owner,
85 - repo: context.repo.repo,
86 - per_page: 500,
87 - status: 'success',
88 - workflow_id,
89 - });
90 - for (const run of runs.workflow_runs) {
91 - if (head_sha === run.head_sha) {
92 - core.warning(`Successful run for the commit ${head_sha}: ${run.html_url}`);
93 - core.setOutput('enabled', ' but skip');
94 - break;
95 - }
96 - if (run.head_commit && tree_id === run.head_commit.tree_id) {
97 - core.warning(`Successful run for the tree ${tree_id}: ${run.html_url}`);
98 - core.setOutput('enabled', ' but skip');
99 - break;
100 - }
101 - }
102 - } catch (e) {
103 - core.warning(e);
104 - }
105 -
106 - windows-build:
107 - name: win build
108 - needs: ci-config
109 - if: needs.ci-config.outputs.enabled == 'yes'
110 - runs-on: windows-latest
111 - concurrency:
112 - group: windows-build-${{ github.ref }}
113 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
114 - steps:
115 - - uses: actions/checkout@v6
116 - - uses: git-for-windows/setup-git-for-windows-sdk@v2
117 - - name: build
118 - shell: bash
119 - env:
120 - HOME: ${{runner.workspace}}
121 - NO_PERL: 1
122 - run: . /etc/profile && ci/make-test-artifacts.sh artifacts
123 - - name: zip up tracked files
124 - run: git archive -o artifacts/tracked.tar.gz HEAD
125 - - name: upload tracked files and build artifacts
126 - uses: actions/upload-artifact@v7
127 - with:
128 - name: windows-artifacts
129 - path: artifacts
130 - windows-test:
131 - name: win test
132 - runs-on: windows-latest
133 - needs: [ci-config, windows-build]
134 - strategy:
135 - fail-fast: false
136 - matrix:
137 - nr: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
138 - concurrency:
139 - group: windows-test-${{ matrix.nr }}-${{ github.ref }}
140 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
141 - steps:
142 - - name: download tracked files and build artifacts
143 - uses: actions/download-artifact@v8
144 - with:
145 - name: windows-artifacts
146 - path: ${{github.workspace}}
147 - - name: extract tracked files and build artifacts
148 - shell: bash
149 - run: tar xf artifacts.tar.gz && tar xf tracked.tar.gz
150 - - uses: git-for-windows/setup-git-for-windows-sdk@v2
151 - - name: test
152 - shell: bash
153 - run: . /etc/profile && ci/run-test-slice.sh $((${{matrix.nr}} + 1)) 10
154 - - name: print test failures
155 - if: failure() && env.FAILED_TEST_ARTIFACTS != ''
156 - shell: bash
157 - run: ci/print-test-failures.sh
158 - - name: Upload failed tests' directories
159 - if: failure() && env.FAILED_TEST_ARTIFACTS != ''
160 - uses: actions/upload-artifact@v7
161 - with:
162 - name: failed-tests-windows-${{ matrix.nr }}
163 - path: ${{env.FAILED_TEST_ARTIFACTS}}
164 - vs-build:
165 - name: win+VS build
166 - needs: ci-config
167 - if: github.event.repository.owner.login == 'git-for-windows' && needs.ci-config.outputs.enabled == 'yes'
168 - env:
169 - NO_PERL: 1
170 - GIT_CONFIG_PARAMETERS: "'user.name=CI' 'user.email=ci@git'"
171 - runs-on: windows-latest
172 - concurrency:
173 - group: vs-build-${{ github.ref }}
174 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
175 - steps:
176 - - uses: actions/checkout@v6
177 - - uses: git-for-windows/setup-git-for-windows-sdk@v2
178 - - name: initialize vcpkg
179 - uses: actions/checkout@v6
180 - with:
181 - repository: 'microsoft/vcpkg'
182 - path: 'compat/vcbuild/vcpkg'
183 - - name: download vcpkg artifacts
184 - uses: git-for-windows/get-azure-pipelines-artifact@v0
185 - with:
186 - repository: git/git
187 - definitionId: 9
188 - - name: add msbuild to PATH
189 - uses: microsoft/setup-msbuild@v3
190 - - name: copy dlls to root
191 - shell: cmd
192 - run: compat\vcbuild\vcpkg_copy_dlls.bat release
193 - - name: generate Visual Studio solution
194 - shell: bash
195 - run: |
196 - cmake `pwd`/contrib/buildsystems/ -DCMAKE_PREFIX_PATH=`pwd`/compat/vcbuild/vcpkg/installed/x64-windows \
197 - -DNO_GETTEXT=YesPlease -DPERL_TESTS=OFF -DPYTHON_TESTS=OFF -DCURL_NO_CURL_CMAKE=ON
198 - - name: MSBuild
199 - run: msbuild git.sln -property:Configuration=Release -property:Platform=x64 -maxCpuCount:4 -property:PlatformToolset=v142
200 - - name: bundle artifact tar
201 - shell: bash
202 - env:
203 - MSVC: 1
204 - VCPKG_ROOT: ${{github.workspace}}\compat\vcbuild\vcpkg
205 - run: |
206 - mkdir -p artifacts &&
207 - eval "$(make -n artifacts-tar INCLUDE_DLLS_IN_ARTIFACTS=YesPlease ARTIFACTS_DIRECTORY=artifacts NO_GETTEXT=YesPlease 2>&1 | grep ^tar)"
208 - - name: zip up tracked files
209 - run: git archive -o artifacts/tracked.tar.gz HEAD
210 - - name: upload tracked files and build artifacts
211 - uses: actions/upload-artifact@v7
212 - with:
213 - name: vs-artifacts
214 - path: artifacts
215 - vs-test:
216 - name: win+VS test
217 - runs-on: windows-latest
218 - needs: [ci-config, vs-build]
219 - strategy:
220 - fail-fast: false
221 - matrix:
222 - nr: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
223 - concurrency:
224 - group: vs-test-${{ matrix.nr }}-${{ github.ref }}
225 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
226 - steps:
227 - - uses: git-for-windows/setup-git-for-windows-sdk@v2
228 - - name: download tracked files and build artifacts
229 - uses: actions/download-artifact@v8
230 - with:
231 - name: vs-artifacts
232 - path: ${{github.workspace}}
233 - - name: extract tracked files and build artifacts
234 - shell: bash
235 - run: tar xf artifacts.tar.gz && tar xf tracked.tar.gz
236 - - name: test
237 - shell: bash
238 - env:
239 - NO_SVN_TESTS: 1
240 - run: . /etc/profile && ci/run-test-slice.sh $((${{matrix.nr}} + 1)) 10
241 - - name: print test failures
242 - if: failure() && env.FAILED_TEST_ARTIFACTS != ''
243 - shell: bash
244 - run: ci/print-test-failures.sh
245 - - name: Upload failed tests' directories
246 - if: failure() && env.FAILED_TEST_ARTIFACTS != ''
247 - uses: actions/upload-artifact@v7
248 - with:
249 - name: failed-tests-windows-vs-${{ matrix.nr }}
250 - path: ${{env.FAILED_TEST_ARTIFACTS}}
251 -
252 - windows-meson-build:
253 - name: win+Meson build
254 - needs: ci-config
255 - if: needs.ci-config.outputs.enabled == 'yes'
256 - runs-on: windows-latest
257 - concurrency:
258 - group: windows-meson-build-${{ github.ref }}
259 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
260 - steps:
261 - - uses: actions/checkout@v6
262 - - uses: actions/setup-python@v6
263 - - name: Set up dependencies
264 - shell: pwsh
265 - run: pip install meson ninja
266 - - name: Setup
267 - shell: pwsh
268 - run: meson setup build --vsenv -Dbuildtype=release -Dperl=disabled -Dcredential_helpers=wincred
269 - - name: Compile
270 - shell: pwsh
271 - run: meson compile -C build
272 - - name: Upload build artifacts
273 - uses: actions/upload-artifact@v7
274 - with:
275 - name: windows-meson-artifacts
276 - path: build
277 - windows-meson-test:
278 - name: win+Meson test
279 - runs-on: windows-latest
280 - needs: [ci-config, windows-meson-build]
281 - strategy:
282 - fail-fast: false
283 - matrix:
284 - nr: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
285 - concurrency:
286 - group: windows-meson-test-${{ matrix.nr }}-${{ github.ref }}
287 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
288 - steps:
289 - - uses: actions/checkout@v6
290 - - uses: actions/setup-python@v6
291 - - name: Set up dependencies
292 - shell: pwsh
293 - run: pip install meson ninja
294 - - name: Download build artifacts
295 - uses: actions/download-artifact@v8
296 - with:
297 - name: windows-meson-artifacts
298 - path: build
299 - - name: Test
300 - shell: bash
301 - run: ci/run-test-slice-meson.sh build $((${{matrix.nr}} + 1)) 10
302 - - name: print test failures
303 - if: failure() && env.FAILED_TEST_ARTIFACTS != ''
304 - shell: bash
305 - run: ci/print-test-failures.sh
306 - - name: Upload failed tests' directories
307 - if: failure() && env.FAILED_TEST_ARTIFACTS != ''
308 - uses: actions/upload-artifact@v7
309 - with:
310 - name: failed-tests-windows-meson-${{ matrix.nr }}
311 - path: ${{env.FAILED_TEST_ARTIFACTS}}
312 -
313 - regular:
314 - name: ${{matrix.vector.jobname}} (${{matrix.vector.pool}})
315 - needs: ci-config
316 - if: needs.ci-config.outputs.enabled == 'yes'
317 - concurrency:
318 - group: ${{ matrix.vector.jobname }}-${{ matrix.vector.pool }}-${{ github.ref }}
319 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
320 - strategy:
321 - fail-fast: false
322 - matrix:
323 - vector:
324 - - jobname: osx-clang
325 - cc: clang
326 - pool: macos-14
327 - - jobname: osx-reftable
328 - cc: clang
329 - pool: macos-14
330 - - jobname: osx-gcc
331 - cc: gcc-13
332 - pool: macos-14
333 - - jobname: osx-meson
334 - cc: clang
335 - pool: macos-14
336 - env:
337 - CC: ${{matrix.vector.cc}}
338 - CC_PACKAGE: ${{matrix.vector.cc_package}}
339 - jobname: ${{matrix.vector.jobname}}
340 - CI_JOB_IMAGE: ${{matrix.vector.pool}}
341 - TEST_OUTPUT_DIRECTORY: ${{github.workspace}}/t
342 - runs-on: ${{matrix.vector.pool}}
343 - steps:
344 - - uses: actions/checkout@v6
345 - - run: ci/install-dependencies.sh
346 - - run: ci/run-build-and-tests.sh
347 - - name: print test failures
348 - if: failure() && env.FAILED_TEST_ARTIFACTS != ''
349 - run: ci/print-test-failures.sh
350 - - name: Upload failed tests' directories
351 - if: failure() && env.FAILED_TEST_ARTIFACTS != ''
352 - uses: actions/upload-artifact@v7
353 - with:
354 - name: failed-tests-${{matrix.vector.jobname}}
355 - path: ${{env.FAILED_TEST_ARTIFACTS}}
356 - fuzz-smoke-test:
357 - name: fuzz smoke test
358 - needs: ci-config
359 - if: needs.ci-config.outputs.enabled == 'yes'
360 - env:
361 - CC: clang
362 - CI_JOB_IMAGE: ubuntu-latest
363 - runs-on: ubuntu-latest
364 - steps:
365 - - uses: actions/checkout@v6
366 - - run: ci/install-dependencies.sh
367 - - run: ci/run-build-and-minimal-fuzzers.sh
368 - dockerized:
369 - name: ${{matrix.vector.jobname}} (${{matrix.vector.image}})
370 - needs: ci-config
371 - if: needs.ci-config.outputs.enabled == 'yes'
372 - concurrency:
373 - group: dockerized-${{ matrix.vector.jobname }}-${{ matrix.vector.image }}-${{ github.ref }}
374 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
375 - strategy:
376 - fail-fast: false
377 - matrix:
378 - vector:
379 - - jobname: linux-sha256
380 - image: ubuntu:rolling
381 - cc: clang
382 - - jobname: linux-reftable
383 - image: ubuntu:rolling
384 - cc: clang
385 - - jobname: linux-TEST-vars
386 - image: ubuntu:20.04
387 - cc: gcc
388 - cc_package: gcc-8
389 - - jobname: linux-breaking-changes
390 - cc: gcc
391 - image: ubuntu:rolling
392 - - jobname: fedora-breaking-changes-meson
393 - image: fedora:latest
394 - - jobname: linux-leaks
395 - image: ubuntu:rolling
396 - cc: gcc
397 - - jobname: linux-reftable-leaks
398 - image: ubuntu:rolling
399 - cc: gcc
400 - - jobname: linux-asan-ubsan
401 - image: ubuntu:rolling
402 - cc: clang
403 - - jobname: linux-meson
404 - image: ubuntu:rolling
405 - cc: gcc
406 - - jobname: linux-musl-meson
407 - image: alpine:latest
408 - # Supported until 2025-04-02.
409 - - jobname: linux32
410 - image: i386/ubuntu:20.04
411 - # A RHEL 8 compatible distro. Supported until 2029-05-31.
412 - - jobname: almalinux-8
413 - image: almalinux:8
414 - # Supported until 2026-08-31.
415 - - jobname: debian-11
416 - image: debian:11
417 - env:
418 - jobname: ${{matrix.vector.jobname}}
419 - CC: ${{matrix.vector.cc}}
420 - CI_JOB_IMAGE: ${{matrix.vector.image}}
421 - CUSTOM_PATH: /custom
422 - runs-on: ubuntu-latest
423 - container: ${{matrix.vector.image}}
424 - steps:
425 - - name: prepare libc6 for actions
426 - if: matrix.vector.jobname == 'linux32'
427 - run: apt -q update && apt -q -y install libc6-amd64 lib64stdc++6
428 - - name: install git in container
429 - run: |
430 - if command -v git
431 - then
432 - : # nothing to do
433 - elif command -v apk
434 - then
435 - apk add --update git
436 - elif command -v dnf
437 - then
438 - dnf -yq update && dnf -yq install git
439 - else
440 - apt-get -q update && apt-get -q -y install git
441 - fi
442 - - uses: actions/checkout@v6
443 - - run: ci/install-dependencies.sh
444 - - run: useradd builder --create-home
445 - - run: chown -R builder .
446 - - run: chmod a+w $GITHUB_ENV && sudo --preserve-env --set-home --user=builder ci/run-build-and-tests.sh
447 - - name: print test failures
448 - if: failure() && env.FAILED_TEST_ARTIFACTS != ''
449 - run: sudo --preserve-env --set-home --user=builder ci/print-test-failures.sh
450 - - name: Upload failed tests' directories
451 - if: failure() && env.FAILED_TEST_ARTIFACTS != ''
452 - uses: actions/upload-artifact@v7
453 - with:
454 - name: failed-tests-${{matrix.vector.jobname}}
455 - path: ${{env.FAILED_TEST_ARTIFACTS}}
456 - static-analysis:
457 - needs: ci-config
458 - if: needs.ci-config.outputs.enabled == 'yes'
459 - env:
460 - jobname: StaticAnalysis
461 - CI_JOB_IMAGE: ubuntu-22.04
462 - runs-on: ubuntu-22.04
463 - concurrency:
464 - group: static-analysis-${{ github.ref }}
465 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
466 - steps:
467 - - uses: actions/checkout@v6
468 - - run: ci/install-dependencies.sh
469 - - run: ci/run-static-analysis.sh
470 - - run: ci/check-directional-formatting.bash
471 - rust-analysis:
472 - needs: ci-config
473 - if: needs.ci-config.outputs.enabled == 'yes'
474 - env:
475 - jobname: RustAnalysis
476 - CI_JOB_IMAGE: ubuntu:rolling
477 - runs-on: ubuntu-latest
478 - container: ubuntu:rolling
479 - concurrency:
480 - group: rust-analysis-${{ github.ref }}
481 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
482 - steps:
483 - - uses: actions/checkout@v6
484 - - run: ci/install-dependencies.sh
485 - - run: ci/run-rust-checks.sh
486 - sparse:
487 - needs: ci-config
488 - if: needs.ci-config.outputs.enabled == 'yes'
489 - env:
490 - jobname: sparse
491 - CI_JOB_IMAGE: ubuntu-22.04
492 - runs-on: ubuntu-22.04
493 - concurrency:
494 - group: sparse-${{ github.ref }}
495 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
496 - steps:
497 - - uses: actions/checkout@v6
498 - - name: Install other dependencies
499 - run: ci/install-dependencies.sh
500 - - run: make sparse
501 - documentation:
502 - name: documentation
503 - needs: ci-config
504 - if: needs.ci-config.outputs.enabled == 'yes'
505 - concurrency:
506 - group: documentation-${{ github.ref }}
507 - cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
508 - env:
509 - jobname: Documentation
510 - CI_JOB_IMAGE: ubuntu-latest
511 - runs-on: ubuntu-latest
512 - steps:
513 - - uses: actions/checkout@v6
514 - - run: ci/install-dependencies.sh
515 - - run: ci/test-documentation.sh
modified .gitignore
@@ -1,263 +1,3 @@
1 - /fuzz_corpora
2 - /target/
3 - /Cargo.lock
4 - /GIT-BUILD-DIR
5 - /GIT-BUILD-OPTIONS
6 - /GIT-CFLAGS
7 - /GIT-LDFLAGS
8 - /GIT-PREFIX
9 - /GIT-PERL-DEFINES
10 - /GIT-PERL-HEADER
11 - /GIT-PYTHON-VARS
12 - /GIT-SCRIPT-DEFINES
13 - /GIT-SPATCH-DEFINES
14 - /GIT-TEST-SUITES
15 - /GIT-USER-AGENT
16 - /GIT-VERSION-FILE
17 - /git
18 - /git-add
19 - /git-am
20 - /git-annotate
21 - /git-apply
22 - /git-archimport
23 - /git-archive
24 - /git-backfill
25 - /git-bisect
26 - /git-blame
27 - /git-branch
28 - /git-bugreport
29 - /git-bundle
30 - /git-cat-file
31 - /git-check-attr
32 - /git-check-ignore
33 - /git-check-mailmap
34 - /git-check-ref-format
35 - /git-checkout
36 - /git-checkout--worker
37 - /git-checkout-index
38 - /git-cherry
39 - /git-cherry-pick
40 - /git-clean
41 - /git-clone
42 - /git-column
43 - /git-commit
44 - /git-commit-graph
45 - /git-commit-tree
46 - /git-config
47 - /git-count-objects
48 - /git-credential
49 - /git-credential-cache
50 - /git-credential-cache--daemon
51 - /git-credential-store
52 - /git-cvsexportcommit
53 - /git-cvsimport
54 - /git-cvsserver
55 - /git-daemon
56 - /git-diagnose
57 - /git-diff
58 - /git-diff-files
59 - /git-diff-index
60 - /git-diff-pairs
61 - /git-diff-tree
62 - /git-difftool
63 - /git-difftool--helper
64 - /git-describe
65 - /git-fast-export
66 - /git-fast-import
67 - /git-fetch
68 - /git-fetch-pack
69 - /git-filter-branch
70 - /git-fmt-merge-msg
71 - /git-for-each-ref
72 - /git-for-each-repo
73 - /git-format-patch
74 - /git-format-rev
75 - /git-fsck
76 - /git-fsck-objects
77 - /git-fsmonitor--daemon
78 - /git-gc
79 - /git-get-tar-commit-id
80 - /git-grep
81 - /git-hash-object
82 - /git-help
83 - /git-history
84 - /git-hook
85 - /git-http-backend
86 - /git-http-fetch
87 - /git-http-push
88 - /git-imap-send
89 - /git-index-pack
90 - /git-init
91 - /git-init-db
92 - /git-interpret-trailers
93 - /git-instaweb
94 - /git-last-modified
95 - /git-log
96 - /git-ls-files
97 - /git-ls-remote
98 - /git-ls-tree
99 - /git-mailinfo
100 - /git-mailsplit
101 - /git-maintenance
102 - /git-merge
103 - /git-merge-base
104 - /git-merge-index
105 - /git-merge-file
106 - /git-merge-tree
107 - /git-merge-octopus
108 - /git-merge-one-file
109 - /git-merge-ours
110 - /git-merge-recursive
111 - /git-merge-resolve
112 - /git-merge-subtree
113 - /git-mergetool
114 - /git-mergetool--lib
115 - /git-mktag
116 - /git-mktree
117 - /git-multi-pack-index
118 - /git-mv
119 - /git-name-rev
120 - /git-notes
121 - /git-p4
122 - /git-pack-redundant
123 - /git-pack-objects
124 - /git-pack-refs
125 - /git-patch-id
126 - /git-prune
127 - /git-prune-packed
128 - /git-pull
129 - /git-push
130 - /git-quiltimport
131 - /git-range-diff
132 - /git-read-tree
133 - /git-rebase
134 - /git-receive-pack
135 - /git-reflog
136 - /git-refs
137 - /git-remote
138 - /git-remote-http
139 - /git-remote-https
140 - /git-remote-ftp
141 - /git-remote-ftps
142 - /git-remote-fd
143 - /git-remote-ext
144 - /git-repack
145 - /git-replace
146 - /git-replay
147 - /git-repo
148 - /git-request-pull
149 - /git-rerere
150 - /git-reset
151 - /git-restore
152 - /git-rev-list
153 - /git-rev-parse
154 - /git-revert
155 - /git-rm
156 - /git-send-email
157 - /git-send-pack
158 - /git-sh-i18n
159 - /git-sh-i18n--envsubst
160 - /git-sh-setup
161 - /git-shell
162 - /git-shortlog
163 - /git-show
164 - /git-show-branch
165 - /git-show-index
166 - /git-show-ref
167 - /git-sparse-checkout
168 - /git-stage
169 - /git-stash
170 - /git-status
171 - /git-stripspace
172 - /git-submodule
173 - /git-submodule--helper
174 - /git-subtree
175 - /git-svn
176 - /git-switch
177 - /git-symbolic-ref
178 - /git-tag
179 - /git-unpack-file
180 - /git-unpack-objects
181 - /git-update-index
182 - /git-update-ref
183 - /git-update-server-info
184 - /git-upload-archive
185 - /git-upload-pack
186 - /git-url-parse
187 - /git-var
188 - /git-verify-commit
189 - /git-verify-pack
190 - /git-verify-tag
191 - /git-version
192 - /git-web--browse
193 - /git-whatchanged
194 - /git-worktree
195 - /git-write-tree
196 - /scalar
197 - /git-core-*/?*
198 - /git.res
199 - /gitweb/GITWEB-BUILD-OPTIONS
200 - /gitweb/gitweb.cgi
201 - /gitweb/static/gitweb.js
202 - /gitweb/static/gitweb.min.*
203 - /config-list.h
204 - /command-list.h
205 - /hook-list.h
206 - /version-def.h
207 - *.tar.gz
208 - *.dsc
209 - *.deb
210 - /git.rc
211 - /git.spec
212 - *.exe
213 - *.[aos]
214 - *.o.json
215 - *.py[co]
216 - .build/
217 - .depend/
218 - *.gcda
219 - *.gcno
220 - *.gcov
221 - /coverage-untested-functions
222 - /cover_db/
223 - /cover_db_html/
224 - *+
225 - /config.mak
226 - /autom4te.cache
227 - /config.cache
228 - /config.log
229 - /config.status
230 - /config.mak.autogen
231 - /config.mak.append
232 - /configure
233 - /.vscode/
234 - /tags
235 - /TAGS
236 - /cscope*
237 - /compile_commands.json
238 - /.cache/
239 - *.hcc
240 - *.obj
241 - *.lib
242 - *.sln
243 - *.sp
244 - *.suo
245 - *.ncb
246 - *.vcproj
247 - *.user
248 - *.idb
249 - *.pdb
250 - *.ilk
251 - *.iobj
252 - *.ipdb
253 - *.dll
254 - .vs/
255 - Debug/
256 - Release/
257 - /UpgradeLog*.htm
258 - /git.VC.VC.opendb
259 - /git.VC.db
260 - *.dSYM
261 - /contrib/buildsystems/out
262 - /contrib/libgit-rs/target
263 - /contrib/libgit-sys/target
1 + /GIT-TCLTK-VARS
2 + /gitk-wish
3 + po/gitk.pot
deleted .gitlab-ci.yml mode 100644
@@ -1,296 +0,0 @@
1 - default:
2 - timeout: 2h
3 -
4 - stages:
5 - - build
6 - - test
7 - - analyze
8 -
9 - workflow:
10 - rules:
11 - - if: $CI_PIPELINE_SOURCE == "merge_request_event"
12 - - if: $CI_COMMIT_TAG
13 - - if: $CI_COMMIT_REF_PROTECTED == "true"
14 -
15 - test:linux:
16 - image: $image
17 - stage: test
18 - needs: [ ]
19 - tags:
20 - - saas-linux-medium-amd64
21 - variables:
22 - CUSTOM_PATH: "/custom"
23 - TEST_OUTPUT_DIRECTORY: "/tmp/test-output"
24 - before_script:
25 - - ./ci/install-dependencies.sh
26 - script:
27 - - useradd builder --create-home
28 - - chown -R builder "${CI_PROJECT_DIR}"
29 - - sudo --preserve-env --set-home --user=builder ./ci/run-build-and-tests.sh
30 - after_script:
31 - - |
32 - if test "$CI_JOB_STATUS" != 'success'
33 - then
34 - sudo --preserve-env --set-home --user=builder ./ci/print-test-failures.sh
35 - mv "$TEST_OUTPUT_DIRECTORY"/failed-test-artifacts t/
36 - fi
37 - parallel:
38 - matrix:
39 - - jobname: linux-sha256
40 - image: ubuntu:rolling
41 - CC: clang
42 - - jobname: linux-reftable
43 - image: ubuntu:rolling
44 - CC: clang
45 - - jobname: linux-TEST-vars
46 - image: ubuntu:20.04
47 - CC: gcc
48 - CC_PACKAGE: gcc-8
49 - - jobname: linux-breaking-changes
50 - image: ubuntu:rolling
51 - CC: gcc
52 - - jobname: fedora-breaking-changes-meson
53 - image: fedora:latest
54 - - jobname: linux-leaks
55 - image: ubuntu:rolling
56 - CC: gcc
57 - - jobname: linux-reftable-leaks
58 - image: ubuntu:rolling
59 - CC: gcc
60 - - jobname: linux-asan-ubsan
61 - image: ubuntu:rolling
62 - CC: clang
63 - - jobname: linux-meson
64 - image: ubuntu:rolling
65 - CC: gcc
66 - - jobname: linux-musl-meson
67 - image: alpine:latest
68 - # Supported until 2025-04-02.
69 - - jobname: linux32
70 - image: i386/ubuntu:20.04
71 - # A RHEL 8 compatible distro. Supported until 2029-05-31.
72 - - jobname: almalinux-8
73 - image: almalinux:8
74 - # Supported until 2026-08-31.
75 - - jobname: debian-11
76 - image: debian:11
77 - artifacts:
78 - paths:
79 - - t/failed-test-artifacts
80 - reports:
81 - junit: build/meson-logs/testlog.junit.xml
82 - when: on_failure
83 -
84 - test:osx:
85 - image: $image
86 - stage: test
87 - needs: [ ]
88 - tags:
89 - - saas-macos-large-m2pro
90 - variables:
91 - TEST_OUTPUT_DIRECTORY: "/Volumes/RAMDisk"
92 - before_script:
93 - # Create a 4GB RAM disk that we use to store test output on. This small hack
94 - # significantly speeds up tests by more than a factor of 2 because the
95 - # macOS runners use network-attached storage as disks, which is _really_
96 - # slow with the many small writes that our tests do.
97 - - sudo diskutil apfs create $(hdiutil attach -nomount ram://8192000) RAMDisk
98 - - ./ci/install-dependencies.sh
99 - script:
100 - - ./ci/run-build-and-tests.sh
101 - after_script:
102 - - |
103 - if test "$CI_JOB_STATUS" != 'success'
104 - then
105 - ./ci/print-test-failures.sh
106 - mv "$TEST_OUTPUT_DIRECTORY"/failed-test-artifacts t/
107 - fi
108 - parallel:
109 - matrix:
110 - - jobname: osx-clang
111 - image: macos-15-xcode-16
112 - CC: clang
113 - - jobname: osx-reftable
114 - image: macos-26-xcode-26
115 - CC: clang
116 - - jobname: osx-meson
117 - image: macos-26-xcode-26
118 - CC: clang
119 - artifacts:
120 - paths:
121 - - t/failed-test-artifacts
122 - reports:
123 - junit: build/meson-logs/testlog.junit.xml
124 - when: on_failure
125 -
126 - .windows_before_script: &windows_before_script
127 - # Disabling realtime monitoring fails on some of the runners, but it
128 - # significantly speeds up test execution in the case where it works. We thus
129 - # try our luck, but ignore any failures.
130 - - Set-MpPreference -DisableRealtimeMonitoring $true; $true
131 -
132 - build:mingw64:
133 - stage: build
134 - tags:
135 - - saas-windows-medium-amd64
136 - variables:
137 - NO_PERL: 1
138 - before_script:
139 - - *windows_before_script
140 - - ./ci/install-sdk.ps1 -directory "git-sdk"
141 - script:
142 - - git-sdk/usr/bin/bash.exe -l -c 'ci/make-test-artifacts.sh artifacts'
143 - artifacts:
144 - paths:
145 - - artifacts
146 - - git-sdk
147 -
148 - test:mingw64:
149 - stage: test
150 - tags:
151 - - saas-windows-medium-amd64
152 - needs:
153 - - job: "build:mingw64"
154 - artifacts: true
155 - before_script:
156 - - *windows_before_script
157 - - git-sdk/usr/bin/bash.exe -l -c 'tar xf artifacts/artifacts.tar.gz'
158 - - New-Item -Path .git/info -ItemType Directory
159 - - New-Item .git/info/exclude -ItemType File -Value "/git-sdk"
160 - script:
161 - - git-sdk/usr/bin/bash.exe -l -c "ci/run-test-slice.sh $CI_NODE_INDEX $CI_NODE_TOTAL"
162 - after_script:
163 - - git-sdk/usr/bin/bash.exe -l -c 'ci/print-test-failures.sh'
164 - parallel: 10
165 -
166 - .msvc-meson:
167 - variables:
168 - TEST_OUTPUT_DIRECTORY: "C:/Git-Test"
169 - tags:
170 - - saas-windows-medium-amd64
171 - cache:
172 - key:
173 - files:
174 - - ci/install-dependencies.ps1
175 - paths:
176 - - .dependencies
177 - before_script:
178 - - *windows_before_script
179 - - ./ci/install-dependencies.ps1
180 - - $env:Path = "C:\Meson;C:\Rust\bin;$env:Path"
181 - - New-Item -Path $env:TEST_OUTPUT_DIRECTORY -ItemType Directory
182 -
183 - build:msvc-meson:
184 - extends: .msvc-meson
185 - stage: build
186 - script:
187 - - meson setup build --vsenv -Dperl=disabled -Dbackend_max_links=1 -Dcredential_helpers=wincred -Dtest_output_directory="$TEST_OUTPUT_DIRECTORY"
188 - - meson compile -C build
189 - artifacts:
190 - paths:
191 - - build
192 -
193 - test:msvc-meson:
194 - extends: .msvc-meson
195 - stage: test
196 - timeout: 6h
197 - needs:
198 - - job: "build:msvc-meson"
199 - artifacts: true
200 - script:
201 - - |
202 - & "C:/Program Files/Git/usr/bin/bash.exe" -l -c 'ci/run-test-slice-meson.sh build $CI_NODE_INDEX $CI_NODE_TOTAL'
203 - after_script:
204 - - |
205 - if ($env:CI_JOB_STATUS -ne "success") {
206 - & "C:/Program Files/Git/usr/bin/bash.exe" -l -c 'ci/print-test-failures.sh'
207 - Move-Item -Path "$env:TEST_OUTPUT_DIRECTORY/failed-test-artifacts" -Destination t/
208 - }
209 - parallel: 10
210 - artifacts:
211 - paths:
212 - - t/failed-test-artifacts
213 - reports:
214 - junit: build/meson-logs/testlog.junit.xml
215 - when: on_failure
216 -
217 - test:fuzz-smoke-tests:
218 - image: ubuntu:latest
219 - stage: test
220 - needs: [ ]
221 - variables:
222 - CC: clang
223 - before_script:
224 - - ./ci/install-dependencies.sh
225 - script:
226 - - ./ci/run-build-and-minimal-fuzzers.sh
227 -
228 - static-analysis:
229 - image: ubuntu:22.04
230 - stage: analyze
231 - needs: [ ]
232 - variables:
233 - jobname: StaticAnalysis
234 - before_script:
235 - - ./ci/install-dependencies.sh
236 - script:
237 - - ./ci/run-static-analysis.sh
238 - - ./ci/check-directional-formatting.bash
239 -
240 - rust-analysis:
241 - image: ubuntu:rolling
242 - stage: analyze
243 - needs: [ ]
244 - variables:
245 - jobname: RustAnalysis
246 - before_script:
247 - - ./ci/install-dependencies.sh
248 - script:
249 - - ./ci/run-rust-checks.sh
250 -
251 - check-whitespace:
252 - image: ubuntu:latest
253 - stage: analyze
254 - needs: [ ]
255 - before_script:
256 - - ./ci/install-dependencies.sh
257 - # Since $CI_MERGE_REQUEST_TARGET_BRANCH_SHA is only defined for merged
258 - # pipelines, we fallback to $CI_MERGE_REQUEST_DIFF_BASE_SHA, which should
259 - # be defined in all pipelines.
260 - script:
261 - - |
262 - R=${CI_MERGE_REQUEST_TARGET_BRANCH_SHA:-${CI_MERGE_REQUEST_DIFF_BASE_SHA:?}} || exit
263 - ./ci/check-whitespace.sh "$R"
264 - rules:
265 - - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
266 -
267 - check-style:
268 - image: ubuntu:latest
269 - stage: analyze
270 - needs: [ ]
271 - allow_failure: true
272 - variables:
273 - CC: clang
274 - jobname: ClangFormat
275 - before_script:
276 - - ./ci/install-dependencies.sh
277 - # Since $CI_MERGE_REQUEST_TARGET_BRANCH_SHA is only defined for merged
278 - # pipelines, we fallback to $CI_MERGE_REQUEST_DIFF_BASE_SHA, which should
279 - # be defined in all pipelines.
280 - script:
281 - - |
282 - R=${CI_MERGE_REQUEST_TARGET_BRANCH_SHA:-${CI_MERGE_REQUEST_DIFF_BASE_SHA:?}} || exit
283 - ./ci/run-style-check.sh "$R"
284 - rules:
285 - - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
286 -
287 - documentation:
288 - image: ubuntu:latest
289 - stage: analyze
290 - needs: [ ]
291 - variables:
292 - jobname: Documentation
293 - before_script:
294 - - ./ci/install-dependencies.sh
295 - script:
296 - - ./ci/test-documentation.sh
deleted .gitmodules mode 100644
@@ -1,4 +0,0 @@
1 - [submodule "sha1collisiondetection"]
2 - path = sha1collisiondetection
3 - url = https://github.com/cr-marcstevens/sha1collisiondetection.git
4 - branch = master
deleted .mailmap mode 100644
@@ -1,314 +0,0 @@
1 - #
2 - # This list is used by git-shortlog to fix a few botched name translations
3 - # in the git archive, either because the author's full name was messed up
4 - # and/or not always written the same way, making contributions from the
5 - # same person appearing not to be so.
6 - #
7 -
8 - <nico@fluxnic.net> <nico@cam.org>
9 - Alejandro R. Sedeño <asedeno@MIT.EDU> <asedeno@mit.edu>
10 - Alex Bennée <kernel-hacker@bennee.com>
11 - Alex Riesen <raa.lkml@gmail.com> <fork0@t-online.de>
12 - Alex Riesen <raa.lkml@gmail.com> <raa@limbo.localdomain>
13 - Alex Riesen <raa.lkml@gmail.com> <raa@steel.home>
14 - Alex Vandiver <alex@chmrr.net> <alexmv@MIT.EDU>
15 - Alexander Gavrilov <angavrilov@gmail.com>
16 - Alexander Kuleshov <kuleshovmail@gmail.com>
17 - Alexey Shumkin <alex.crezoff@gmail.com> <zapped@mail.ru>
18 - Alexey Shumkin <alex.crezoff@gmail.com> <Alex.Crezoff@gmail.com>
19 - Anders Kaseorg <andersk@MIT.EDU> <andersk@ksplice.com>
20 - Anders Kaseorg <andersk@MIT.EDU> <andersk@mit.edu>
21 - Andrey Mazo <ahippo@yandex.com> Mazo, Andrey <amazo@checkvideo.com>
22 - Aneesh Kumar K.V <aneesh.kumar@gmail.com>
23 - Amos Waterland <apw@debian.org> <apw@rossby.metr.ou.edu>
24 - Amos Waterland <apw@debian.org> <apw@us.ibm.com>
25 - Ben Peart <benpeart@microsoft.com> <Ben.Peart@microsoft.com>
26 - Ben Peart <benpeart@microsoft.com> <peartben@gmail.com>
27 - Ben Walton <bdwalton@gmail.com> <bwalton@artsci.utoronto.ca>
28 - Benoit Sigoure <tsunanet@gmail.com> <tsuna@lrde.epita.fr>
29 - Bernt Hansen <bernt@norang.ca> <bernt@alumni.uwaterloo.ca>
30 - Brandon Casey <drafnel@gmail.com> <casey@nrlssc.navy.mil>
31 - Brandon Williams <bwilliams.eng@gmail.com> <bmwill@google.com>
32 - brian m. carlson <sandals@crustytoothpaste.net>
33 - brian m. carlson <sandals@crustytoothpaste.net> <sandals@crustytoothpaste.ath.cx>
34 - brian m. carlson <sandals@crustytoothpaste.net> <bk2204@github.com>
35 - Bryan Larsen <bryan@larsen.st> <bryan.larsen@gmail.com>
36 - Bryan Larsen <bryan@larsen.st> <bryanlarsen@yahoo.com>
37 - Cheng Renquan <crquan@gmail.com>
38 - Chris Shoemaker <c.shoemaker@cox.net>
39 - Chris Wright <chrisw@sous-sol.org> <chrisw@osdl.org>
40 - Christian Ludwig <chrissicool@gmail.com> <chrissicool@googlemail.com>
41 - Cord Seele <cowose@gmail.com> <cowose@googlemail.com>
42 - Christian Couder <chriscool@tuxfamily.org> <christian.couder@gmail.com>
43 - Christian Stimming <stimming@tuhh.de> <chs@ckiste.goetheallee>
44 - Christopher Díaz Riveros <chrisadr@gentoo.org> Christopher Diaz Riveros
45 - Clemens Buchacher <drizzd@gmx.net> <drizzd@aon.at>
46 - Clemens Buchacher <drizzd@gmx.net> <clemens.buchacher@intel.com>
47 - Csaba Henk <csaba@gluster.com> <csaba@lowlife.hu>
48 - Dan Johnson <computerdruid@gmail.com>
49 - Dana L. How <danahow@gmail.com> <how@deathvalley.cswitch.com>
50 - Dana L. How <danahow@gmail.com> Dana How
51 - Daniel Barkalow <barkalow@iabervon.org>
52 - Daniel Knittl-Frank <knittl89@googlemail.com> knittl
53 - Daniel Trstenjak <daniel.trstenjak@gmail.com> <daniel.trstenjak@online.de>
54 - Daniel Trstenjak <daniel.trstenjak@gmail.com> <trsten@science-computing.de>
55 - David Brown <git@davidb.org> <davidb@quicinc.com>
56 - David D. Kilzer <ddkilzer@kilzer.net>
57 - David Kågedal <davidk@lysator.liu.se>
58 - David Reiss <dreiss@facebook.com> <dreiss@dreiss-vmware.(none)>
59 - David S. Miller <davem@davemloft.net>
60 - David Turner <novalis@novalis.org> <dturner@twopensource.com>
61 - David Turner <novalis@novalis.org> <dturner@twosigma.com>
62 - Derrick Stolee <stolee@gmail.com> <derrickstolee@github.com>
63 - Derrick Stolee <stolee@gmail.com> Derrick Stolee via GitGitGadget <gitgitgadget@gmail.com>
64 - Derrick Stolee <stolee@gmail.com> <dstolee@microsoft.com>
65 - Deskin Miller <deskinm@umich.edu>
66 - Đoàn Trần Công Danh <congdanhqx@gmail.com> Doan Tran Cong Danh
67 - Dirk Süsserott <newsletter@dirk.my1.cc>
68 - Emily Shaffer <nasamuffin@google.com> <emilyshaffer@google.com>
69 - Eric Blake <eblake@redhat.com> <ebb9@byu.net>
70 - Eric Hanchrow <eric.hanchrow@gmail.com> <offby1@blarg.net>
71 - Eric S. Raymond <esr@thyrsus.com>
72 - Eric Wong <e@80x24.org> <normalperson@yhbt.net>
73 - Erik Faye-Lund <kusmabite@gmail.com> <kusmabite@googlemail.com>
74 - Eyvind Bernhardsen <eyvind.bernhardsen@gmail.com> <eyvind-git@orakel.ntnu.no>
75 - Fangyi Zhou <fangyi.zhou@yuriko.moe> Zhou Fangyi
76 - Florian Achleitner <florian.achleitner.2.6.31@gmail.com> <florian.achleitner2.6.31@gmail.com>
77 - Franck Bui-Huu <vagabon.xyz@gmail.com> <fbuihuu@gmail.com>
78 - Frank Lichtenheld <frank@lichtenheld.de> <djpig@debian.org>
79 - Frank Lichtenheld <frank@lichtenheld.de> <flichtenheld@astaro.com>
80 - Fredrik Kuivinen <frekui@gmail.com> <freku045@student.liu.se>
81 - Frédéric Heitzmann <frederic.heitzmann@gmail.com>
82 - Garry Dolley <gdolley@ucla.edu> <gdolley@arpnetworks.com>
83 - Glen Choo <glencbz@gmail.com> <chooglen@google.com>
84 - Greg Hurrell <greg@hurrell.net> <greg.hurrell@datadoghq.com>
85 - Greg Hurrell <greg@hurrell.net> <win@wincent.com>
86 - Greg Price <price@mit.edu> <price@MIT.EDU>
87 - Greg Price <price@mit.edu> <price@ksplice.com>
88 - Heiko Voigt <hvoigt@hvoigt.net> <git-list@hvoigt.net>
89 - H. Merijn Brand <h.m.brand@xs4all.nl> H.Merijn Brand <h.m.brand@xs4all.nl>
90 - H. Peter Anvin <hpa@zytor.com> <hpa@bonde.sc.orionmulti.com>
91 - H. Peter Anvin <hpa@zytor.com> <hpa@smyrno.hos.anvin.org>
92 - H. Peter Anvin <hpa@zytor.com> <hpa@tazenda.sc.orionmulti.com>
93 - H. Peter Anvin <hpa@zytor.com> <hpa@trantor.hos.anvin.org>
94 - Han-Wen Nienhuys <hanwen@google.com> Han-Wen Nienhuys <hanwen@xs4all.nl>
95 - Horst H. von Brand <vonbrand@inf.utfsm.cl>
96 - J. Bruce Fields <bfields@citi.umich.edu> <bfields@fieldses.org>
97 - J. Bruce Fields <bfields@citi.umich.edu> <bfields@pig.linuxdev.us.dell.com>
98 - J. Bruce Fields <bfields@citi.umich.edu> <bfields@puzzle.fieldses.org>
99 - Jakub Narębski <jnareb@gmail.com>
100 - James Y Knight <jknight@itasoftware.com> <foom@fuhm.net>
101 - # The 2 following authors are probably the same person,
102 - # but both emails bounce.
103 - Jason McMullan <jason.mcmullan@timesys.com>
104 - Jason McMullan <mcmullan@netapp.com>
105 - Jason Riedy <ejr@eecs.berkeley.edu> <ejr@EECS.Berkeley.EDU>
106 - Jason Riedy <ejr@eecs.berkeley.edu> <ejr@cs.berkeley.edu>
107 - Jay Soffian <jaysoffian@gmail.com> <jaysoffian+git@gmail.com>
108 - Jean-Noël Avila <jn.avila@free.fr> Jean-Noel Avila
109 - Jean-Noël Avila <jn.avila@free.fr> Jean-Noël AVILA
110 - Jean-Noël Avila <jn.avila@free.fr> Jean-Noel Avila <jean-noel.avila@scantech.fr>
111 - Jean-Noël Avila <jn.avila@free.fr> Jean-Noël AVILA <avila.jn@gmail.com>
112 - Jean-Noël Avila <jn.avila@free.fr> Jean-Noël Avila via GitGitGadget <gitgitgadget@gmail.com>
113 - Jeff King <peff@peff.net> <peff@github.com>
114 - Jeff Muizelaar <jmuizelaar@mozilla.com> <jeff@infidigm.net>
115 - Jens Axboe <axboe@kernel.dk> <axboe@suse.de>
116 - Jens Axboe <axboe@kernel.dk> <jens.axboe@oracle.com>
117 - Jens Lindström <jl@opera.com> Jens Lindstrom <jl@opera.com>
118 - Jim Meyering <jim@meyering.net> <meyering@redhat.com>
119 - Joachim Berdal Haga <cjhaga@fys.uio.no>
120 - Joachim Jablon <joachim.jablon@people-doc.com> <ewjoachim@gmail.com>
121 - Johannes Schindelin <Johannes.Schindelin@gmx.de> <johannes.schindelin@gmx.de>
122 - Johannes Schindelin <Johannes.Schindelin@gmx.de> Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
123 - Johannes Sixt <j6t@kdbg.org> <J.Sixt@eudaptics.com>
124 - Johannes Sixt <j6t@kdbg.org> <j.sixt@viscovery.net>
125 - Johannes Sixt <j6t@kdbg.org> <johannes.sixt@telecom.at>
126 - John 'Warthog9' Hawley <warthog9@kernel.org> <warthog9@eaglescrag.net>
127 - Jon Loeliger <jdl@jdl.com> <jdl@freescale.com>
128 - Jon Loeliger <jdl@jdl.com> <jdl@freescale.org>
129 - Jon Seymour <jon.seymour@gmail.com> <jon@blackcubes.dyndns.org>
130 - Jonathan Nieder <jrnieder@gmail.com> <jrnieder@uchicago.edu>
131 - Jonathan del Strother <jon.delStrother@bestbefore.tv> <maillist@steelskies.com>
132 - Jonathan Tan <jonathantanmy@fastmail.com> <jonathantanmy@google.com>
133 - Josh Triplett <josh@joshtriplett.org> <josh@freedesktop.org>
134 - Josh Triplett <josh@joshtriplett.org> <josht@us.ibm.com>
135 - Julian Phillips <julian@quantumfyre.co.uk> <jp3@quantumfyre.co.uk>
136 - Junio C Hamano <gitster@pobox.com> <gitster@pobox.com>
137 - Junio C Hamano <gitster@pobox.com> <junio@hera.kernel.org>
138 - Junio C Hamano <gitster@pobox.com> <junio@kernel.org>
139 - Junio C Hamano <gitster@pobox.com> <junio@pobox.com>
140 - Junio C Hamano <gitster@pobox.com> <junio@twinsun.com>
141 - Junio C Hamano <gitster@pobox.com> <junkio@cox.net>
142 - Junio C Hamano <gitster@pobox.com> <junkio@twinsun.com>
143 - Kaartic Sivaraam <kaartic.sivaraam@gmail.com> <kaarticsivaraam91196@gmail.com>
144 - Karl Wiberg <kha@treskal.com> Karl Hasselström
145 - Karl Wiberg <kha@treskal.com> <kha@yoghurt.hemma.treskal.com>
146 - Karsten Blees <karsten.blees@gmail.com> <karsten.blees@dcon.de>
147 - Karsten Blees <karsten.blees@gmail.com> <blees@dcon.de>
148 - Kay Sievers <kay.sievers@vrfy.org> <kay.sievers@suse.de>
149 - Kay Sievers <kay.sievers@vrfy.org> <kay@mam.(none)>
150 - Kazuki Saitoh <ksaitoh560@gmail.com> kazuki saitoh <ksaitoh560@gmail.com>
151 - Keith Cascio <keith@CS.UCLA.EDU> <keith@cs.ucla.edu>
152 - Kent Engstrom <kent@lysator.liu.se>
153 - Kevin Leung <kevinlsk@gmail.com>
154 - Kirill Smelkov <kirr@navytux.spb.ru> <kirr@landau.phys.spbu.ru>
155 - Kirill Smelkov <kirr@navytux.spb.ru> <kirr@mns.spb.ru>
156 - Knut Franke <Knut.Franke@gmx.de> <k.franke@science-computing.de>
157 - Lars Doelle <lars.doelle@on-line ! de>
158 - Lars Doelle <lars.doelle@on-line.de>
159 - Lars Noschinski <lars@public.noschinski.de> <lars.noschinski@rwth-aachen.de>
160 - Li Hong <leehong@pku.edu.cn>
161 - Linus Arver <linus@ucla.edu> <linusa@google.com>
162 - Linus Torvalds <torvalds@linux-foundation.org> <torvalds@evo.osdl.org>
163 - Linus Torvalds <torvalds@linux-foundation.org> <torvalds@g5.osdl.org>
164 - Linus Torvalds <torvalds@linux-foundation.org> <torvalds@osdl.org>
165 - Linus Torvalds <torvalds@linux-foundation.org> <torvalds@ppc970.osdl.org.(none)>
166 - Linus Torvalds <torvalds@linux-foundation.org> <torvalds@ppc970.osdl.org>
167 - Linus Torvalds <torvalds@linux-foundation.org> <torvalds@woody.linux-foundation.org>
168 - Lukas Sandström <luksan@gmail.com> <lukass@etek.chalmers.se>
169 - Marc Khouzam <marc.khouzam@ericsson.com> <marc.khouzam@gmail.com>
170 - Marc-André Lureau <marcandre.lureau@gmail.com>
171 - Marco Costalba <mcostalba@gmail.com> <mcostalba@yahoo.it>
172 - Mark Levedahl <mdl123@verizon.net> <mlevedahl@gmail.com>
173 - Mark Rada <marada@uwaterloo.ca>
174 - Martin Langhoff <martin@laptop.org> <martin@catalyst.net.nz>
175 - Martin von Zweigbergk <martinvonz@gmail.com> <martin.von.zweigbergk@gmail.com>
176 - Masaya Suzuki <masayasuzuki@google.com> <draftcode@gmail.com>
177 - Matheus Tavares <matheus.tavb@gmail.com> <matheus.bernardino@usp.br>
178 - Matt Draisey <matt@draisey.ca> <mattdraisey@sympatico.ca>
179 - Matt Kraai <kraai@ftbfs.org> <matt.kraai@amo.abbott.com>
180 - Matt McCutchen <matt@mattmccutchen.net> <hashproduct@gmail.com>
181 - Matthias Kestenholz <matthias@spinlock.ch> <mk@spinlock.ch>
182 - Matthias Rüster <matthias.ruester@gmail.com> Matthias Ruester
183 - Matthias Urlichs <matthias@urlichs.de> <smurf@kiste.(none)>
184 - Matthias Urlichs <matthias@urlichs.de> <smurf@smurf.noris.de>
185 - Matthieu Moy <git@matthieu-moy.fr> <Matthieu.Moy@imag.fr>
186 - Michael Coleman <tutufan@gmail.com>
187 - Michael J Gruber <git@grubix.eu> <michaeljgruber+gmane@fastmail.fm>
188 - Michael J Gruber <git@grubix.eu> <git@drmicha.warpmail.net>
189 - Michael S. Tsirkin <mst@kernel.org> <mst@redhat.com>
190 - Michael S. Tsirkin <mst@kernel.org> <mst@mellanox.co.il>
191 - Michael S. Tsirkin <mst@kernel.org> <mst@dev.mellanox.co.il>
192 - Michael W. Olson <mwolson@gnu.org>
193 - Michael Witten <mfwitten@gmail.com> <mfwitten@MIT.EDU>
194 - Michael Witten <mfwitten@gmail.com> <mfwitten@mit.edu>
195 - Michal Rokos <michal.rokos@nextsoft.cz> <rokos@nextsoft.cz>
196 - Michele Ballabio <barra_cuda@katamail.com>
197 - Miklos Vajna <vmiklos@frugalware.org> <vmiklos@suse.cz>
198 - Namhyung Kim <namhyung@gmail.com> <namhyung.kim@lge.com>
199 - Namhyung Kim <namhyung@gmail.com> <namhyung@kernel.org>
200 - Nanako Shiraishi <nanako3@lavabit.com> <nanako3@bluebottle.com>
201 - Nanako Shiraishi <nanako3@lavabit.com>
202 - Nelson Elhage <nelhage@mit.edu> <nelhage@MIT.EDU>
203 - Nelson Elhage <nelhage@mit.edu> <nelhage@ksplice.com>
204 - Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
205 - Nick Stokoe <nick@noodlefactory.co.uk> Nick Woolley <nick@noodlefactory.co.uk>
206 - Nick Stokoe <nick@noodlefactory.co.uk> Nick Woolley <nickwoolley@yahoo.co.uk>
207 - Nicolas Morey-Chaisemartin <devel-git@morey-chaisemartin.com> <nicolas.morey@free.fr>
208 - Nicolas Morey-Chaisemartin <devel-git@morey-chaisemartin.com> <nmorey@kalray.eu>
209 - Nicolas Morey-Chaisemartin <devel-git@morey-chaisemartin.com> <nicolas@morey-chaisemartin.com>
210 - Nicolas Morey-Chaisemartin <devel-git@morey-chaisemartin.com> <NMoreyChaisemartin@suse.com>
211 - Nicolas Morey-Chaisemartin <devel-git@morey-chaisemartin.com> <nmoreychaisemartin@suse.com>
212 - Nicolas Sebrecht <nicolas.s.dev@gmx.fr> <ni.s@laposte.net>
213 - Orgad Shaneh <orgads@gmail.com> <orgad.shaneh@audiocodes.com>
214 - Paolo Bonzini <bonzini@gnu.org> <paolo.bonzini@lu.unisi.ch>
215 - Pascal Obry <pascal@obry.net> <pascal.obry@gmail.com>
216 - Pascal Obry <pascal@obry.net> <pascal.obry@wanadoo.fr>
217 - Pat Notz <patnotz@gmail.com> <pknotz@sandia.gov>
218 - Patrick Steinhardt <ps@pks.im> <patrick.steinhardt@elego.de>
219 - Paul Mackerras <paulus@samba.org> <paulus@dorrigo.(none)>
220 - Paul Mackerras <paulus@samba.org> <paulus@pogo.(none)>
221 - Peter Baumann <waste.manager@gmx.de> <Peter.B.Baumann@stud.informatik.uni-erlangen.de>
222 - Peter Baumann <waste.manager@gmx.de> <siprbaum@stud.informatik.uni-erlangen.de>
223 - Peter Krefting <peter@softwolves.pp.se> <peter@softwolves.pp.se>
224 - Peter Krefting <peter@softwolves.pp.se> <peter@svarten.intern.softwolves.pp.se>
225 - Petr Baudis <pasky@ucw.cz> <pasky@suse.cz>
226 - Petr Baudis <pasky@ucw.cz> <xpasky@machine>
227 - Phil Hord <phil.hord@gmail.com> <hordp@cisco.com>
228 - Phil Hord <phil.hord@gmail.com> <phord@purestorage.com>
229 - Philip Jägenstedt <philip@foolip.org> <philip.jagenstedt@gmail.com>
230 - Philip Oakley <philipoakley@iee.email> <philipoakley@iee.org> # secondary <philipoakley@dunelm.org.uk>
231 - Philipp A. Hartmann <pah@qo.cx> <ph@sorgh.de>
232 - Philippe Bruhat <book@cpan.org>
233 - Phillip Wood <phillip.wood@dunelm.org.uk> <phillip.wood123@gmail.com>
234 - Phillip Wood <phillip.wood@dunelm.org.uk> <phillip.wood@talktalk.net>
235 - Ralf Thielow <ralf.thielow@gmail.com> <ralf.thielow@googlemail.com>
236 - Ramsay Jones <ramsay@ramsayjones.plus.com> <ramsay@ramsay1.demon.co.uk>
237 - Ramkumar Ramachandra <r@artagnon.com> <artagnon@gmail.com>
238 - Randall S. Becker <randall.becker@nexbridge.ca> <rsbecker@nexbridge.com>
239 - René Scharfe <l.s.r@web.de> <rene.scharfe@lsrfire.ath.cx>
240 - René Scharfe <l.s.r@web.de> Rene Scharfe
241 - Richard Hansen <rhansen@rhansen.org> <hansenr@google.com>
242 - Richard Hansen <rhansen@rhansen.org> <rhansen@bbn.com>
243 - Robert Fitzsimons <robfitz@273k.net>
244 - Robert Shearman <robertshearman@gmail.com> <rob@codeweavers.com>
245 - Robert Zeh <robert.a.zeh@gmail.com>
246 - Robin Rosenberg <robin.rosenberg@dewire.com> <robin.rosenberg.lists@dewire.com>
247 - Rutger Nijlunsing <rutger.nijlunsing@gmail.com> <rutger@nospam.com>
248 - Rutger Nijlunsing <rutger.nijlunsing@gmail.com> <git@tux.tmfweb.nl>
249 - Ryan Anderson <ryan@michonline.com> <rda@google.com>
250 - Salikh Zakirov <salikh.zakirov@gmail.com> <Salikh.Zakirov@Intel.com>
251 - Sam Vilain <sam@vilain.net> <sam.vilain@catalyst.net.nz>
252 - Sam Vilain <sam@vilain.net> sam@vilain.net
253 - Santi Béjar <santi@agolina.net> <sbejar@gmail.com>
254 - Sean Estabrooks <seanlkml@sympatico.ca>
255 - Sebastian Schuberth <sschuberth@gmail.com> <sschuberth@visageimaging.com>
256 - Seth Falcon <seth@userprimary.net> <sfalcon@fhcrc.org>
257 - Shawn O. Pearce <spearce@spearce.org>
258 - Wei Shuyu <wsy@dogben.com> Shuyu Wei
259 - Sidhant Sharma <tigerkid001@gmail.com> Sidhant Sharma [:tk]
260 - Simon Hausmann <hausmann@kde.org> <simon@lst.de>
261 - Simon Hausmann <hausmann@kde.org> <shausman@trolltech.com>
262 - Stefan Beller <stefanbeller@gmail.com> <stefanbeller@googlemail.com>
263 - Stefan Beller <stefanbeller@gmail.com> <sbeller@google.com>
264 - Stefan Naewe <stefan.naewe@gmail.com> <stefan.naewe@atlas-elektronik.com>
265 - Stefan Naewe <stefan.naewe@gmail.com> <stefan.naewe@googlemail.com>
266 - Stefan Sperling <stsp@elego.de> <stsp@stsp.name>
267 - Štěpán Němec <stepnem@gmail.com> <stepan.nemec@gmail.com>
268 - Stephen Boyd <bebarino@gmail.com> <sboyd@codeaurora.org>
269 - Stephen P. Smith <ishchis2@gmail.com> <ischis2@cox.net>
270 - Steven Drake <sdrake@xnet.co.nz> <sdrake@ihug.co.nz>
271 - Steven Grimm <koreth@midwinter.com> <sgrimm@sgrimm-mbp.local>
272 - Steven Grimm <koreth@midwinter.com> koreth@midwinter.com
273 - Steven Walter <stevenrwalter@gmail.com> <swalter@lexmark.com>
274 - Steven Walter <stevenrwalter@gmail.com> <swalter@lpdev.prtdev.lexmark.com>
275 - Sven Verdoolaege <skimo@kotnet.org> <Sven.Verdoolaege@cs.kuleuven.ac.be>
276 - Sven Verdoolaege <skimo@kotnet.org> <skimo@liacs.nl>
277 - SZEDER Gábor <szeder.dev@gmail.com> <szeder@ira.uka.de>
278 - Tao Qingyun <taoqy@ls-a.me> <845767657@qq.com>
279 - Tay Ray Chuan <rctay89@gmail.com>
280 - Ted Percival <ted@midg3t.net> <ted.percival@quest.com>
281 - Theodore Ts'o <tytso@mit.edu>
282 - Thomas Ackermann <th.acker@arcor.de> <th.acker66@arcor.de>
283 - Thomas Rast <tr@thomasrast.ch> <trast@student.ethz.ch>
284 - Thomas Rast <tr@thomasrast.ch> <trast@inf.ethz.ch>
285 - Thomas Rast <tr@thomasrast.ch> <trast@google.com>
286 - Tian Yuchen <cat@malon.dev> <a3205153416@gmail.com>
287 - Timo Hirvonen <tihirvon@gmail.com> <tihirvon@ee.oulu.fi>
288 - Toby Allsopp <Toby.Allsopp@navman.co.nz> <toby.allsopp@navman.co.nz>
289 - Tom Grennan <tmgrennan@gmail.com> <tgrennan@redback.com>
290 - Tommi Virtanen <tv@debian.org> <tv@eagain.net>
291 - Tommi Virtanen <tv@debian.org> <tv@inoi.fi>
292 - Tommy Thorn <tommy-git@thorn.ws> <tt1729@yahoo.com>
293 - Tony Luck <tony.luck@intel.com>
294 - Tor Arne Vestbø <torarnv@gmail.com> <tavestbo@trolltech.com>
295 - Trần Ngọc Quân <vnwildman@gmail.com> Tran Ngoc Quan <vnwildman@gmail.com>
296 - Trent Piepho <tpiepho@gmail.com> <tpiepho@freescale.com>
297 - Trent Piepho <tpiepho@gmail.com> <xyzzy@speakeasy.org>
298 - Uwe Kleine-König <u.kleine-koenig@pengutronix.de> <Uwe.Kleine-Koenig@digi.com>
299 - Uwe Kleine-König <u.kleine-koenig@pengutronix.de> <ukleinek@informatik.uni-freiburg.de>
300 - Uwe Kleine-König <u.kleine-koenig@pengutronix.de> <uzeisberger@io.fsforth.de>
301 - Uwe Kleine-König <u.kleine-koenig@pengutronix.de> <zeisberg@informatik.uni-freiburg.de>
302 - Ville Skyttä <ville.skytta@iki.fi> <scop@xemacs.org>
303 - Vitaly "_Vi" Shukela <vi0oss@gmail.com> <public_vi@tut.by>
304 - Vitaly "_Vi" Shukela <vi0oss@gmail.com> Vitaly _Vi Shukela
305 - W. Trevor King <wking@tremily.us> <wking@drexel.edu>
306 - William Pursell <bill.pursell@gmail.com>
307 - YONETANI Tomokazu <y0n3t4n1@gmail.com> <qhwt+git@les.ath.cx>
308 - YONETANI Tomokazu <y0n3t4n1@gmail.com> <y0netan1@dragonflybsd.org>
309 - YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
310 - Yi-Jyun Pan <pan93412@gmail.com>
311 - # the two anonymous contributors are different persons:
312 - anonymous <linux@horizon.com>
313 - anonymous <linux@horizon.net>
314 - İsmail Dönmez <ismail@pardus.org.tr>
deleted .tsan-suppressions mode 100644
@@ -1,15 +0,0 @@
1 - # Suppressions for ThreadSanitizer (tsan).
2 - #
3 - # This file is used by setting the environment variable TSAN_OPTIONS to, e.g.,
4 - # "suppressions=$(pwd)/.tsan-suppressions". Observe that relative paths such as
5 - # ".tsan-suppressions" might not work.
6 -
7 - # A static variable is written to racily, but we always write the same value, so
8 - # in practice it (hopefully!) doesn't matter.
9 - race:^want_color$
10 -
11 - # A boolean value, which tells whether the replace_map has been initialized or
12 - # not, is read racily with an update. As this variable is written to only once,
13 - # and it's OK if the value change right after reading it, this shouldn't be a
14 - # problem.
15 - race:^lookup_replace_object$
deleted CODE_OF_CONDUCT.md mode 100644
@@ -1,145 +0,0 @@
1 - # Git Code of Conduct
2 -
3 - This code of conduct outlines our expectations for participants within
4 - the Git community, as well as steps for reporting unacceptable behavior.
5 - We are committed to providing a welcoming and inspiring community for
6 - all and expect our code of conduct to be honored. Anyone who violates
7 - this code of conduct may be banned from the community.
8 -
9 - ## Our Pledge
10 -
11 - We as members, contributors, and leaders pledge to make participation in our
12 - community a harassment-free experience for everyone, regardless of age, body
13 - size, visible or invisible disability, ethnicity, sex characteristics, gender
14 - identity and expression, level of experience, education, socio-economic status,
15 - nationality, personal appearance, race, religion, or sexual identity
16 - and orientation.
17 -
18 - We pledge to act and interact in ways that contribute to an open, welcoming,
19 - diverse, inclusive, and healthy community.
20 -
21 - ## Our Standards
22 -
23 - Examples of behavior that contributes to a positive environment for our
24 - community include:
25 -
26 - * Demonstrating empathy and kindness toward other people
27 - * Being respectful of differing opinions, viewpoints, and experiences
28 - * Giving and gracefully accepting constructive feedback
29 - * Accepting responsibility and apologizing to those affected by our mistakes,
30 - and learning from the experience
31 - * Focusing on what is best not just for us as individuals, but for the
32 - overall community
33 -
34 - Examples of unacceptable behavior include:
35 -
36 - * The use of sexualized language or imagery, and sexual attention or
37 - advances of any kind
38 - * Trolling, insulting or derogatory comments, and personal or political attacks
39 - * Public or private harassment
40 - * Publishing others' private information, such as a physical or email
41 - address, without their explicit permission
42 - * Other conduct which could reasonably be considered inappropriate in a
43 - professional setting
44 -
45 - ## Enforcement Responsibilities
46 -
47 - Community leaders are responsible for clarifying and enforcing our standards of
48 - acceptable behavior and will take appropriate and fair corrective action in
49 - response to any behavior that they deem inappropriate, threatening, offensive,
50 - or harmful.
51 -
52 - Community leaders have the right and responsibility to remove, edit, or reject
53 - comments, commits, code, wiki edits, issues, and other contributions that are
54 - not aligned to this Code of Conduct, and will communicate reasons for moderation
55 - decisions when appropriate.
56 -
57 - ## Scope
58 -
59 - This Code of Conduct applies within all community spaces, and also applies when
60 - an individual is officially representing the community in public spaces.
61 - Examples of representing our community include using an official e-mail address,
62 - posting via an official social media account, or acting as an appointed
63 - representative at an online or offline event.
64 -
65 - ## Enforcement
66 -
67 - Instances of abusive, harassing, or otherwise unacceptable behavior may be
68 - reported to the community leaders responsible for enforcement at
69 - git@sfconservancy.org, or individually:
70 -
71 - - Ævar Arnfjörð Bjarmason <avarab@gmail.com>
72 - - Christian Couder <christian.couder@gmail.com>
73 - - Junio C Hamano <gitster@pobox.com>
74 - - Taylor Blau <me@ttaylorr.com>
75 -
76 - All complaints will be reviewed and investigated promptly and fairly.
77 -
78 - All community leaders are obligated to respect the privacy and security of the
79 - reporter of any incident.
80 -
81 - ## Enforcement Guidelines
82 -
83 - Community leaders will follow these Community Impact Guidelines in determining
84 - the consequences for any action they deem in violation of this Code of Conduct:
85 -
86 - ### 1. Correction
87 -
88 - **Community Impact**: Use of inappropriate language or other behavior deemed
89 - unprofessional or unwelcome in the community.
90 -
91 - **Consequence**: A private, written warning from community leaders, providing
92 - clarity around the nature of the violation and an explanation of why the
93 - behavior was inappropriate. A public apology may be requested.
94 -
95 - ### 2. Warning
96 -
97 - **Community Impact**: A violation through a single incident or series
98 - of actions.
99 -
100 - **Consequence**: A warning with consequences for continued behavior. No
101 - interaction with the people involved, including unsolicited interaction with
102 - those enforcing the Code of Conduct, for a specified period of time. This
103 - includes avoiding interactions in community spaces as well as external channels
104 - like social media. Violating these terms may lead to a temporary or
105 - permanent ban.
106 -
107 - ### 3. Temporary Ban
108 -
109 - **Community Impact**: A serious violation of community standards, including
110 - sustained inappropriate behavior.
111 -
112 - **Consequence**: A temporary ban from any sort of interaction or public
113 - communication with the community for a specified period of time. No public or
114 - private interaction with the people involved, including unsolicited interaction
115 - with those enforcing the Code of Conduct, is allowed during this period.
116 - Violating these terms may lead to a permanent ban.
117 -
118 - ### 4. Permanent Ban
119 -
120 - **Community Impact**: Demonstrating a pattern of violation of community
121 - standards, including sustained inappropriate behavior, harassment of an
122 - individual, or aggression toward or disparagement of classes of individuals.
123 -
124 - **Consequence**: A permanent ban from any sort of public interaction within
125 - the community.
126 -
127 - ## Attribution
128 -
129 - This Code of Conduct is adapted from the [Contributor Covenant][homepage],
130 - version 2.0, available at
131 - [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
132 -
133 - Community Impact Guidelines were inspired by
134 - [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
135 -
136 - For answers to common questions about this code of conduct, see the FAQ at
137 - [https://www.contributor-covenant.org/faq][FAQ]. Translations are available
138 - at [https://www.contributor-covenant.org/translations][translations].
139 -
140 - [homepage]: https://www.contributor-covenant.org
141 - [v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
142 - [Mozilla CoC]: https://github.com/mozilla/diversity
143 - [FAQ]: https://www.contributor-covenant.org/faq
144 - [translations]: https://www.contributor-covenant.org/translations
145 -
deleted COPYING mode 100644
@@ -1,360 +0,0 @@
1 -
2 - Note that the only valid version of the GPL as far as this project
3 - is concerned is _this_ particular version of the license (ie v2, not
4 - v2.2 or v3.x or whatever), unless explicitly otherwise stated.
5 -
6 - HOWEVER, in order to allow a migration to GPLv3 if that seems like
7 - a good idea, I also ask that people involved with the project make
8 - their preferences known. In particular, if you trust me to make that
9 - decision, you might note so in your copyright message, ie something
10 - like
11 -
12 - This file is licensed under the GPL v2, or a later version
13 - at the discretion of Linus.
14 -
15 - might avoid issues. But we can also just decide to synchronize and
16 - contact all copyright holders on record if/when the occasion arises.
17 -
18 - Linus Torvalds
19 -
20 - ----------------------------------------
21 -
22 - GNU GENERAL PUBLIC LICENSE
23 - Version 2, June 1991
24 -
25 - Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
26 - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
27 - Everyone is permitted to copy and distribute verbatim copies
28 - of this license document, but changing it is not allowed.
29 -
30 - Preamble
31 -
32 - The licenses for most software are designed to take away your
33 - freedom to share and change it. By contrast, the GNU General Public
34 - License is intended to guarantee your freedom to share and change free
35 - software--to make sure the software is free for all its users. This
36 - General Public License applies to most of the Free Software
37 - Foundation's software and to any other program whose authors commit to
38 - using it. (Some other Free Software Foundation software is covered by
39 - the GNU Lesser General Public License instead.) You can apply it to
40 - your programs, too.
41 -
42 - When we speak of free software, we are referring to freedom, not
43 - price. Our General Public Licenses are designed to make sure that you
44 - have the freedom to distribute copies of free software (and charge for
45 - this service if you wish), that you receive source code or can get it
46 - if you want it, that you can change the software or use pieces of it
47 - in new free programs; and that you know you can do these things.
48 -
49 - To protect your rights, we need to make restrictions that forbid
50 - anyone to deny you these rights or to ask you to surrender the rights.
51 - These restrictions translate to certain responsibilities for you if you
52 - distribute copies of the software, or if you modify it.
53 -
54 - For example, if you distribute copies of such a program, whether
55 - gratis or for a fee, you must give the recipients all the rights that
56 - you have. You must make sure that they, too, receive or can get the
57 - source code. And you must show them these terms so they know their
58 - rights.
59 -
60 - We protect your rights with two steps: (1) copyright the software, and
61 - (2) offer you this license which gives you legal permission to copy,
62 - distribute and/or modify the software.
63 -
64 - Also, for each author's protection and ours, we want to make certain
65 - that everyone understands that there is no warranty for this free
66 - software. If the software is modified by someone else and passed on, we
67 - want its recipients to know that what they have is not the original, so
68 - that any problems introduced by others will not reflect on the original
69 - authors' reputations.
70 -
71 - Finally, any free program is threatened constantly by software
72 - patents. We wish to avoid the danger that redistributors of a free
73 - program will individually obtain patent licenses, in effect making the
74 - program proprietary. To prevent this, we have made it clear that any
75 - patent must be licensed for everyone's free use or not licensed at all.
76 -
77 - The precise terms and conditions for copying, distribution and
78 - modification follow.
79 -
80 - GNU GENERAL PUBLIC LICENSE
81 - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
82 -
83 - 0. This License applies to any program or other work which contains
84 - a notice placed by the copyright holder saying it may be distributed
85 - under the terms of this General Public License. The "Program", below,
86 - refers to any such program or work, and a "work based on the Program"
87 - means either the Program or any derivative work under copyright law:
88 - that is to say, a work containing the Program or a portion of it,
89 - either verbatim or with modifications and/or translated into another
90 - language. (Hereinafter, translation is included without limitation in
91 - the term "modification".) Each licensee is addressed as "you".
92 -
93 - Activities other than copying, distribution and modification are not
94 - covered by this License; they are outside its scope. The act of
95 - running the Program is not restricted, and the output from the Program
96 - is covered only if its contents constitute a work based on the
97 - Program (independent of having been made by running the Program).
98 - Whether that is true depends on what the Program does.
99 -
100 - 1. You may copy and distribute verbatim copies of the Program's
101 - source code as you receive it, in any medium, provided that you
102 - conspicuously and appropriately publish on each copy an appropriate
103 - copyright notice and disclaimer of warranty; keep intact all the
104 - notices that refer to this License and to the absence of any warranty;
105 - and give any other recipients of the Program a copy of this License
106 - along with the Program.
107 -
108 - You may charge a fee for the physical act of transferring a copy, and
109 - you may at your option offer warranty protection in exchange for a fee.
110 -
111 - 2. You may modify your copy or copies of the Program or any portion
112 - of it, thus forming a work based on the Program, and copy and
113 - distribute such modifications or work under the terms of Section 1
114 - above, provided that you also meet all of these conditions:
115 -
116 - a) You must cause the modified files to carry prominent notices
117 - stating that you changed the files and the date of any change.
118 -
119 - b) You must cause any work that you distribute or publish, that in
120 - whole or in part contains or is derived from the Program or any
121 - part thereof, to be licensed as a whole at no charge to all third
122 - parties under the terms of this License.
123 -
124 - c) If the modified program normally reads commands interactively
125 - when run, you must cause it, when started running for such
126 - interactive use in the most ordinary way, to print or display an
127 - announcement including an appropriate copyright notice and a
128 - notice that there is no warranty (or else, saying that you provide
129 - a warranty) and that users may redistribute the program under
130 - these conditions, and telling the user how to view a copy of this
131 - License. (Exception: if the Program itself is interactive but
132 - does not normally print such an announcement, your work based on
133 - the Program is not required to print an announcement.)
134 -
135 - These requirements apply to the modified work as a whole. If
136 - identifiable sections of that work are not derived from the Program,
137 - and can be reasonably considered independent and separate works in
138 - themselves, then this License, and its terms, do not apply to those
139 - sections when you distribute them as separate works. But when you
140 - distribute the same sections as part of a whole which is a work based
141 - on the Program, the distribution of the whole must be on the terms of
142 - this License, whose permissions for other licensees extend to the
143 - entire whole, and thus to each and every part regardless of who wrote it.
144 -
145 - Thus, it is not the intent of this section to claim rights or contest
146 - your rights to work written entirely by you; rather, the intent is to
147 - exercise the right to control the distribution of derivative or
148 - collective works based on the Program.
149 -
150 - In addition, mere aggregation of another work not based on the Program
151 - with the Program (or with a work based on the Program) on a volume of
152 - a storage or distribution medium does not bring the other work under
153 - the scope of this License.
154 -
155 - 3. You may copy and distribute the Program (or a work based on it,
156 - under Section 2) in object code or executable form under the terms of
157 - Sections 1 and 2 above provided that you also do one of the following:
158 -
159 - a) Accompany it with the complete corresponding machine-readable
160 - source code, which must be distributed under the terms of Sections
161 - 1 and 2 above on a medium customarily used for software interchange; or,
162 -
163 - b) Accompany it with a written offer, valid for at least three
164 - years, to give any third party, for a charge no more than your
165 - cost of physically performing source distribution, a complete
166 - machine-readable copy of the corresponding source code, to be
167 - distributed under the terms of Sections 1 and 2 above on a medium
168 - customarily used for software interchange; or,
169 -
170 - c) Accompany it with the information you received as to the offer
171 - to distribute corresponding source code. (This alternative is
172 - allowed only for noncommercial distribution and only if you
173 - received the program in object code or executable form with such
174 - an offer, in accord with Subsection b above.)
175 -
176 - The source code for a work means the preferred form of the work for
177 - making modifications to it. For an executable work, complete source
178 - code means all the source code for all modules it contains, plus any
179 - associated interface definition files, plus the scripts used to
180 - control compilation and installation of the executable. However, as a
181 - special exception, the source code distributed need not include
182 - anything that is normally distributed (in either source or binary
183 - form) with the major components (compiler, kernel, and so on) of the
184 - operating system on which the executable runs, unless that component
185 - itself accompanies the executable.
186 -
187 - If distribution of executable or object code is made by offering
188 - access to copy from a designated place, then offering equivalent
189 - access to copy the source code from the same place counts as
190 - distribution of the source code, even though third parties are not
191 - compelled to copy the source along with the object code.
192 -
193 - 4. You may not copy, modify, sublicense, or distribute the Program
194 - except as expressly provided under this License. Any attempt
195 - otherwise to copy, modify, sublicense or distribute the Program is
196 - void, and will automatically terminate your rights under this License.
197 - However, parties who have received copies, or rights, from you under
198 - this License will not have their licenses terminated so long as such
199 - parties remain in full compliance.
200 -
201 - 5. You are not required to accept this License, since you have not
202 - signed it. However, nothing else grants you permission to modify or
203 - distribute the Program or its derivative works. These actions are
204 - prohibited by law if you do not accept this License. Therefore, by
205 - modifying or distributing the Program (or any work based on the
206 - Program), you indicate your acceptance of this License to do so, and
207 - all its terms and conditions for copying, distributing or modifying
208 - the Program or works based on it.
209 -
210 - 6. Each time you redistribute the Program (or any work based on the
211 - Program), the recipient automatically receives a license from the
212 - original licensor to copy, distribute or modify the Program subject to
213 - these terms and conditions. You may not impose any further
214 - restrictions on the recipients' exercise of the rights granted herein.
215 - You are not responsible for enforcing compliance by third parties to
216 - this License.
217 -
218 - 7. If, as a consequence of a court judgment or allegation of patent
219 - infringement or for any other reason (not limited to patent issues),
220 - conditions are imposed on you (whether by court order, agreement or
221 - otherwise) that contradict the conditions of this License, they do not
222 - excuse you from the conditions of this License. If you cannot
223 - distribute so as to satisfy simultaneously your obligations under this
224 - License and any other pertinent obligations, then as a consequence you
225 - may not distribute the Program at all. For example, if a patent
226 - license would not permit royalty-free redistribution of the Program by
227 - all those who receive copies directly or indirectly through you, then
228 - the only way you could satisfy both it and this License would be to
229 - refrain entirely from distribution of the Program.
230 -
231 - If any portion of this section is held invalid or unenforceable under
232 - any particular circumstance, the balance of the section is intended to
233 - apply and the section as a whole is intended to apply in other
234 - circumstances.
235 -
236 - It is not the purpose of this section to induce you to infringe any
237 - patents or other property right claims or to contest validity of any
238 - such claims; this section has the sole purpose of protecting the
239 - integrity of the free software distribution system, which is
240 - implemented by public license practices. Many people have made
241 - generous contributions to the wide range of software distributed
242 - through that system in reliance on consistent application of that
243 - system; it is up to the author/donor to decide if he or she is willing
244 - to distribute software through any other system and a licensee cannot
245 - impose that choice.
246 -
247 - This section is intended to make thoroughly clear what is believed to
248 - be a consequence of the rest of this License.
249 -
250 - 8. If the distribution and/or use of the Program is restricted in
251 - certain countries either by patents or by copyrighted interfaces, the
252 - original copyright holder who places the Program under this License
253 - may add an explicit geographical distribution limitation excluding
254 - those countries, so that distribution is permitted only in or among
255 - countries not thus excluded. In such case, this License incorporates
256 - the limitation as if written in the body of this License.
257 -
258 - 9. The Free Software Foundation may publish revised and/or new versions
259 - of the General Public License from time to time. Such new versions will
260 - be similar in spirit to the present version, but may differ in detail to
261 - address new problems or concerns.
262 -
263 - Each version is given a distinguishing version number. If the Program
264 - specifies a version number of this License which applies to it and "any
265 - later version", you have the option of following the terms and conditions
266 - either of that version or of any later version published by the Free
267 - Software Foundation. If the Program does not specify a version number of
268 - this License, you may choose any version ever published by the Free Software
269 - Foundation.
270 -
271 - 10. If you wish to incorporate parts of the Program into other free
272 - programs whose distribution conditions are different, write to the author
273 - to ask for permission. For software which is copyrighted by the Free
274 - Software Foundation, write to the Free Software Foundation; we sometimes
275 - make exceptions for this. Our decision will be guided by the two goals
276 - of preserving the free status of all derivatives of our free software and
277 - of promoting the sharing and reuse of software generally.
278 -
279 - NO WARRANTY
280 -
281 - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
282 - FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
283 - OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
284 - PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
285 - OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
286 - MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
287 - TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
288 - PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
289 - REPAIR OR CORRECTION.
290 -
291 - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
292 - WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
293 - REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
294 - INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
295 - OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
296 - TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
297 - YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
298 - PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
299 - POSSIBILITY OF SUCH DAMAGES.
300 -
301 - END OF TERMS AND CONDITIONS
302 -
303 - How to Apply These Terms to Your New Programs
304 -
305 - If you develop a new program, and you want it to be of the greatest
306 - possible use to the public, the best way to achieve this is to make it
307 - free software which everyone can redistribute and change under these terms.
308 -
309 - To do so, attach the following notices to the program. It is safest
310 - to attach them to the start of each source file to most effectively
311 - convey the exclusion of warranty; and each file should have at least
312 - the "copyright" line and a pointer to where the full notice is found.
313 -
314 - <one line to give the program's name and a brief idea of what it does.>
315 - Copyright (C) <year> <name of author>
316 -
317 - This program is free software; you can redistribute it and/or modify
318 - it under the terms of the GNU General Public License as published by
319 - the Free Software Foundation; either version 2 of the License, or
320 - (at your option) any later version.
321 -
322 - This program is distributed in the hope that it will be useful,
323 - but WITHOUT ANY WARRANTY; without even the implied warranty of
324 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
325 - GNU General Public License for more details.
326 -
327 - You should have received a copy of the GNU General Public License along
328 - with this program; if not, write to the Free Software Foundation, Inc.,
329 - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
330 -
331 - Also add information on how to contact you by electronic and paper mail.
332 -
333 - If the program is interactive, make it output a short notice like this
334 - when it starts in an interactive mode:
335 -
336 - Gnomovision version 69, Copyright (C) year name of author
337 - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
338 - This is free software, and you are welcome to redistribute it
339 - under certain conditions; type `show c' for details.
340 -
341 - The hypothetical commands `show w' and `show c' should show the appropriate
342 - parts of the General Public License. Of course, the commands you use may
343 - be called something other than `show w' and `show c'; they could even be
344 - mouse-clicks or menu items--whatever suits your program.
345 -
346 - You should also get your employer (if you work as a programmer) or your
347 - school, if any, to sign a "copyright disclaimer" for the program, if
348 - necessary. Here is a sample; alter the names:
349 -
350 - Yoyodyne, Inc., hereby disclaims all copyright interest in the program
351 - `Gnomovision' (which makes passes at compilers) written by James Hacker.
352 -
353 - <signature of Ty Coon>, 1 April 1989
354 - Ty Coon, President of Vice
355 -
356 - This General Public License does not permit incorporating your program into
357 - proprietary programs. If your program is a subroutine library, you may
358 - consider it more useful to permit linking proprietary applications with the
359 - library. If this is what you want to do, use the GNU Lesser General
360 - Public License instead of this License.
deleted Cargo.toml mode 100644
@@ -1,10 +0,0 @@
1 - [package]
2 - name = "gitcore"
3 - version = "0.1.0"
4 - edition = "2018"
5 - rust-version = "1.49.0"
6 -
7 - [lib]
8 - crate-type = ["staticlib"]
9 -
10 - [dependencies]
deleted Documentation/.gitignore mode 100644
@@ -1,20 +0,0 @@
1 - *.xml
2 - *.html
3 - *.[1-8]
4 - *.made
5 - *.texi
6 - *.pdf
7 - git.info
8 - gitman.info
9 - howto-index.adoc
10 - doc.dep
11 - cmds-*.adoc
12 - mergetools-*.adoc
13 - SubmittingPatches.adoc
14 - tmp-doc-diff/
15 - tmp-meson-diff/
16 - GIT-ASCIIDOCFLAGS
17 - /.build/
18 - /GIT-EXCLUDED-PROGRAMS
19 - /asciidoc.conf
20 - /asciidoctor-extensions.rb
deleted Documentation/BreakingChanges.adoc mode 100644
@@ -1,359 +0,0 @@
1 - = Upcoming breaking changes
2 -
3 - The Git project aims to ensure backwards compatibility to the best extent
4 - possible. Minor releases will not break backwards compatibility unless there is
5 - a very strong reason to do so, like for example a security vulnerability.
6 -
7 - Regardless of that, due to the age of the Git project, it is only natural to
8 - accumulate a backlog of backwards-incompatible changes that will eventually be
9 - required to keep the project aligned with a changing world. These changes fall
10 - into several categories:
11 -
12 - * Changes to long established defaults.
13 - * Concepts that have been replaced with a superior design.
14 - * Concepts, commands, configuration or options that have been lacking in major
15 - ways and that cannot be fixed and which will thus be removed without any
16 - replacement.
17 -
18 - Explicitly not included in this list are fixes to minor bugs that may cause a
19 - change in user-visible behavior.
20 -
21 - The Git project irregularly releases breaking versions that deliberately break
22 - backwards compatibility with older versions. This is done to ensure that Git
23 - remains relevant, safe and maintainable going forward. The release cadence of
24 - breaking versions is typically measured in multiple years. We had the following
25 - major breaking releases in the past:
26 -
27 - * Git 1.6.0, released in August 2008.
28 - * Git 2.0, released in May 2014.
29 -
30 - We use <major>.<minor> release numbers these days, starting from Git 2.0. For
31 - future releases, our plan is to increment <major> in the release number when we
32 - make the next breaking release. Before Git 2.0, the release numbers were
33 - 1.<major>.<minor> with the intention to increment <major> for "usual" breaking
34 - releases, reserving the jump to Git 2.0 for really large backward-compatibility
35 - breaking changes.
36 -
37 - The intent of this document is to track upcoming deprecations for future
38 - breaking releases. Furthermore, this document also tracks what will _not_ be
39 - deprecated. This is done such that the outcome of discussions document both
40 - when the discussion favors deprecation, but also when it rejects a deprecation.
41 -
42 - Items should have a clear summary of the reasons why we do or do not want to
43 - make the described change that can be easily understood without having to read
44 - the mailing list discussions. If there are alternatives to the changed feature,
45 - those alternatives should be pointed out to our users.
46 -
47 - All items should be accompanied by references to relevant mailing list threads
48 - where the deprecation was discussed. These references use message-IDs, which
49 - can visited via
50 -
51 - https://lore.kernel.org/git/$message_id/
52 -
53 - to see the message and its surrounding discussion. Such a reference is there to
54 - make it easier for you to find how the project reached consensus on the
55 - described item back then.
56 -
57 - This is a living document as the environment surrounding the project changes
58 - over time. If circumstances change, an earlier decision to deprecate or change
59 - something may need to be revisited from time to time. So do not take items on
60 - this list to mean "it is settled, do not waste our time bringing it up again".
61 -
62 - == Procedure
63 -
64 - Discussing the desire to make breaking changes, declaring that breaking
65 - changes are made at a certain version boundary, and recording these
66 - decisions in this document, are necessary but not sufficient.
67 - Because such changes are expected to be numerous, and the design and
68 - implementation of them are expected to span over time, they have to
69 - be deployable trivially at such a version boundary, prepared over long
70 - time.
71 -
72 - The breaking changes MUST be guarded with the a compile-time switch,
73 - WITH_BREAKING_CHANGES, to help this process. When built with it,
74 - the resulting Git binary together with its documentation would
75 - behave as if these breaking changes slated for the next big version
76 - boundary are already in effect. We also have a CI job to exercise
77 - the work-in-progress version of Git with these breaking changes.
78 -
79 -
80 - == Git 3.0
81 -
82 - The following subsections document upcoming breaking changes for Git 3.0. There
83 - is no planned release date for this breaking version yet.
84 -
85 - Proposed changes and removals only include items which are "ready" to be done.
86 - In other words, this is not supposed to be a wishlist of features that should
87 - be changed to or replaced in case the alternative was implemented already.
88 -
89 - === Changes
90 -
91 - * The default hash function for new repositories will be changed from "sha1"
92 - to "sha256". SHA-1 has been deprecated by NIST in 2011 and is nowadays
93 - recommended against in FIPS 140-2 and similar certifications. Furthermore,
94 - there are practical attacks on SHA-1 that weaken its cryptographic properties:
95 - +
96 - ** The SHAppening (2015). The first demonstration of a practical attack
97 - against SHA-1 with 2^57 operations.
98 - ** SHAttered (2017). Generation of two valid PDF files with 2^63 operations.
99 - ** Birthday-Near-Collision (2019). This attack allows for chosen prefix
100 - attacks with 2^68 operations.
101 - ** Shambles (2020). This attack allows for chosen prefix attacks with 2^63
102 - operations.
103 - +
104 - While we have protections in place against known attacks, it is expected
105 - that more attacks against SHA-1 will be found by future research. Paired
106 - with the ever-growing capability of hardware, it is only a matter of time
107 - before SHA-1 will be considered broken completely. We want to be prepared
108 - and will thus change the default hash algorithm to "sha256" for newly
109 - initialized repositories.
110 - +
111 - An important requirement for this change is that the ecosystem is ready to
112 - support the "sha256" object format. This includes popular Git libraries,
113 - applications and forges.
114 - +
115 - There is no plan to deprecate the "sha1" object format at this point in time.
116 - +
117 - Cf. <2f5de416-04ba-c23d-1e0b-83bb655829a7@zombino.com>,
118 - <20170223155046.e7nxivfwqqoprsqj@LykOS.localdomain>,
119 - <CA+EOSBncr=4a4d8n9xS4FNehyebpmX8JiUwCsXD47EQDE+DiUQ@mail.gmail.com>.
120 -
121 - * The default storage format for references in newly created repositories will
122 - be changed from "files" to "reftable". The "reftable" format provides
123 - multiple advantages over the "files" format:
124 - +
125 - ** It is impossible to store two references that only differ in casing on
126 - case-insensitive filesystems with the "files" format. This issue is common
127 - on Windows and macOS platforms. As the "reftable" backend does not use
128 - filesystem paths to encode reference names this problem goes away.
129 - ** Similarly, macOS normalizes path names that contain unicode characters,
130 - which has the consequence that you cannot store two names with unicode
131 - characters that are encoded differently with the "files" backend. Again,
132 - this is not an issue with the "reftable" backend.
133 - ** Deleting references with the "files" backend requires Git to rewrite the
134 - complete "packed-refs" file. In large repositories with many references
135 - this file can easily be dozens of megabytes in size, in extreme cases it
136 - may be gigabytes. The "reftable" backend uses tombstone markers for
137 - deleted references and thus does not have to rewrite all of its data.
138 - ** Repository housekeeping with the "files" backend typically performs
139 - all-into-one repacks of references. This can be quite expensive, and
140 - consequently housekeeping is a tradeoff between the number of loose
141 - references that accumulate and slow down operations that read references,
142 - and compressing those loose references into the "packed-refs" file. The
143 - "reftable" backend uses geometric compaction after every write, which
144 - amortizes costs and ensures that the backend is always in a
145 - well-maintained state.
146 - ** Operations that write multiple references at once are not atomic with the
147 - "files" backend. Consequently, Git may see in-between states when it reads
148 - references while a reference transaction is in the process of being
149 - committed to disk.
150 - ** Writing many references at once is slow with the "files" backend because
151 - every reference is created as a separate file. The "reftable" backend
152 - significantly outperforms the "files" backend by multiple orders of
153 - magnitude.
154 - ** The reftable backend uses a binary format with prefix compression for
155 - reference names. As a result, the format uses less space compared to the
156 - "packed-refs" file.
157 - +
158 - Users that get immediate benefit from the "reftable" backend could continue to
159 - opt-in to the "reftable" format manually by setting the "init.defaultRefFormat"
160 - config. But defaults matter, and we think that overall users will have a better
161 - experience with less platform-specific quirks when they use the new backend by
162 - default.
163 - +
164 - A prerequisite for this change is that the ecosystem is ready to support the
165 - "reftable" format. Most importantly, alternative implementations of Git like
166 - JGit, libgit2 and Gitoxide need to support it.
167 -
168 - * In new repositories, the default branch name will be `main`. We have been
169 - warning that the default name will change since 675704c74dd (init:
170 - provide useful advice about init.defaultBranch, 2020-12-11). The new name
171 - matches the default branch name used in new repositories by many of the
172 - big Git forges.
173 -
174 - * Git will require Rust as a mandatory part of the build process. While Git
175 - already started to adopt Rust in Git 2.49, all parts written in Rust are
176 - optional for the time being. This includes:
177 - +
178 - ** The Rust wrapper around libgit.a that is part of "contrib/" and which has
179 - been introduced in Git 2.49.
180 - ** Subsystems that have an alternative implementation in Rust to test
181 - interoperability between our C and Rust codebase.
182 - ** Newly written features that are not mission critical for a fully functional
183 - Git client.
184 - +
185 - These changes are meant as test balloons to allow distributors of Git to prepare
186 - for Rust becoming a mandatory part of the build process. There will be multiple
187 - milestones for the introduction of Rust:
188 - +
189 - --
190 - 1. Initially, with Git 2.52, support for Rust will be auto-detected by Meson and
191 - disabled in our Makefile so that the project can sort out the initial
192 - infrastructure.
193 - 2. In Git 2.55, both build systems will default-enable support for Rust.
194 - Consequently, builds will break by default if Rust is not available on the
195 - build host. The use of Rust can still be explicitly disabled via build
196 - flags.
197 - 3. In Git 3.0, the build options will be removed and support for Rust is
198 - mandatory.
199 - --
200 - +
201 - You can explicitly ask both Meson and our Makefile-based system to enable Rust
202 - by saying `meson configure -Drust=enabled` and `make WITH_RUST=YesPlease`,
203 - respectively.
204 - +
205 - The Git project will declare the last version before Git 3.0 to be a long-term
206 - support release. This long-term release will receive important bug fixes for at
207 - least four release cycles and security fixes for six release cycles. The Git
208 - project will hand over maintainership of the long-term release to distributors
209 - in case they need to extend the life of that long-term release even further.
210 - Details of how this long-term release will be handed over to the community will
211 - be discussed once the Git project decides to stop officially supporting it.
212 - +
213 - We will evaluate the impact on downstream distributions before making Rust
214 - mandatory in Git 3.0. If we see that the impact on downstream distributions
215 - would be significant, we may decide to defer this change to a subsequent minor
216 - release. This evaluation will also take into account our own experience with
217 - how painful it is to keep Rust an optional component.
218 -
219 - * The default value of `safe.bareRepository` will change from `all` to
220 - `explicit`. It is all too easy for an attacker to trick a user into cloning a
221 - repository that contains an embedded bare repository with malicious hooks
222 - configured. If the user enters that subdirectory and runs any Git command, Git
223 - discovers the bare repository and the hooks fire. The user does not even need
224 - to run a Git command explicitly: many shell prompts run `git status` in the
225 - background to display branch and dirty state information, and `git status` in
226 - turn may invoke the fsmonitor hook if so configured, making the user
227 - vulnerable the moment they `cd` into the directory. The `safe.bareRepository`
228 - configuration variable was introduced in 8959555cee (setup_git_directory():
229 - add an owner check for the top-level directory, 2022-03-02) with a default of
230 - `all` to preserve backwards compatibility.
231 - +
232 - Changing the default to `explicit` means that Git will refuse to work with bare
233 - repositories that are discovered implicitly by walking up the directory tree.
234 - Bare repositories specified explicitly via the `--git-dir` command-line option
235 - or the `GIT_DIR` environment variable continue to work regardless of this
236 - setting. Repositories that look like a `.git` directory, a worktree, or a
237 - submodule directory are also unaffected.
238 - +
239 - Users who rely on implicit discovery of bare repositories can restore the
240 - previous behavior by setting `safe.bareRepository=all` in their global or
241 - system configuration.
242 -
243 - === Removals
244 -
245 - * Support for grafting commits has long been superseded by git-replace(1).
246 - Grafts are inferior to replacement refs:
247 - +
248 - ** Grafts are a local-only mechanism and cannot be shared across
249 - repositories.
250 - ** Grafts can lead to hard-to-diagnose problems when transferring objects
251 - between repositories.
252 - +
253 - The grafting mechanism has been marked as outdated since e650d0643b (docs: mark
254 - info/grafts as outdated, 2014-03-05) and will be removed.
255 - +
256 - Cf. <20140304174806.GA11561@sigill.intra.peff.net>.
257 -
258 - * The git-pack-redundant(1) command can be used to remove redundant pack files.
259 - The subcommand is unusably slow and the reason why nobody reports it as a
260 - performance bug is suspected to be the absence of users. We have nominated
261 - the command for removal and have started to emit a user-visible warning in
262 - c3b58472be (pack-redundant: gauge the usage before proposing its removal,
263 - 2020-08-25) whenever the command is executed.
264 - +
265 - So far there was a single complaint about somebody still using the command, but
266 - that complaint did not cause us to reverse course. On the contrary, we have
267 - doubled down on the deprecation and starting with 4406522b76 (pack-redundant:
268 - escalate deprecation warning to an error, 2023-03-23), the command dies unless
269 - the user passes the `--i-still-use-this` option.
270 - +
271 - There have not been any subsequent complaints, so this command will finally be
272 - removed.
273 - +
274 - Cf. <xmqq1rjuz6n3.fsf_-_@gitster.c.googlers.com>,
275 - <CAKvOHKAFXQwt4D8yUCCkf_TQL79mYaJ=KAKhtpDNTvHJFuX1NA@mail.gmail.com>,
276 - <20230323204047.GA9290@coredump.intra.peff.net>,
277 -
278 - * Support for storing shorthands for remote URLs in "$GIT_COMMON_DIR/branches/"
279 - and "$GIT_COMMON_DIR/remotes/" has been long superseded by storing remotes in
280 - the repository configuration.
281 - +
282 - The mechanism has originally been introduced in f170e4b39d ([PATCH] fetch/pull:
283 - short-hand notation for remote repositories., 2005-07-16) and was superseded by
284 - 6687f8fea2 ([PATCH] Use .git/remote/origin, not .git/branches/origin.,
285 - 2005-08-20), where we switched from ".git/branches/" to ".git/remotes/". That
286 - commit already mentions an upcoming deprecation of the ".git/branches/"
287 - directory, and starting with a1d4aa7424 (Add repository-layout document.,
288 - 2005-09-01) we have also marked this layout as deprecated. Eventually we also
289 - started to migrate away from ".git/remotes/" in favor of config-based remotes,
290 - and we have marked the directory as legacy in 3d3d282146 (Documentation:
291 - Grammar correction, wording fixes and cleanup, 2011-08-23)
292 - +
293 - As our documentation mentions, these directories are unlikely to be used in
294 - modern repositories and most users aren't even aware of these mechanisms. They
295 - have been deprecated for almost 20 years and 14 years respectively, and we are
296 - not aware of any active users that have complained about this deprecation.
297 - Furthermore, the ".git/branches/" directory is nowadays misleadingly named and
298 - may cause confusion as "branches" are almost exclusively used in the context of
299 - references.
300 - +
301 - These features will be removed.
302 -
303 - * Support for "--stdin" option in the "name-rev" command was
304 - deprecated (and hidden from the documentation) in the Git 2.40
305 - timeframe, in preference to its synonym "--annotate-stdin". Git 3.0
306 - removes the support for "--stdin" altogether.
307 -
308 - * The git-whatchanged(1) command has outlived its usefulness more than
309 - 10 years ago, and takes more keystrokes to type than its rough
310 - equivalent `git log --raw`. We have nominated the command for
311 - removal, have changed the command to refuse to work unless the
312 - `--i-still-use-this` option is given, and asked the users to report
313 - when they do so.
314 - +
315 - The command will be removed.
316 -
317 - * Support for `core.commentString=auto` has been deprecated and will
318 - be removed in Git 3.0.
319 - +
320 - cf. <xmqqa59i45wc.fsf@gitster.g>
321 -
322 - * Support for `core.preferSymlinkRefs=true` has been deprecated and will be
323 - removed in Git 3.0. Writing symbolic refs as symbolic links will be phased
324 - out in favor of using plain files using the textual representation of
325 - symbolic refs.
326 - +
327 - Symbolic references were initially always stored as a symbolic link. This was
328 - changed in 9b143c6e15 (Teach update-ref about a symbolic ref stored in a
329 - textfile., 2005-09-25), where a new textual symref format was introduced to
330 - store those symbolic refs in a plain file. In 9f0bb90d16
331 - (core.prefersymlinkrefs: use symlinks for .git/HEAD, 2006-05-02), the Git
332 - project switched the default to use the textual symrefs in favor of symbolic
333 - links.
334 - +
335 - The migration away from symbolic links has happened almost 20 years ago by now,
336 - and there is no known reason why one should prefer them nowadays. Furthermore,
337 - symbolic links are not supported on some platforms.
338 - +
339 - Note that only the writing side for such symbolic links is deprecated. Reading
340 - such symbolic links is still supported for now.
341 -
342 - == Superseded features that will not be deprecated
343 -
344 - Some features have gained newer replacements that aim to improve the design in
345 - certain ways. The fact that there is a replacement does not automatically mean
346 - that the old way of doing things will eventually be removed. This section tracks
347 - those features with newer alternatives.
348 -
349 - * The features git-checkout(1) offers are covered by the pair of commands
350 - git-restore(1) and git-switch(1). Because the use of git-checkout(1) is still
351 - widespread, and it is not expected that this will change anytime soon, all
352 - three commands will stay.
353 - +
354 - This decision may get revisited in case we ever figure out that there are
355 - almost no users of any of the commands anymore.
356 - +
357 - Cf. <xmqqttjazwwa.fsf@gitster.g>,
358 - <xmqqleeubork.fsf@gitster.g>,
359 - <112b6568912a6de6672bf5592c3a718e@manjaro.org>.
deleted Documentation/CodingGuidelines mode 100644
@@ -1,1025 +0,0 @@
1 - Like other projects, we also have some guidelines for our code. For
2 - Git in general, a few rough rules are:
3 -
4 - - Most importantly, we never say "It's in POSIX; we'll happily
5 - ignore your needs should your system not conform to it."
6 - We live in the real world.
7 -
8 - - However, we often say "Let's stay away from that construct,
9 - it's not even in POSIX".
10 -
11 - - In spite of the above two rules, we sometimes say "Although
12 - this is not in POSIX, it (is so convenient | makes the code
13 - much more readable | has other good characteristics) and
14 - practically all the platforms we care about support it, so
15 - let's use it".
16 -
17 - Again, we live in the real world, and it is sometimes a
18 - judgement call, the decision based more on real world
19 - constraints people face than what the paper standard says.
20 -
21 - - Fixing style violations while working on a real change as a
22 - preparatory clean-up step is good, but otherwise avoid useless code
23 - churn for the sake of conforming to the style.
24 -
25 - "Once it _is_ in the tree, it's not really worth the patch noise to
26 - go and fix it up."
27 - Cf. https://lore.kernel.org/all/20100126160632.3bdbe172.akpm@linux-foundation.org/
28 -
29 - - Log messages to explain your changes are as important as the
30 - changes themselves. Clearly written code and in-code comments
31 - explain how the code works and what is assumed from the surrounding
32 - context. The log messages explain what the changes wanted to
33 - achieve and why the changes were necessary (more on this in the
34 - accompanying SubmittingPatches document).
35 -
36 - - A label "NEEDSWORK:" followed by a description of the things to
37 - be done is a way to leave in-code comments to document design
38 - decisions yet to be made. 80% of the work to resolve a NEEDSWORK
39 - comment is to decide if it still makes sense to do so, since the
40 - situation around the codebase may have changed since the comment
41 - was written. It can be a very valid change to remove an existing
42 - NEEDSWORK comment without doing anything else, with the commit log
43 - message describing a good argument why it does not make sense to do
44 - the thing the NEEDSWORK comment mentioned.
45 -
46 - Make your code readable and sensible, and don't try to be clever.
47 -
48 - As for more concrete guidelines, just imitate the existing code
49 - (this is a good guideline, no matter which project you are
50 - contributing to). It is always preferable to match the _local_
51 - convention. New code added to Git suite is expected to match
52 - the overall style of existing code. Modifications to existing
53 - code are expected to match the style the surrounding code already
54 - uses (even if it doesn't match the overall style of existing code).
55 -
56 - But if you must have a list of rules, here are some language
57 - specific ones. Note that Documentation/ToolsForGit.adoc document
58 - has a collection of tips to help you use some external tools
59 - to conform to these guidelines.
60 -
61 - For shell scripts specifically (not exhaustive):
62 -
63 - - We use tabs for indentation.
64 -
65 - - Case arms are indented at the same depth as case and esac lines,
66 - like this:
67 -
68 - case "$variable" in
69 - pattern1)
70 - do this
71 - ;;
72 - pattern2)
73 - do that
74 - ;;
75 - esac
76 -
77 - - Redirection operators should be written with space before, but no
78 - space after them. In other words, write 'echo test >"$file"'
79 - instead of 'echo test> $file' or 'echo test > $file'. Note that
80 - even though it is not required by POSIX to double-quote the
81 - redirection target in a variable (as shown above), our code does so
82 - because some versions of bash issue a warning without the quotes.
83 -
84 - (incorrect)
85 - cat hello > world < universe
86 - echo hello >$world
87 -
88 - (correct)
89 - cat hello >world <universe
90 - echo hello >"$world"
91 -
92 - - We prefer $( ... ) for command substitution; unlike ``, it
93 - properly nests. It should have been the way Bourne spelled
94 - it from day one, but unfortunately isn't.
95 -
96 - - If you want to find out if a command is available on the user's
97 - $PATH, you should use 'type <command>', instead of 'which <command>'.
98 - The output of 'which' is not machine parsable and its exit code
99 - is not reliable across platforms.
100 -
101 - - We use POSIX compliant parameter substitutions and avoid bashisms;
102 - namely:
103 -
104 - - We use ${parameter-word} and its [-=?+] siblings, and their
105 - colon'ed "unset or null" form.
106 -
107 - - We use ${parameter#word} and its [#%] siblings, and their
108 - doubled "longest matching" form.
109 -
110 - - No "Substring Expansion" ${parameter:offset:length}.
111 -
112 - - No shell arrays.
113 -
114 - - No pattern replacement ${parameter/pattern/string}.
115 -
116 - - We use Arithmetic Expansion $(( ... )).
117 -
118 - - We do not use Process Substitution <(list) or >(list).
119 -
120 - - Do not write control structures on a single line with semicolon.
121 - "then" should be on the next line for if statements, and "do"
122 - should be on the next line for "while" and "for".
123 -
124 - (incorrect)
125 - if test -f hello; then
126 - do this
127 - fi
128 -
129 - (correct)
130 - if test -f hello
131 - then
132 - do this
133 - fi
134 -
135 - - If a command sequence joined with && or || or | spans multiple
136 - lines, put each command on a separate line and put && and || and |
137 - operators at the end of each line, rather than the start. This
138 - means you don't need to use \ to join lines, since the above
139 - operators imply the sequence isn't finished.
140 -
141 - (incorrect)
142 - grep blob verify_pack_result \
143 - | awk -f print_1.awk \
144 - | sort >actual &&
145 - ...
146 -
147 - (correct)
148 - grep blob verify_pack_result |
149 - awk -f print_1.awk |
150 - sort >actual &&
151 - ...
152 -
153 - - We prefer "test" over "[ ... ]".
154 -
155 - - We do not write the noiseword "function" in front of shell
156 - functions.
157 -
158 - - We prefer a space between the function name and the parentheses,
159 - and no space inside the parentheses. The opening "{" should also
160 - be on the same line.
161 -
162 - (incorrect)
163 - my_function(){
164 - ...
165 -
166 - (correct)
167 - my_function () {
168 - ...
169 -
170 - - As to use of grep, stick to a subset of BRE (namely, no \{m,n\},
171 - [::], [==], or [..]) for portability.
172 -
173 - - We do not use \{m,n\};
174 -
175 - - We do not use ? or + (which are \{0,1\} and \{1,\}
176 - respectively in BRE) but that goes without saying as these
177 - are ERE elements not BRE (note that \? and \+ are not even part
178 - of BRE -- making them accessible from BRE is a GNU extension).
179 -
180 - - Use Git's gettext wrappers in git-sh-i18n to make the user
181 - interface translatable. See "Marking strings for translation" in
182 - po/README.
183 -
184 - - We do not write our "test" command with "-a" and "-o" and use "&&"
185 - or "||" to concatenate multiple "test" commands instead, because
186 - the use of "-a/-o" is often error-prone. E.g.
187 -
188 - test -n "$x" -a "$a" = "$b"
189 -
190 - is buggy and breaks when $x is "=", but
191 -
192 - test -n "$x" && test "$a" = "$b"
193 -
194 - does not have such a problem.
195 -
196 - - Even though "local" is not part of POSIX, we make heavy use of it
197 - in our test suite. We do not use it in scripted Porcelains, and
198 - hopefully nobody starts using "local" before all shells that matter
199 - support it (notably, ksh from AT&T Research does not support it yet).
200 -
201 - - Some versions of shell do not understand "export variable=value",
202 - so we write "variable=value" and then "export variable" on two
203 - separate lines.
204 -
205 - - Some versions of dash have broken variable assignment when prefixed
206 - with "local", "export", and "readonly", in that the value to be
207 - assigned goes through field splitting at $IFS unless quoted.
208 -
209 - (incorrect)
210 - local variable=$value
211 - local variable=$(command args)
212 -
213 - (correct)
214 - local variable="$value"
215 - local variable="$(command args)"
216 -
217 - - The common construct
218 -
219 - VAR=VAL command args
220 -
221 - to temporarily set and export environment variable VAR only while
222 - "command args" is running is handy, but this triggers an
223 - unspecified behaviour according to POSIX when used for a command
224 - that is not an external command (like shell functions). Indeed,
225 - dash 0.5.10.2-6 on Ubuntu 20.04, /bin/sh on FreeBSD 13, and AT&T
226 - ksh all make a temporary assignment without exporting the variable,
227 - in such a case. As it does not work portably across shells, do not
228 - use this syntax for shell functions. A common workaround is to do
229 - an explicit export in a subshell, like so:
230 -
231 - (incorrect)
232 - VAR=VAL func args
233 -
234 - (correct)
235 - (
236 - VAR=VAL &&
237 - export VAR &&
238 - func args
239 - )
240 -
241 - but be careful that the effect "func" makes to the variables in the
242 - current shell will be lost across the subshell boundary.
243 -
244 - - Use octal escape sequences (e.g. "\302\242"), not hexadecimal (e.g.
245 - "\xc2\xa2") in printf format strings, since hexadecimal escape
246 - sequences are not portable.
247 -
248 -
249 - For C programs:
250 -
251 - - We use tabs to indent, and interpret tabs as taking up to
252 - 8 spaces.
253 -
254 - - Nested C preprocessor directives are indented after the hash by one
255 - space per nesting level.
256 -
257 - #if FOO
258 - # include <foo.h>
259 - # if BAR
260 - # include <bar.h>
261 - # endif
262 - #endif
263 -
264 - - We try to keep to at most 80 characters per line.
265 -
266 - - As a Git developer we assume you have a reasonably modern compiler
267 - and we recommend you to enable the DEVELOPER makefile knob to
268 - ensure your patch is clear of all compiler warnings we care about,
269 - by e.g. "echo DEVELOPER=1 >>config.mak".
270 -
271 - - When using DEVELOPER=1 mode, you may see warnings from the compiler
272 - like "error: unused parameter 'foo' [-Werror=unused-parameter]",
273 - which indicates that a function ignores its argument. If the unused
274 - parameter can't be removed (e.g., because the function is used as a
275 - callback and has to match a certain interface), you can annotate
276 - the individual parameters with the UNUSED (or MAYBE_UNUSED)
277 - keyword, like "int foo UNUSED".
278 -
279 - - We try to support a wide range of C compilers to compile Git with,
280 - including old ones. As of Git v2.35.0 Git requires C99 (we check
281 - "__STDC_VERSION__"). You should not use features from a newer C
282 - standard, even if your compiler groks them.
283 -
284 - New C99 features have been phased in gradually, if something's new
285 - in C99 but not used yet don't assume that it's safe to use, some
286 - compilers we target have only partial support for it. These are
287 - considered safe to use:
288 -
289 - . since around 2007 with 2b6854c863a, we have been using
290 - initializer elements which are not computable at load time. E.g.:
291 -
292 - const char *args[] = { "constant", variable, NULL };
293 -
294 - . since early 2012 with e1327023ea, we have been using an enum
295 - definition whose last element is followed by a comma. This, like
296 - an array initializer that ends with a trailing comma, can be used
297 - to reduce the patch noise when adding a new identifier at the end.
298 -
299 - . since mid 2017 with cbc0f81d, we have been using designated
300 - initializers for struct (e.g. "struct t v = { .val = 'a' };").
301 -
302 - . since mid 2017 with 512f41cf, we have been using designated
303 - initializers for array (e.g. "int array[10] = { [5] = 2 }").
304 -
305 - . since early 2021 with 765dc168882, we have been using variadic
306 - macros, mostly for printf-like trace and debug macros.
307 -
308 - . since late 2021 with 44ba10d6, we have had variables declared in
309 - the for loop "for (int i = 0; i < 10; i++)".
310 -
311 - . since late 2023 with 8277dbe987 we have been using the bool type
312 - from <stdbool.h>.
313 -
314 - C99 features we have test balloons for:
315 -
316 - . since late 2024 with v2.48.0-rc0~20, we have test balloons for
317 - compound literal syntax, e.g., (struct foo){ .member = value };
318 - our hope is that no platforms we care about have trouble using
319 - them, and officially adopt its wider use in mid 2026. Do not add
320 - more use of the syntax until that happens.
321 -
322 - New C99 features that we cannot use yet:
323 -
324 - . %z and %zu as a printf() argument for a size_t (the %z being for
325 - the POSIX-specific ssize_t). Instead you should use
326 - printf("%"PRIuMAX, (uintmax_t)v). These days the MSVC version we
327 - rely on supports %z, but the C library used by MinGW does not.
328 -
329 - . Shorthand like ".a.b = *c" in struct initializations is known to
330 - trip up an older IBM XLC version, use ".a = { .b = *c }" instead.
331 - See the 33665d98 (reftable: make assignments portable to AIX xlc
332 - v12.01, 2022-03-28).
333 -
334 - - Variables have to be declared at the beginning of the block, before
335 - the first statement (i.e. -Wdeclaration-after-statement). It is
336 - encouraged to have a blank line between the end of the declarations
337 - and the first statement in the block.
338 -
339 - - Do not explicitly initialize global variables to 0 or NULL;
340 - instead, let BSS take care of the zero initialization.
341 -
342 - - NULL pointers shall be written as NULL, not as 0.
343 -
344 - - When declaring pointers, the star sides with the variable
345 - name, i.e. "char *string", not "char* string" or
346 - "char * string". This makes it easier to understand code
347 - like "char *string, c;".
348 -
349 - - Use whitespace around operators and keywords, but not inside
350 - parentheses and not around functions. So:
351 -
352 - while (condition)
353 - func(bar + 1);
354 -
355 - and not:
356 -
357 - while( condition )
358 - func (bar+1);
359 -
360 - - A binary operator (other than ",") and ternary conditional "?:"
361 - have a space on each side of the operator to separate it from its
362 - operands. E.g. "A + 1", not "A+1".
363 -
364 - - A unary operator (other than "." and "->") have no space between it
365 - and its operand. E.g. "(char *)ptr", not "(char *) ptr".
366 -
367 - - Do not explicitly compare an integral value with constant 0 or '\0',
368 - or a pointer value with constant NULL. For instance, to validate that
369 - counted array <ptr, cnt> is initialized but has no elements, write:
370 -
371 - if (!ptr || cnt)
372 - BUG("empty array expected");
373 -
374 - and not:
375 -
376 - if (ptr == NULL || cnt != 0);
377 - BUG("empty array expected");
378 -
379 - - We avoid using braces unnecessarily. I.e.
380 -
381 - if (bla) {
382 - x = 1;
383 - }
384 -
385 - is frowned upon. But there are a few exceptions:
386 -
387 - - When the statement extends over a few lines (e.g., a while loop
388 - with an embedded conditional, or a comment). E.g.:
389 -
390 - while (foo) {
391 - if (x)
392 - one();
393 - else
394 - two();
395 - }
396 -
397 - if (foo) {
398 - /*
399 - * This one requires some explanation,
400 - * so we're better off with braces to make
401 - * it obvious that the indentation is correct.
402 - */
403 - doit();
404 - }
405 -
406 - - When there are multiple arms to a conditional and some of them
407 - require braces, enclose even a single line block in braces for
408 - consistency. E.g.:
409 -
410 - if (foo) {
411 - doit();
412 - } else {
413 - one();
414 - two();
415 - three();
416 - }
417 -
418 - - We try to avoid assignments in the condition of an "if" statement.
419 -
420 - - Try to make your code understandable. You may put comments
421 - in, but comments invariably tend to stale out when the code
422 - they were describing changes. Often splitting a function
423 - into two makes the intention of the code much clearer.
424 -
425 - - Multi-line comments include their delimiters on separate lines from
426 - the text. E.g.
427 -
428 - /*
429 - * A very long
430 - * multi-line comment.
431 - */
432 -
433 - Note however that a comment that explains a translatable string to
434 - translators uses a convention of starting with a magic token
435 - "TRANSLATORS: ", e.g.
436 -
437 - /*
438 - * TRANSLATORS: here is a comment that explains the string to
439 - * be translated, that follows immediately after it.
440 - */
441 - _("Here is a translatable string explained by the above.");
442 -
443 - We do not use // comments.
444 -
445 - - Double negation is often harder to understand than no negation
446 - at all.
447 -
448 - - There are two schools of thought when it comes to comparison,
449 - especially inside a loop. Some people prefer to have the less stable
450 - value on the left hand side and the more stable value on the right hand
451 - side, e.g. if you have a loop that counts variable i down to the
452 - lower bound,
453 -
454 - while (i > lower_bound) {
455 - do something;
456 - i--;
457 - }
458 -
459 - Other people prefer to have the textual order of values match the
460 - actual order of values in their comparison, so that they can
461 - mentally draw a number line from left to right and place these
462 - values in order, i.e.
463 -
464 - while (lower_bound < i) {
465 - do something;
466 - i--;
467 - }
468 -
469 - Both are valid, and we use both. However, the more "stable" the
470 - stable side becomes, the more we tend to prefer the former
471 - (comparison with a constant, "i > 0", is an extreme example).
472 - Just do not mix styles in the same part of the code and mimic
473 - existing styles in the neighbourhood.
474 -
475 - - There are two schools of thought when it comes to splitting a long
476 - logical line into multiple lines. Some people push the second and
477 - subsequent lines far enough to the right with tabs and align them:
478 -
479 - if (the_beginning_of_a_very_long_expression_that_has_to ||
480 - span_more_than_a_single_line_of ||
481 - the_source_text) {
482 - ...
483 -
484 - while other people prefer to align the second and the subsequent
485 - lines with the column immediately inside the opening parenthesis,
486 - with tabs and spaces, following our "tabstop is always a multiple
487 - of 8" convention:
488 -
489 - if (the_beginning_of_a_very_long_expression_that_has_to ||
490 - span_more_than_a_single_line_of ||
491 - the_source_text) {
492 - ...
493 -
494 - Both are valid, and we use both. Again, just do not mix styles in
495 - the same part of the code and mimic existing styles in the
496 - neighbourhood.
497 -
498 - - When splitting a long logical line, some people change line before
499 - a binary operator, so that the result looks like a parse tree when
500 - you turn your head 90-degrees counterclockwise:
501 -
502 - if (the_beginning_of_a_very_long_expression_that_has_to
503 - || span_more_than_a_single_line_of_the_source_text) {
504 -
505 - while other people prefer to leave the operator at the end of the
506 - line:
507 -
508 - if (the_beginning_of_a_very_long_expression_that_has_to ||
509 - span_more_than_a_single_line_of_the_source_text) {
510 -
511 - Both are valid, but we tend to use the latter more, unless the
512 - expression gets fairly complex, in which case the former tends to
513 - be easier to read. Again, just do not mix styles in the same part
514 - of the code and mimic existing styles in the neighbourhood.
515 -
516 - - When splitting a long logical line, with everything else being
517 - equal, it is preferable to split after the operator at higher
518 - level in the parse tree. That is, this is more preferable:
519 -
520 - if (a_very_long_variable * that_is_used_in +
521 - a_very_long_expression) {
522 - ...
523 -
524 - than
525 -
526 - if (a_very_long_variable *
527 - that_is_used_in + a_very_long_expression) {
528 - ...
529 -
530 - - Some clever tricks, like using the !! operator with arithmetic
531 - constructs, can be extremely confusing to others. Avoid them,
532 - unless there is a compelling reason to use them.
533 -
534 - - Use the API. No, really. We have a strbuf (variable length
535 - string), several arrays with the ALLOC_GROW() macro, a
536 - string_list for sorted string lists, a hash map (mapping struct
537 - objects) named "struct decorate", amongst other things.
538 -
539 - - When you come up with an API, document its functions and structures
540 - in the header file that exposes the API to its callers. Use what is
541 - in "strbuf.h" as a model for the appropriate tone and level of
542 - detail.
543 -
544 - - The first #include in C files, except in platform specific compat/
545 - implementations and sha1dc/, must be <git-compat-util.h>. This
546 - header file insulates other header files and source files from
547 - platform differences, like which system header files must be
548 - included in what order, and what C preprocessor feature macros must
549 - be defined to trigger certain features we expect out of the system.
550 - A collorary to this is that C files should not directly include
551 - system header files themselves.
552 -
553 - There are some exceptions, because certain group of files that
554 - implement an API all have to include the same header file that
555 - defines the API and it is convenient to include <git-compat-util.h>
556 - there. Namely:
557 -
558 - - the implementation of the built-in commands in the "builtin/"
559 - directory that include "builtin.h" for the cmd_foo() prototype
560 - definition,
561 -
562 - - the test helper programs in the "t/helper/" directory that include
563 - "t/helper/test-tool.h" for the cmd__foo() prototype definition,
564 -
565 - - the xdiff implementation in the "xdiff/" directory that includes
566 - "xdiff/xinclude.h" for the xdiff machinery internals,
567 -
568 - - the unit test programs in "t/unit-tests/" directory that include
569 - "t/unit-tests/test-lib.h" that gives them the unit-tests
570 - framework, and
571 -
572 - - the source files that implement reftable in the "reftable/"
573 - directory that include "reftable/system.h" for the reftable
574 - internals,
575 -
576 - are allowed to assume that they do not have to include
577 - <git-compat-util.h> themselves, as it is included as the first
578 - '#include' in these header files. These headers must be the first
579 - header file to be "#include"d in them, though.
580 -
581 - - A C file must directly include the header files that declare the
582 - functions and the types it uses, except for the functions and types
583 - that are made available to it by including one of the header files
584 - it must include by the previous rule.
585 -
586 - - If you are planning a new command, consider writing it in shell
587 - or perl first, so that changes in semantics can be easily
588 - changed and discussed. Many Git commands started out like
589 - that, and a few are still scripts.
590 -
591 - - Avoid introducing a new dependency into Git. This means you
592 - usually should stay away from scripting languages not already
593 - used in the Git core command set (unless your command is clearly
594 - separate from it, such as an importer to convert random-scm-X
595 - repositories to Git).
596 -
597 - - When we pass <string, length> pair to functions, we should try to
598 - pass them in that order.
599 -
600 - - Use Git's gettext wrappers to make the user interface
601 - translatable. See "Marking strings for translation" in po/README.
602 -
603 - - Variables and functions local to a given source file should be marked
604 - with "static". Variables that are visible to other source files
605 - must be declared with "extern" in header files. However, function
606 - declarations should not use "extern", as that is already the default.
607 -
608 - - You can launch gdb around your program using the shorthand GIT_DEBUGGER.
609 - Run `GIT_DEBUGGER=1 ./bin-wrappers/git foo` to simply use gdb as is, or
610 - run `GIT_DEBUGGER="<debugger> <debugger-args>" ./bin-wrappers/git foo` to
611 - use your own debugger and arguments. Example: `GIT_DEBUGGER="ddd --gdb"
612 - ./bin-wrappers/git log` (See `bin-wrappers/wrap-for-bin.sh`.)
613 -
614 - - The primary data structure that a subsystem 'S' deals with is called
615 - `struct S`. Functions that operate on `struct S` are named
616 - `S_<verb>()` and should generally receive a pointer to `struct S` as
617 - first parameter. E.g.
618 -
619 - struct strbuf;
620 -
621 - void strbuf_add(struct strbuf *buf, ...);
622 -
623 - void strbuf_reset(struct strbuf *buf);
624 -
625 - is preferred over:
626 -
627 - struct strbuf;
628 -
629 - void add_string(struct strbuf *buf, ...);
630 -
631 - void reset_strbuf(struct strbuf *buf);
632 -
633 - - There are several common idiomatic names for functions performing
634 - specific tasks on a structure `S`:
635 -
636 - - `S_init()` initializes a structure without allocating the
637 - structure itself.
638 -
639 - - `S_release()` releases a structure's contents without reinitializing
640 - the structure for immediate reuse, and without freeing the structure
641 - itself.
642 -
643 - - `S_clear()` is equivalent to `S_release()` followed by `S_init()`
644 - such that the structure is directly usable after clearing it. When
645 - `S_clear()` is provided, `S_init()` shall not allocate resources
646 - that need to be released again.
647 -
648 - - `S_free()` releases a structure's contents and frees the
649 - structure.
650 -
651 - - Function names should be clear and descriptive, accurately reflecting
652 - their purpose or behavior. Arbitrary suffixes that do not add meaningful
653 - context can lead to confusion, particularly for newcomers to the codebase.
654 -
655 - Historically, the '_1' suffix has been used in situations where:
656 -
657 - - A function handles one element among a group that requires similar
658 - processing.
659 - - A recursive function has been separated from its setup phase.
660 -
661 - The '_1' suffix can be used as a concise way to indicate these specific
662 - cases. However, it is recommended to find a more descriptive name wherever
663 - possible to improve the readability and maintainability of the code.
664 -
665 - - Bit fields should be defined without a space around the colon. E.g.
666 -
667 - unsigned my_field:1;
668 - unsigned other_field:1;
669 - unsigned field_with_longer_name:1;
670 -
671 - - When a function `F` accepts flags, those flags should be defined as `enum
672 - F_flags`. Individual flag definitions should start with `F` and be in
673 - all-uppercase letters. Flag values should be represented via bit shifts.
674 - E.g.
675 -
676 - enum frobnicate_flags {
677 - FROBNICATE_FOO = (1 << 0),
678 - FROBNICATE_BAR = (1 << 1),
679 - };
680 -
681 - int frobnicate(enum frobnicate_flags flags);
682 -
683 - - Array names should be named in the singular form if the individual items are
684 - subject of use. E.g.:
685 -
686 - char *dog[] = ...;
687 - walk_dog(dog[0]);
688 - walk_dog(dog[1]);
689 -
690 - Cases where the array is employed as a whole rather than as its unit parts,
691 - the plural form is preferable. E.g:
692 -
693 - char *dogs[] = ...;
694 - walk_all_dogs(dogs);
695 -
696 - - For file timestamps, do not use "st_mtim" (and other timestamp
697 - members in "struct stat") unconditionally; not everybody is POSIX
698 - (grep for USE_ST_TIMESPEC). If you only need a timestamp in whole
699 - second resolution, "st_mtime" should work fine everywhere.
700 -
701 -
702 - For Perl programs:
703 -
704 - - Most of the C guidelines above apply.
705 -
706 - - We try to support Perl 5.8.1 and later ("use Perl 5.008001").
707 -
708 - - use strict and use warnings are strongly preferred.
709 -
710 - - Don't overuse statement modifiers unless using them makes the
711 - result easier to follow.
712 -
713 - ... do something ...
714 - do_this() unless (condition);
715 - ... do something else ...
716 -
717 - is more readable than:
718 -
719 - ... do something ...
720 - unless (condition) {
721 - do_this();
722 - }
723 - ... do something else ...
724 -
725 - *only* when the condition is so rare that do_this() will be almost
726 - always called.
727 -
728 - - We try to avoid assignments inside "if ()" conditions.
729 -
730 - - Learn and use Git.pm if you need that functionality.
731 -
732 - For Python scripts:
733 -
734 - - We follow PEP-8 (https://peps.python.org/pep-0008/).
735 -
736 - - As a minimum, we aim to be compatible with Python 2.7.
737 -
738 - - Where required libraries do not restrict us to Python 2, we try to
739 - also be compatible with Python 3.1 and later.
740 -
741 -
742 - Program Output
743 -
744 - We make a distinction between a Git command's primary output and
745 - output which is merely chatty feedback (for instance, status
746 - messages, running transcript, or progress display), as well as error
747 - messages. Roughly speaking, a Git command's primary output is that
748 - which one might want to capture to a file or send down a pipe; its
749 - chatty output should not interfere with these use-cases.
750 -
751 - As such, primary output should be sent to the standard output stream
752 - (stdout), and chatty output should be sent to the standard error
753 - stream (stderr). Examples of commands which produce primary output
754 - include `git log`, `git show`, and `git branch --list` which generate
755 - output on the stdout stream.
756 -
757 - Not all Git commands have primary output; this is often true of
758 - commands whose main function is to perform an action. Some action
759 - commands are silent, whereas others are chatty. An example of a
760 - chatty action commands is `git clone` with its "Cloning into
761 - '<path>'..." and "Checking connectivity..." status messages which it
762 - sends to the stderr stream.
763 -
764 - Error messages from Git commands should always be sent to the stderr
765 - stream.
766 -
767 -
768 - Error Messages
769 -
770 - - Do not end a single-sentence error message with a full stop.
771 -
772 - - Do not capitalize the first word, only because it is the first word
773 - in the message ("unable to open '%s'", not "Unable to open '%s'"). But
774 - "SHA-3 not supported" is fine, because the reason the first word is
775 - capitalized is not because it is at the beginning of the sentence,
776 - but because the word would be spelled in capital letters even when
777 - it appeared in the middle of the sentence.
778 -
779 - - Say what the error is first ("cannot open '%s'", not "%s: cannot open").
780 -
781 - - Enclose the subject of an error inside a pair of single quotes,
782 - e.g. `die(_("unable to open '%s'"), path)`.
783 -
784 - - Unless there is a compelling reason not to, error messages from
785 - porcelain commands should be marked for translation, e.g.
786 - `die(_("bad revision %s"), revision)`.
787 -
788 - - Error messages from the plumbing commands are sometimes meant for
789 - machine consumption and should not be marked for translation,
790 - e.g., `die("bad revision %s", revision)`.
791 -
792 - - BUG("message") are for communicating the specific error to developers,
793 - thus should not be translated.
794 -
795 -
796 - Externally Visible Names
797 -
798 - - For configuration variable names, follow the existing convention:
799 -
800 - . The section name indicates the affected subsystem.
801 -
802 - . The subsection name, if any, indicates which of an unbounded set
803 - of things to set the value for.
804 -
805 - . The variable name describes the effect of tweaking this knob.
806 -
807 - The section and variable names that consist of multiple words are
808 - formed by concatenating the words without punctuation marks (e.g. `-`),
809 - and are broken using bumpyCaps in documentation as a hint to the
810 - reader.
811 -
812 - When choosing the variable namespace, do not use variable name for
813 - specifying possibly unbounded set of things, most notably anything
814 - an end user can freely come up with (e.g. branch names). Instead,
815 - use subsection names or variable values, like the existing variable
816 - branch.<name>.description does.
817 -
818 -
819 - Writing Documentation:
820 -
821 - Most (if not all) of the documentation pages are written in the
822 - AsciiDoc format in *.adoc files (e.g. Documentation/git.adoc), and
823 - processed into HTML and manpages (e.g. git.html and git.1 in the
824 - same directory).
825 -
826 - The documentation liberally mixes US and UK English (en_US/UK)
827 - norms for spelling and grammar, which is somewhat unfortunate.
828 - In an ideal world, it would have been better if it consistently
829 - used only one and not the other, and we would have picked en_US
830 - (if you wish to correct the English of some of the existing
831 - documentation, please see the documentation-related advice in the
832 - Documentation/SubmittingPatches file).
833 -
834 - In order to ensure the documentation is inclusive, avoid assuming
835 - that an unspecified example person is male or female, and think
836 - twice before using "he", "him", "she", or "her". Here are some
837 - tips to avoid use of gendered pronouns:
838 -
839 - - Prefer succinctness and matter-of-factly describing functionality
840 - in the abstract. E.g.
841 -
842 - `--short`:: Emit output in the short-format.
843 -
844 - and avoid something like these overly verbose alternatives:
845 -
846 - `--short`:: Use this to emit output in the short-format.
847 - `--short`:: You can use this to get output in the short-format.
848 - `--short`:: A user who prefers shorter output could....
849 - `--short`:: Should a person and/or program want shorter output, he
850 - she/they/it can...
851 -
852 - This practice often eliminates the need to involve human actors in
853 - your description, but it is a good practice regardless of the
854 - avoidance of gendered pronouns.
855 -
856 - - When it becomes awkward to stick to this style, prefer "you" when
857 - addressing the hypothetical user, and possibly "we" when
858 - discussing how the program might react to the user. E.g.
859 -
860 - You can use this option instead of `--xyz`, but we might remove
861 - support for it in future versions.
862 -
863 - while keeping in mind that you can probably be less verbose, e.g.
864 -
865 - Use this instead of `--xyz`. This option might be removed in future
866 - versions.
867 -
868 - - If you still need to refer to an example person that is
869 - third-person singular, you may resort to "singular they" to avoid
870 - "he/she/him/her", e.g.
871 -
872 - A contributor asks their upstream to pull from them.
873 -
874 - Note that this sounds ungrammatical and unnatural to those who
875 - learned that "they" is only used for third-person plural, e.g.
876 - those who learn English as a second language in some parts of the
877 - world.
878 -
879 - Every user-visible change should be reflected in the documentation.
880 - The same general rule as for code applies -- imitate the existing
881 - conventions.
882 -
883 -
884 - Markup:
885 -
886 - Literal parts (e.g. use of command-line options, command names,
887 - branch names, URLs, pathnames (files and directories), configuration and
888 - environment variables) must be typeset as verbatim (i.e. wrapped with
889 - backticks):
890 - `--pretty=oneline`
891 - `git rev-list`
892 - `remote.pushDefault`
893 - `http://git.example.com`
894 - `.git/config`
895 - `GIT_DIR`
896 - `HEAD`
897 - `umask`(2)
898 -
899 - An environment variable must be prefixed with "$" only when referring to its
900 - value and not when referring to the variable itself, in this case there is
901 - nothing to add except the backticks:
902 - `GIT_DIR` is specified
903 - `$GIT_DIR/hooks/pre-receive`
904 -
905 - Word phrases enclosed in `backtick characters` are rendered literally
906 - and will not be further expanded. The use of `backticks` to achieve the
907 - previous rule means that literal examples should not use AsciiDoc
908 - escapes.
909 - Correct:
910 - `--pretty=oneline`
911 - Incorrect:
912 - `\--pretty=oneline`
913 -
914 - Placeholders are spelled in lowercase and enclosed in
915 - angle brackets surrounded by underscores:
916 - _<file>_
917 - _<commit>_
918 -
919 - If a placeholder has multiple words, they are separated by dashes:
920 - _<new-branch-name>_
921 - _<template-directory>_
922 -
923 - When needed, use a distinctive identifier for placeholders, usually
924 - made of a qualification and a type:
925 - _<git-dir>_
926 - _<key-id>_
927 -
928 - Characters are also surrounded by underscores:
929 - _LF_, _CR_, _CR_/_LF_, _NUL_, _EOF_
930 -
931 - Git's Asciidoc processor has been tailored to treat backticked text
932 - as complex synopsis. When literal and placeholders are mixed, you can
933 - use the backtick notation which will take care of correctly typesetting
934 - the content.
935 - `--jobs <n>`
936 - `--sort=<key>`
937 - `<directory>/.git`
938 - `remote.<name>.mirror`
939 - `ssh://[<user>@]<host>[:<port>]/<path-to-git-repo>`
940 -
941 - As a side effect, backquoted placeholders are correctly typeset, but
942 - this style is not recommended.
943 -
944 - When documenting multiple related `git config` variables, place them on
945 - a separate line instead of separating them by commas. For example, do
946 - not write this:
947 - `core.var1`, `core.var2`::
948 - Description common to `core.var1` and `core.var2`.
949 -
950 - Instead write this:
951 - `core.var1`::
952 - `core.var2`::
953 - Description common to `core.var1` and `core.var2`.
954 -
955 - Synopsis Syntax
956 -
957 - The synopsis (a paragraph with [synopsis] attribute) is automatically
958 - formatted by the toolchain and does not need typesetting.
959 -
960 - A few commented examples follow to provide reference when writing or
961 - modifying command usage strings and synopsis sections in the manual
962 - pages:
963 -
964 - Possibility of multiple occurrences is indicated by three dots:
965 - <file>...
966 - (One or more of <file>.)
967 -
968 - Optional parts are enclosed in square brackets:
969 - [<file>...]
970 - (Zero or more of <file>.)
971 -
972 - An optional parameter needs to be typeset with unconstrained pairs
973 - [<repository>]
974 -
975 - --exec-path[=<path>]
976 - (Option with an optional argument. Note that the "=" is inside the
977 - brackets.)
978 -
979 - [<patch>...]
980 - (Zero or more of <patch>. Note that the dots are inside, not
981 - outside the brackets.)
982 -
983 - Multiple alternatives are indicated with vertical bars:
984 - [-q | --quiet]
985 - [--utf8 | --no-utf8]
986 -
987 - Use spacing around "|" token(s), but not immediately after opening or
988 - before closing a [] or () pair:
989 - Do: [-q | --quiet]
990 - Don't: [-q|--quiet]
991 -
992 - Don't use spacing around "|" tokens when they're used to separate the
993 - alternate arguments of an option:
994 - Do: --track[=(direct|inherit)]
995 - Don't: --track[=(direct | inherit)]
996 -
997 - Parentheses are used for grouping:
998 - [(<rev>|<range>)...]
999 - (Any number of either <rev> or <range>. Parens are needed to make
1000 - it clear that "..." pertains to both <rev> and <range>.)
1001 -
1002 - [(-p <parent>)...]
1003 - (Any number of option -p, each with one <parent> argument.)
1004 -
1005 - git remote set-head <name> (-a|-d|<branch>)
1006 - (One and only one of "-a", "-d" or "<branch>" _must_ (no square
1007 - brackets) be provided.)
1008 -
1009 - And a somewhat more contrived example:
1010 - --diff-filter=[(A|C|D|M|R|T|U|X|B)...[*]]
1011 - Here "=" is outside the brackets, because "--diff-filter=" is a
1012 - valid usage. "*" has its own pair of brackets, because it can
1013 - (optionally) be specified only when one or more of the letters is
1014 - also provided.
1015 -
1016 - A note on notation:
1017 - Use 'git' (all lowercase) when talking about commands i.e. something
1018 - the user would type into a shell and use 'Git' (uppercase first letter)
1019 - when talking about the version control system and its properties.
1020 -
1021 - If some place in the documentation needs to typeset a command usage
1022 - example with inline substitutions, it is fine to use +monospaced and
1023 - inline substituted text+ instead of `monospaced literal text`, and with
1024 - the former, the part that should not get substituted must be
1025 - quoted/escaped.
deleted Documentation/DecisionMaking.adoc mode 100644
@@ -1,74 +0,0 @@
1 - Decision-Making Process in the Git Project
2 - ==========================================
3 -
4 - Introduction
5 - ------------
6 - This document describes the current decision-making process in the Git
7 - project. It is a descriptive rather than prescriptive doc; that is, we want to
8 - describe how things work in practice rather than explicitly recommending any
9 - particular process or changes to the current process.
10 -
11 - Here we document how the project makes decisions for discussions
12 - (with or without patches), in scale larger than an individual patch
13 - series (which is fully covered by the SubmittingPatches document).
14 -
15 -
16 - Larger Discussions (with patches)
17 - ---------------------------------
18 - As with discussions on an individual patch series, starting a larger-scale
19 - discussion often begins by sending a patch or series to the list. This might
20 - take the form of an initial design doc, with implementation following in later
21 - iterations of the series (for example,
22 - link:https://lore.kernel.org/git/0169ce6fb9ccafc089b74ae406db0d1a8ff8ac65.1688165272.git.steadmon@google.com/[adding unit tests] or
23 - link:https://lore.kernel.org/git/20200420235310.94493-1-emilyshaffer@google.com/[config-based hooks]),
24 - or it might include a full implementation from the beginning.
25 - In either case, discussion progresses the same way for an individual patch series,
26 - until consensus is reached or the topic is dropped.
27 -
28 -
29 - Larger Discussions (without patches)
30 - ------------------------------------
31 - Occasionally, larger discussions might occur without an associated patch series.
32 - These may be very large-scale technical decisions that are beyond the scope of
33 - even a single large patch series, or they may be more open-ended,
34 - policy-oriented discussions (examples:
35 - link:https://lore.kernel.org/git/ZZ77NQkSuiRxRDwt@nand.local/[introducing Rust]
36 - or link:https://lore.kernel.org/git/YHofmWcIAidkvJiD@google.com/[improving submodule UX]).
37 - In either case, discussion progresses as described above for general patch series.
38 -
39 - For larger discussions without a patch series or other concrete implementation,
40 - it may be hard to judge when consensus has been reached, as there are not any
41 - official guidelines. If discussion stalls at this point, it may be helpful to
42 - restart discussion with an RFC patch series (such as a partial, unfinished
43 - implementation or proof of concept) that can be more easily debated.
44 -
45 - When consensus is reached that it is a good idea, the original
46 - proposer is expected to coordinate the effort to make it happen,
47 - with help from others who were involved in the discussion, as
48 - needed.
49 -
50 - For decisions that require code changes, it is often the case that the original
51 - proposer will follow up with a patch series, although it is also common for
52 - other interested parties to provide an implementation (or parts of the
53 - implementation, for very large changes).
54 -
55 - For non-technical decisions such as community norms or processes, it is up to
56 - the community as a whole to implement and sustain agreed-upon changes.
57 - The project leadership committee (PLC) may help the implementation of
58 - policy decisions.
59 -
60 -
61 - Other Discussion Venues
62 - -----------------------
63 - Occasionally decision proposals are presented off-list, e.g. at the semi-regular
64 - Contributors' Summit. While higher-bandwidth face-to-face discussion is often
65 - useful for quickly reaching consensus among attendees, generally we expect to
66 - summarize the discussion in notes that can later be presented on-list. For an
67 - example, see the thread
68 - link:https://lore.kernel.org/git/AC2EB721-2979-43FD-922D-C5076A57F24B@jramsay.com.au/[Notes
69 - from Git Contributor Summit, Los Angeles (April 5, 2020)] by James Ramsay.
70 -
71 - We prefer that "official" discussion happens on the list so that the full
72 - community has opportunity to engage in discussion. This also means that the
73 - mailing list archives contain a more-or-less complete history of project
74 - discussions and decisions.
deleted Documentation/Makefile mode 100644
@@ -1,570 +0,0 @@
1 - # The default target of this Makefile is...
2 - all::
3 -
4 - # Import tree-wide shared Makefile behavior and libraries
5 - include ../shared.mak
6 -
7 - .PHONY: FORCE
8 -
9 - # Guard against environment variables
10 - MAN1_TXT =
11 - MAN5_TXT =
12 - MAN7_TXT =
13 - HOWTO_TXT =
14 - DOC_DEP_TXT =
15 - TECH_DOCS =
16 - ARTICLES =
17 - SP_ARTICLES =
18 - OBSOLETE_HTML =
19 -
20 - -include GIT-EXCLUDED-PROGRAMS
21 -
22 - MAN1_TXT += $(filter-out \
23 - $(patsubst %,%.adoc,$(EXCLUDED_PROGRAMS)) \
24 - $(addsuffix .adoc, $(ARTICLES) $(SP_ARTICLES)), \
25 - $(wildcard git-*.adoc))
26 - MAN1_TXT += git.adoc
27 - MAN1_TXT += gitk.adoc
28 - MAN1_TXT += gitweb.adoc
29 - MAN1_TXT += scalar.adoc
30 -
31 - # man5 / man7 guides (note: new guides should also be added to command-list.txt)
32 - MAN5_TXT += gitattributes.adoc
33 - MAN5_TXT += gitformat-bundle.adoc
34 - MAN5_TXT += gitformat-chunk.adoc
35 - MAN5_TXT += gitformat-commit-graph.adoc
36 - MAN5_TXT += gitformat-index.adoc
37 - MAN5_TXT += gitformat-loose.adoc
38 - MAN5_TXT += gitformat-pack.adoc
39 - MAN5_TXT += gitformat-signature.adoc
40 - MAN5_TXT += githooks.adoc
41 - MAN5_TXT += gitignore.adoc
42 - MAN5_TXT += gitmailmap.adoc
43 - MAN5_TXT += gitmodules.adoc
44 - MAN5_TXT += gitprotocol-capabilities.adoc
45 - MAN5_TXT += gitprotocol-common.adoc
46 - MAN5_TXT += gitprotocol-http.adoc
47 - MAN5_TXT += gitprotocol-pack.adoc
48 - MAN5_TXT += gitprotocol-v2.adoc
49 - MAN5_TXT += gitrepository-layout.adoc
50 - MAN5_TXT += gitweb.conf.adoc
51 -
52 - MAN7_TXT += gitcli.adoc
53 - MAN7_TXT += gitcore-tutorial.adoc
54 - MAN7_TXT += gitcredentials.adoc
55 - MAN7_TXT += gitcvs-migration.adoc
56 - MAN7_TXT += gitdatamodel.adoc
57 - MAN7_TXT += gitdiffcore.adoc
58 - MAN7_TXT += giteveryday.adoc
59 - MAN7_TXT += gitfaq.adoc
60 - MAN7_TXT += gitglossary.adoc
61 - MAN7_TXT += gitpacking.adoc
62 - MAN7_TXT += gitnamespaces.adoc
63 - MAN7_TXT += gitremote-helpers.adoc
64 - MAN7_TXT += gitrevisions.adoc
65 - MAN7_TXT += gitsubmodules.adoc
66 - MAN7_TXT += gittutorial-2.adoc
67 - MAN7_TXT += gittutorial.adoc
68 - MAN7_TXT += gitworkflows.adoc
69 -
70 - HOWTO_TXT += $(wildcard howto/*.adoc)
71 -
72 - DOC_DEP_TXT += $(wildcard *.adoc)
73 - DOC_DEP_TXT += $(wildcard config/*.adoc)
74 - DOC_DEP_TXT += $(wildcard includes/*.adoc)
75 -
76 - ifdef MAN_FILTER
77 - MAN_TXT = $(filter $(MAN_FILTER),$(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT))
78 - else
79 - MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT)
80 - MAN_FILTER = $(MAN_TXT)
81 - endif
82 -
83 - MAN_XML = $(patsubst %.adoc,%.xml,$(MAN_TXT))
84 - MAN_HTML = $(patsubst %.adoc,%.html,$(MAN_TXT))
85 - GIT_MAN_REF = master
86 -
87 - OBSOLETE_HTML += everyday.html
88 - OBSOLETE_HTML += git-remote-helpers.html
89 -
90 - ARTICLES += howto-index
91 - ARTICLES += git-tools
92 - ARTICLES += git-bisect-lk2009
93 - # with their own formatting rules.
94 - SP_ARTICLES += user-manual
95 - SP_ARTICLES += howto/new-command
96 - SP_ARTICLES += howto/revert-branch-rebase
97 - SP_ARTICLES += howto/using-merge-subtree
98 - SP_ARTICLES += howto/using-signed-tag-in-pull-request
99 - SP_ARTICLES += howto/use-git-daemon
100 - SP_ARTICLES += howto/update-hook-example
101 - SP_ARTICLES += howto/setup-git-server-over-http
102 - SP_ARTICLES += howto/separating-topic-branches
103 - SP_ARTICLES += howto/revert-a-faulty-merge
104 - SP_ARTICLES += howto/recover-corrupted-blob-object
105 - SP_ARTICLES += howto/recover-corrupted-object-harder
106 - SP_ARTICLES += howto/rebuild-from-update-hook
107 - SP_ARTICLES += howto/rebase-from-internal-branch
108 - SP_ARTICLES += howto/keep-canonical-history-correct
109 - SP_ARTICLES += howto/maintain-git
110 - SP_ARTICLES += howto/coordinate-embargoed-releases
111 - API_DOCS = $(patsubst %.adoc,%,$(filter-out technical/api-index-skel.adoc technical/api-index.adoc, $(wildcard technical/api-*.adoc)))
112 - SP_ARTICLES += $(API_DOCS)
113 -
114 - TECH_DOCS += BreakingChanges
115 - TECH_DOCS += DecisionMaking
116 - TECH_DOCS += ReviewingGuidelines
117 - TECH_DOCS += MyFirstContribution
118 - TECH_DOCS += MyFirstObjectWalk
119 - TECH_DOCS += SubmittingPatches
120 - TECH_DOCS += ToolsForGit
121 - TECH_DOCS += technical/bitmap-format
122 - TECH_DOCS += technical/build-systems
123 - TECH_DOCS += technical/bundle-uri
124 - TECH_DOCS += technical/commit-graph
125 - TECH_DOCS += technical/directory-rename-detection
126 - TECH_DOCS += technical/hash-function-transition
127 - TECH_DOCS += technical/large-object-promisors
128 - TECH_DOCS += technical/long-running-process-protocol
129 - TECH_DOCS += technical/multi-pack-index
130 - TECH_DOCS += technical/packfile-uri
131 - TECH_DOCS += technical/pack-heuristics
132 - TECH_DOCS += technical/parallel-checkout
133 - TECH_DOCS += technical/partial-clone
134 - TECH_DOCS += technical/platform-support
135 - TECH_DOCS += technical/racy-git
136 - TECH_DOCS += technical/reftable
137 - TECH_DOCS += technical/remembering-renames
138 - TECH_DOCS += technical/repository-version
139 - TECH_DOCS += technical/rerere
140 - TECH_DOCS += technical/scalar
141 - TECH_DOCS += technical/send-pack-pipeline
142 - TECH_DOCS += technical/shallow
143 - TECH_DOCS += technical/sparse-checkout
144 - TECH_DOCS += technical/sparse-index
145 - TECH_DOCS += technical/trivial-merge
146 - TECH_DOCS += technical/unambiguous-types
147 - TECH_DOCS += technical/unit-tests
148 - SP_ARTICLES += $(TECH_DOCS)
149 - SP_ARTICLES += technical/api-index
150 -
151 - ARTICLES_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES))
152 - HTML_FILTER ?= $(ARTICLES_HTML) $(OBSOLETE_HTML)
153 - DOC_HTML = $(MAN_HTML) $(filter $(HTML_FILTER),$(ARTICLES_HTML) $(OBSOLETE_HTML))
154 -
155 - DOC_MAN1 = $(patsubst %.adoc,%.1,$(filter $(MAN_FILTER),$(MAN1_TXT)))
156 - DOC_MAN5 = $(patsubst %.adoc,%.5,$(filter $(MAN_FILTER),$(MAN5_TXT)))
157 - DOC_MAN7 = $(patsubst %.adoc,%.7,$(filter $(MAN_FILTER),$(MAN7_TXT)))
158 -
159 - prefix ?= $(HOME)
160 - bindir ?= $(prefix)/bin
161 - htmldir ?= $(prefix)/share/doc/git-doc
162 - infodir ?= $(prefix)/share/info
163 - pdfdir ?= $(prefix)/share/doc/git-doc
164 - mandir ?= $(prefix)/share/man
165 - man1dir = $(mandir)/man1
166 - man5dir = $(mandir)/man5
167 - man7dir = $(mandir)/man7
168 - # DESTDIR =
169 -
170 - ASCIIDOC = asciidoc
171 - ASCIIDOC_EXTRA =
172 - ASCIIDOC_HTML = xhtml11
173 - ASCIIDOC_DOCBOOK = docbook
174 - ASCIIDOC_CONF = -f asciidoc.conf
175 - ASCIIDOC_COMMON = $(ASCIIDOC) $(ASCIIDOC_EXTRA) $(ASCIIDOC_CONF)
176 - ASCIIDOC_DEPS = asciidoc.conf GIT-ASCIIDOCFLAGS
177 - TXT_TO_HTML = $(ASCIIDOC_COMMON) -b $(ASCIIDOC_HTML)
178 - TXT_TO_XML = $(ASCIIDOC_COMMON) -b $(ASCIIDOC_DOCBOOK)
179 - MANPAGE_XSL = manpage-normal.xsl
180 - XMLTO = xmlto
181 - XMLTO_EXTRA =
182 - INSTALL ?= install
183 - RM ?= rm -f
184 - MAN_REPO = ../../git-manpages
185 - HTML_REPO = ../../git-htmldocs
186 -
187 - MAKEINFO = makeinfo
188 - INSTALL_INFO = install-info
189 - DOCBOOK2X_TEXI = docbook2x-texi
190 - DBLATEX = dblatex
191 - ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
192 - DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty
193 - ifndef PERL_PATH
194 - PERL_PATH = /usr/bin/perl
195 - endif
196 -
197 - -include ../config.mak.autogen
198 - -include ../config.mak
199 -
200 - # Set GIT_VERSION_OVERRIDE such that version_gen knows to substitute
201 - # GIT_VERSION in case it was set by the user.
202 - GIT_VERSION_OVERRIDE := $(GIT_VERSION)
203 -
204 - ifndef NO_MAN_BOLD_LITERAL
205 - XMLTO_EXTRA += -m manpage-bold-literal.xsl
206 - endif
207 -
208 - # Newer DocBook stylesheet emits warning cruft in the output when
209 - # this is not set, and if set it shows an absolute link. Older
210 - # stylesheets simply ignore this parameter.
211 - #
212 - # Distros may want to use MAN_BASE_URL=file:///path/to/git/docs/
213 - # or similar.
214 - ifndef MAN_BASE_URL
215 - MAN_BASE_URL = file://$(htmldir)/
216 - endif
217 - XMLTO_EXTRA += --stringparam man.base.url.for.relative.links='$(MAN_BASE_URL)'
218 -
219 - ifdef USE_ASCIIDOCTOR
220 - ASCIIDOC = asciidoctor
221 - ASCIIDOC_CONF =
222 - ASCIIDOC_HTML = xhtml5
223 - ASCIIDOC_DOCBOOK = docbook5
224 - ASCIIDOC_EXTRA += -acompat-mode -atabsize=8
225 - ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
226 - ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
227 - ASCIIDOC_EXTRA += -adocinfo=shared
228 - ASCIIDOC_DEPS = asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
229 - DBLATEX_COMMON =
230 - XMLTO_EXTRA += --skip-validation
231 - XMLTO_EXTRA += -x manpage.xsl
232 -
233 - asciidoctor-extensions.rb: asciidoctor-extensions.rb.in FORCE
234 - $(QUIET_GEN)$(call version_gen,"$(shell pwd)/..",$<,$@)
235 - else
236 - asciidoc.conf: asciidoc.conf.in FORCE
237 - $(QUIET_GEN)$(call version_gen,"$(shell pwd)/..",$<,$@)
238 - endif
239 -
240 - ifdef WITH_BREAKING_CHANGES
241 - ASCIIDOC_EXTRA += -awith-breaking-changes
242 - endif
243 -
244 - ASCIIDOC_DEPS += docinfo.html
245 -
246 - SHELL_PATH ?= $(SHELL)
247 - # Shell quote;
248 - SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
249 -
250 - ASCIIDOC_EXTRA += -abuild_dir='$(shell pwd)'
251 - ifdef DEFAULT_PAGER
252 - DEFAULT_PAGER_SQ = $(subst ','\'',$(DEFAULT_PAGER))
253 - ASCIIDOC_EXTRA += -a 'git-default-pager=$(DEFAULT_PAGER_SQ)'
254 - endif
255 -
256 - ifdef DEFAULT_EDITOR
257 - DEFAULT_EDITOR_SQ = $(subst ','\'',$(DEFAULT_EDITOR))
258 - ASCIIDOC_EXTRA += -a 'git-default-editor=$(DEFAULT_EDITOR_SQ)'
259 - endif
260 -
261 - all:: html man
262 -
263 - html: $(DOC_HTML)
264 -
265 - man: man1 man5 man7
266 - man1: $(DOC_MAN1)
267 - man5: $(DOC_MAN5)
268 - man7: $(DOC_MAN7)
269 -
270 - info: git.info gitman.info
271 -
272 - pdf: user-manual.pdf
273 -
274 - install: install-man
275 -
276 - install-man: man
277 - $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
278 - $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
279 - $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
280 - $(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
281 - $(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir)
282 - $(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
283 -
284 - install-info: info
285 - $(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
286 - $(INSTALL) -m 644 git.info gitman.info $(DESTDIR)$(infodir)
287 - if test -r $(DESTDIR)$(infodir)/dir; then \
288 - $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) git.info ;\
289 - $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) gitman.info ;\
290 - else \
291 - echo "No directory found in $(DESTDIR)$(infodir)" >&2 ; \
292 - fi
293 -
294 - install-pdf: pdf
295 - $(INSTALL) -d -m 755 $(DESTDIR)$(pdfdir)
296 - $(INSTALL) -m 644 user-manual.pdf $(DESTDIR)$(pdfdir)
297 -
298 - install-html: html
299 - '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(DESTDIR)$(htmldir)
300 -
301 - mergetools_txt = mergetools-diff.adoc mergetools-merge.adoc
302 -
303 - #
304 - # Determine "include::" file references in asciidoc files.
305 - #
306 - docdep_prereqs = \
307 - $(mergetools_txt) \
308 - cmd-list.made $(cmds_txt)
309 -
310 - doc.dep : $(docdep_prereqs) $(DOC_DEP_TXT) build-docdep.perl
311 - $(QUIET_GEN)$(PERL_PATH) ./build-docdep.perl "$(shell pwd)" >$@ $(QUIET_STDERR)
312 -
313 - ifneq ($(MAKECMDGOALS),clean)
314 - -include doc.dep
315 - endif
316 -
317 - cmds_txt = cmds-ancillaryinterrogators.adoc \
318 - cmds-ancillarymanipulators.adoc \
319 - cmds-mainporcelain.adoc \
320 - cmds-plumbinginterrogators.adoc \
321 - cmds-plumbingmanipulators.adoc \
322 - cmds-synchingrepositories.adoc \
323 - cmds-synchelpers.adoc \
324 - cmds-guide.adoc \
325 - cmds-developerinterfaces.adoc \
326 - cmds-userinterfaces.adoc \
327 - cmds-purehelpers.adoc \
328 - cmds-foreignscminterface.adoc
329 -
330 - $(cmds_txt): cmd-list.made
331 -
332 - cmd-list.made: cmd-list.sh ../command-list.txt $(MAN1_TXT)
333 - $(QUIET_GEN)$(SHELL_PATH) ./cmd-list.sh .. . $(cmds_txt) && \
334 - date >$@
335 -
336 - mergetools-%.adoc: generate-mergetool-list.sh ../git-mergetool--lib.sh $(wildcard ../mergetools/*)
337 - mergetools-diff.adoc:
338 - $(QUIET_GEN)$(SHELL_PATH) ./generate-mergetool-list.sh .. diff $@
339 - mergetools-merge.adoc:
340 - $(QUIET_GEN)$(SHELL_PATH) ./generate-mergetool-list.sh .. merge $@
341 -
342 - TRACK_ASCIIDOCFLAGS = $(subst ','\'',$(ASCIIDOC_COMMON):$(ASCIIDOC_HTML):$(ASCIIDOC_DOCBOOK))
343 -
344 - GIT-ASCIIDOCFLAGS: FORCE
345 - @FLAGS='$(TRACK_ASCIIDOCFLAGS)'; \
346 - if test x"$$FLAGS" != x"`cat GIT-ASCIIDOCFLAGS 2>/dev/null`" ; then \
347 - echo >&2 " * new asciidoc flags"; \
348 - echo "$$FLAGS" >GIT-ASCIIDOCFLAGS; \
349 - fi
350 -
351 - clean:
352 - $(RM) -rf .build/
353 - $(RM) *.xml *.xml+ *.html *.html+ *.1 *.5 *.7
354 - $(RM) *.texi *.texi+ *.texi++ git.info gitman.info
355 - $(RM) *.pdf
356 - $(RM) howto-index.adoc howto/*.html doc.dep
357 - $(RM) technical/*.html technical/api-index.adoc
358 - $(RM) SubmittingPatches.adoc
359 - $(RM) $(cmds_txt) $(mergetools_txt) *.made
360 - $(RM) GIT-ASCIIDOCFLAGS
361 - $(RM) asciidoc.conf asciidoctor-extensions.rb
362 - $(RM) -rf tmp-meson-diff
363 -
364 - docinfo.html: docinfo-html.in
365 - $(QUIET_GEN)$(RM) $@ && cat $< >$@
366 -
367 - $(MAN_HTML): %.html : %.adoc $(ASCIIDOC_DEPS)
368 - $(QUIET_ASCIIDOC)$(TXT_TO_HTML) -d manpage -o $@ $<
369 -
370 - $(OBSOLETE_HTML): %.html : %.adoco $(ASCIIDOC_DEPS)
371 - $(QUIET_ASCIIDOC)$(TXT_TO_HTML) -o $@ $<
372 -
373 - manpage-prereqs := $(wildcard manpage*.xsl)
374 - manpage-cmd = $(QUIET_XMLTO)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
375 -
376 - %.1 : %.xml $(manpage-prereqs)
377 - $(manpage-cmd)
378 - %.5 : %.xml $(manpage-prereqs)
379 - $(manpage-cmd)
380 - %.7 : %.xml $(manpage-prereqs)
381 - $(manpage-cmd)
382 -
383 - %.xml : %.adoc $(ASCIIDOC_DEPS)
384 - $(QUIET_ASCIIDOC)$(TXT_TO_XML) -d manpage -o $@ $<
385 -
386 - user-manual.xml: user-manual.adoc $(ASCIIDOC_DEPS)
387 - $(QUIET_ASCIIDOC)$(TXT_TO_XML) -d book -o $@ $<
388 -
389 - technical/api-index.adoc: technical/api-index-skel.adoc \
390 - technical/api-index.sh $(patsubst %,%.adoc,$(API_DOCS))
391 - $(QUIET_GEN)'$(SHELL_PATH_SQ)' technical/api-index.sh ./technical ./technical/api-index.adoc
392 -
393 - technical/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
394 - $(patsubst %,%.html,$(API_DOCS) technical/api-index $(TECH_DOCS)): %.html : %.adoc \
395 - $(ASCIIDOC_DEPS)
396 - $(QUIET_ASCIIDOC)$(TXT_TO_HTML) $*.adoc
397 -
398 - SubmittingPatches.adoc: SubmittingPatches
399 - $(QUIET_GEN) cp $< $@
400 -
401 - XSLT = docbook.xsl
402 - XSLTOPTS =
403 - XSLTOPTS += --xinclude
404 - XSLTOPTS += --stringparam html.stylesheet docbook-xsl.css
405 - XSLTOPTS += --param generate.consistent.ids 1
406 -
407 - user-manual.html: user-manual.xml $(XSLT)
408 - $(QUIET_XSLTPROC)xsltproc $(XSLTOPTS) -o $@ $(XSLT) $<
409 -
410 - git.info: user-manual.texi
411 - $(QUIET_MAKEINFO)$(MAKEINFO) --no-split -o $@ user-manual.texi
412 -
413 - user-manual.texi: user-manual.xml fix-texi.sh
414 - $(QUIET_DB2TEXI)$(DOCBOOK2X_TEXI) user-manual.xml --encoding=UTF-8 --to-stdout >$@+ && \
415 - $(SHELL_PATH) fix-texi.sh <$@+ >$@ && \
416 - $(RM) $@+
417 -
418 - user-manual.pdf: user-manual.xml
419 - $(QUIET_DBLATEX)$(DBLATEX) -o $@ $(DBLATEX_COMMON) $<
420 -
421 - gitman.texi: $(MAN_XML) cat-texi.perl texi.xsl
422 - $(QUIET_DB2TEXI) \
423 - ($(foreach xml,$(sort $(MAN_XML)),xsltproc -o $(xml)+ texi.xsl $(xml) && \
424 - $(DOCBOOK2X_TEXI) --encoding=UTF-8 --to-stdout $(xml)+ && \
425 - $(RM) $(xml)+ &&) true) > $@+ && \
426 - $(PERL_PATH) cat-texi.perl $@ <$@+ >$@ && \
427 - $(RM) $@+
428 -
429 - gitman.info: gitman.texi
430 - $(QUIET_MAKEINFO)$(MAKEINFO) --no-split --no-validate $<
431 -
432 - $(patsubst %.adoc,%.texi,$(MAN_TXT)): %.texi : %.xml
433 - $(QUIET_DB2TEXI)$(DOCBOOK2X_TEXI) --to-stdout $*.xml >$@
434 -
435 - howto-index.adoc: howto/howto-index.sh $(HOWTO_TXT)
436 - $(QUIET_GEN)'$(SHELL_PATH_SQ)' ./howto/howto-index.sh $(sort $(HOWTO_TXT)) >$@
437 -
438 - $(patsubst %,%.html,$(ARTICLES)) : %.html : %.adoc $(ASCIIDOC_DEPS)
439 - $(QUIET_ASCIIDOC)$(TXT_TO_HTML) $*.adoc
440 -
441 - WEBDOC_DEST = /pub/software/scm/git/docs
442 -
443 - howto/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
444 - $(patsubst %.adoc,%.html,$(HOWTO_TXT)): %.html : %.adoc $(ASCIIDOC_DEPS)
445 - $(QUIET_ASCIIDOC) \
446 - sed -e '1,/^$$/d' $< | \
447 - $(TXT_TO_HTML) - >$@
448 -
449 - install-webdoc : html
450 - '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(WEBDOC_DEST)
451 -
452 - # You must have a clone of 'git-htmldocs' and 'git-manpages' repositories
453 - # next to the 'git' repository itself for the following to work.
454 -
455 - quick-install: quick-install-man
456 -
457 - require-manrepo::
458 - @if test ! -d $(MAN_REPO); \
459 - then echo "git-manpages repository must exist at $(MAN_REPO)"; exit 1; fi
460 -
461 - quick-install-man: require-manrepo
462 - '$(SHELL_PATH_SQ)' ./install-doc-quick.sh $(MAN_REPO) $(DESTDIR)$(mandir) $(GIT_MAN_REF)
463 -
464 - require-htmlrepo::
465 - @if test ! -d $(HTML_REPO); \
466 - then echo "git-htmldocs repository must exist at $(HTML_REPO)"; exit 1; fi
467 -
468 - quick-install-html: require-htmlrepo
469 - '$(SHELL_PATH_SQ)' ./install-doc-quick.sh $(HTML_REPO) $(DESTDIR)$(htmldir) $(GIT_MAN_REF)
470 -
471 - print-man1:
472 - @for i in $(MAN1_TXT); do echo $$i; done
473 -
474 - ## Lint: gitlink
475 - LINT_DOCS_GITLINK = $(patsubst %.adoc,.build/lint-docs/gitlink/%.ok,$(HOWTO_TXT) $(DOC_DEP_TXT))
476 - $(LINT_DOCS_GITLINK): lint-gitlink.perl
477 - $(LINT_DOCS_GITLINK): .build/lint-docs/gitlink/%.ok: %.adoc
478 - $(call mkdir_p_parent_template)
479 - $(QUIET_LINT_GITLINK)$(PERL_PATH) lint-gitlink.perl \
480 - $< \
481 - $(HOWTO_TXT) $(DOC_DEP_TXT) \
482 - --section=1 $(MAN1_TXT) \
483 - --section=5 $(MAN5_TXT) \
484 - --section=7 $(MAN7_TXT) >$@
485 - .PHONY: lint-docs-gitlink
486 - lint-docs-gitlink: $(LINT_DOCS_GITLINK)
487 -
488 - ## Lint: man-end-blurb
489 - LINT_DOCS_MAN_END_BLURB = $(patsubst %.adoc,.build/lint-docs/man-end-blurb/%.ok,$(MAN_TXT))
490 - $(LINT_DOCS_MAN_END_BLURB): lint-man-end-blurb.perl
491 - $(LINT_DOCS_MAN_END_BLURB): .build/lint-docs/man-end-blurb/%.ok: %.adoc
492 - $(call mkdir_p_parent_template)
493 - $(QUIET_LINT_MANEND)$(PERL_PATH) lint-man-end-blurb.perl $< >$@
494 - .PHONY: lint-docs-man-end-blurb
495 -
496 - ## Lint: man-section-order
497 - LINT_DOCS_MAN_SECTION_ORDER = $(patsubst %.adoc,.build/lint-docs/man-section-order/%.ok,$(MAN_TXT))
498 - $(LINT_DOCS_MAN_SECTION_ORDER): lint-man-section-order.perl
499 - $(LINT_DOCS_MAN_SECTION_ORDER): .build/lint-docs/man-section-order/%.ok: %.adoc
500 - $(call mkdir_p_parent_template)
501 - $(QUIET_LINT_MANSEC)$(PERL_PATH) lint-man-section-order.perl $< >$@
502 - .PHONY: lint-docs-man-section-order
503 - lint-docs-man-section-order: $(LINT_DOCS_MAN_SECTION_ORDER)
504 -
505 - .PHONY: lint-docs-fsck-msgids
506 - LINT_DOCS_FSCK_MSGIDS = .build/lint-docs/fsck-msgids.ok
507 - $(LINT_DOCS_FSCK_MSGIDS): lint-fsck-msgids.perl
508 - $(LINT_DOCS_FSCK_MSGIDS): ../fsck.h fsck-msgids.adoc
509 - $(call mkdir_p_parent_template)
510 - $(QUIET_GEN)$(PERL_PATH) lint-fsck-msgids.perl \
511 - ../fsck.h fsck-msgids.adoc $@
512 - lint-docs-fsck-msgids: $(LINT_DOCS_FSCK_MSGIDS)
513 -
514 - ## Lint: delimited sections
515 - LINT_DOCS_DELIMITED_SECTIONS = $(patsubst %.adoc,.build/lint-docs/delimited-sections/%.ok,$(MAN_TXT))
516 - $(LINT_DOCS_DELIMITED_SECTIONS): lint-delimited-sections.perl
517 - $(LINT_DOCS_DELIMITED_SECTIONS): .build/lint-docs/delimited-sections/%.ok: %.adoc
518 - $(call mkdir_p_parent_template)
519 - $(QUIET_LINT_DELIMSEC)$(PERL_PATH) lint-delimited-sections.perl $< >$@
520 - .PHONY: lint-docs-delimited-sections
521 - lint-docs-delimited-sections: $(LINT_DOCS_DELIMITED_SECTIONS)
522 -
523 - ## Lint: Documentation style
524 - LINT_DOCS_DOC_STYLE = $(patsubst %.adoc,.build/lint-docs/doc-style/%.ok,$(DOC_DEP_TXT))
525 - $(LINT_DOCS_DOC_STYLE): lint-documentation-style.perl
526 - $(LINT_DOCS_DOC_STYLE): .build/lint-docs/doc-style/%.ok: %.adoc
527 - $(call mkdir_p_parent_template)
528 - $(QUIET_LINT_DOCSTYLE)$(PERL_PATH) lint-documentation-style.perl $< >$@
529 - .PHONY: lint-docs-doc-style
530 - lint-docs-doc-style: $(LINT_DOCS_DOC_STYLE)
531 -
532 - lint-docs-manpages:
533 - $(QUIET_GEN)./lint-manpages.sh
534 -
535 - .PHONY: lint-docs-meson
536 - lint-docs-meson:
537 - @# awk acts up when trying to match single quotes, so we use \047 instead.
538 - @mkdir -p tmp-meson-diff && \
539 - awk "/^manpages = {$$/ {flag=1 ; next } /^}$$/ { flag=0 } flag { gsub(/^ \047/, \"\"); gsub(/\047 : [157],\$$/, \"\"); print }" meson.build | \
540 - grep -v -e '#' -e '^$$' | \
541 - sort >tmp-meson-diff/meson.adoc && \
542 - ls git*.adoc scalar.adoc | \
543 - grep -v -e git-bisect-lk2009.adoc \
544 - -e git-pack-redundant.adoc \
545 - -e git-tools.adoc \
546 - -e git-whatchanged.adoc \
547 - >tmp-meson-diff/actual.adoc && \
548 - if ! cmp tmp-meson-diff/meson.adoc tmp-meson-diff/actual.adoc; then \
549 - echo "Meson man pages differ from actual man pages:"; \
550 - diff -u tmp-meson-diff/meson.adoc tmp-meson-diff/actual.adoc; \
551 - exit 1; \
552 - fi
553 -
554 - ## Lint: list of targets above
555 - .PHONY: lint-docs
556 - lint-docs: lint-docs-fsck-msgids
557 - lint-docs: lint-docs-gitlink
558 - lint-docs: lint-docs-man-end-blurb
559 - lint-docs: lint-docs-man-section-order
560 - lint-docs: lint-docs-delimited-sections
561 - lint-docs: lint-docs-doc-style
562 - lint-docs: lint-docs-manpages
563 - lint-docs: lint-docs-meson
564 -
565 - ifeq ($(wildcard po/Makefile),po/Makefile)
566 - doc-l10n install-l10n::
567 - $(MAKE) -C po $@
568 - endif
569 -
570 - .PHONY: FORCE
deleted Documentation/MyFirstContribution.adoc mode 100644
@@ -1,1427 +0,0 @@
1 - My First Contribution to the Git Project
2 - ========================================
3 - :sectanchors:
4 -
5 - [[summary]]
6 - == Summary
7 -
8 - This is a tutorial demonstrating the end-to-end workflow of creating a change to
9 - the Git tree, sending it for review, and making changes based on comments.
10 -
11 - [[prerequisites]]
12 - === Prerequisites
13 -
14 - This tutorial assumes you're already fairly familiar with using Git to manage
15 - source code. The Git workflow steps will largely remain unexplained.
16 -
17 - [[related-reading]]
18 - === Related Reading
19 -
20 - This tutorial aims to summarize the following documents, but the reader may find
21 - useful additional context:
22 -
23 - - `Documentation/SubmittingPatches`
24 - - `Documentation/howto/new-command.adoc`
25 -
26 - [[getting-help]]
27 - === Getting Help
28 -
29 - If you get stuck, you can seek help in the following places.
30 -
31 - ==== git@vger.kernel.org
32 -
33 - This is the main Git project mailing list where code reviews, version
34 - announcements, design discussions, and more take place. Those interested in
35 - contributing are welcome to post questions here. The Git list requires
36 - plain-text-only emails and prefers inline and bottom-posting when replying to
37 - mail; you will be CC'd in all replies to you. Optionally, you can subscribe to
38 - the list by sending an email to <git+subscribe@vger.kernel.org>
39 - (see https://subspace.kernel.org/subscribing.html for details).
40 - The https://lore.kernel.org/git[archive] of this mailing list is
41 - available to view in a browser.
42 -
43 - ==== https://web.libera.chat/#git-devel[#git-devel] on Libera Chat
44 -
45 - This IRC channel is for conversations between Git contributors. If someone is
46 - currently online and knows the answer to your question, you can receive help
47 - in real time. Otherwise, you can read the
48 - https://colabti.org/irclogger/irclogger_logs/git-devel[scrollback] to see
49 - whether someone answered you. IRC does not allow offline private messaging, so
50 - if you try to private message someone and then log out of IRC, they cannot
51 - respond to you. It's better to ask your questions in the channel so that you
52 - can be answered if you disconnect and so that others can learn from the
53 - conversation.
54 -
55 - ==== https://discord.gg/GRFVkzgxRd[#discord] on Discord
56 - This is an unofficial Git Discord server for everyone, from people just
57 - starting out with Git to those who develop it. It's a great place to ask
58 - questions, share tips, and connect with the broader Git community in real time.
59 -
60 - The server has channels for general discussions and specific channels for those
61 - who use Git and those who develop it. The server's search functionality also
62 - allows you to find previous conversations and answers to common questions.
63 -
64 - [[getting-started]]
65 - == Getting Started
66 -
67 - [[cloning]]
68 - === Clone the Git Repository
69 -
70 - Git is mirrored in a number of locations. Clone the repository from one of them;
71 - https://git-scm.com/downloads suggests one of the best places to clone from is
72 - the mirror on GitHub.
73 -
74 - ----
75 - $ git clone https://github.com/git/git git
76 - $ cd git
77 - ----
78 -
79 - [[dependencies]]
80 - === Installing Dependencies
81 -
82 - To build Git from source, you need to have a handful of dependencies installed
83 - on your system. For a hint of what's needed, you can take a look at
84 - `INSTALL`, paying close attention to the section about Git's dependencies on
85 - external programs and libraries. That document mentions a way to "test-drive"
86 - our freshly built Git without installing; that's the method we'll be using in
87 - this tutorial.
88 -
89 - Make sure that your environment has everything you need by building your brand
90 - new clone of Git from the above step:
91 -
92 - ----
93 - $ make
94 - ----
95 -
96 - NOTE: The Git build is parallelizable. `-j#` is not included above but you can
97 - use it as you prefer, here and elsewhere.
98 -
99 - [[identify-problem]]
100 - === Identify Problem to Solve
101 -
102 - ////
103 - Use + to indicate fixed-width here; couldn't get ` to work nicely with the
104 - quotes around "Pony Saying 'Um, Hello'".
105 - ////
106 - In this tutorial, we will add a new command, +git psuh+, short for ``Pony Saying
107 - `Um, Hello''' - a feature which has gone unimplemented despite a high frequency
108 - of invocation during users' typical daily workflow.
109 -
110 - (We've seen some other effort in this space with the implementation of popular
111 - commands such as `sl`.)
112 -
113 - [[setup-workspace]]
114 - === Set Up Your Workspace
115 -
116 - Let's start by making a development branch to work on our changes. Per
117 - `Documentation/SubmittingPatches`, since a brand new command is a new feature,
118 - it's fine to base your work on `master`. However, in the future for bugfixes,
119 - etc., you should check that document and base it on the appropriate branch.
120 -
121 - For the purposes of this document, we will base all our work on the `master`
122 - branch of the upstream project. Create the `psuh` branch you will use for
123 - development like so:
124 -
125 - ----
126 - $ git checkout -b psuh origin/master
127 - ----
128 -
129 - We'll make a number of commits here in order to demonstrate how to send a topic
130 - with multiple patches up for review simultaneously.
131 -
132 - [[code-it-up]]
133 - == Code It Up!
134 -
135 - NOTE: A reference implementation can be found at
136 - https://github.com/nasamuffin/git/tree/psuh.
137 -
138 - [[add-new-command]]
139 - === Adding a New Command
140 -
141 - Lots of the subcommands are written as builtins, which means they are
142 - implemented in C and compiled into the main `git` executable. Implementing the
143 - very simple `psuh` command as a built-in will demonstrate the structure of the
144 - codebase, the internal API, and the process of working together as a contributor
145 - with the reviewers and maintainer to integrate this change into the system.
146 -
147 - Built-in subcommands are typically implemented in a function named "cmd_"
148 - followed by the name of the subcommand, in a source file named after the
149 - subcommand and contained within `builtin/`. So it makes sense to implement your
150 - command in `builtin/psuh.c`. Create that file, and within it, write the entry
151 - point for your command in a function matching the style and signature:
152 -
153 - ----
154 - int cmd_psuh(int argc UNUSED, const char **argv UNUSED,
155 - const char *prefix UNUSED, struct repository *repo UNUSED)
156 - ----
157 -
158 - A few things to note:
159 -
160 - * A subcommand implementation takes its command line arguments
161 - in `int argc` + `const char **argv`, like `main()` would.
162 -
163 - * It also takes two extra parameters, `prefix` and `repo`. What
164 - they mean will not be discussed until much later.
165 -
166 - * Because this first example will not use any of the parameters,
167 - your compiler will give warnings on unused parameters. As the
168 - list of these four parameters is mandated by the API to add
169 - new built-in commands, you cannot omit them. Instead, you add
170 - `UNUSED` to each of them to tell the compiler that you *know*
171 - you are not (yet) using it.
172 -
173 - We'll also need to add the declaration of psuh; open up `builtin.h`, find the
174 - declaration for `cmd_pull`, and add a new line for `psuh` immediately before it,
175 - in order to keep the declarations alphabetically sorted:
176 -
177 - ----
178 - int cmd_psuh(int argc, const char **argv, const char *prefix, struct repository *repo);
179 - ----
180 -
181 - Be sure to `#include "builtin.h"` in your `psuh.c`. You'll also need to
182 - `#include "gettext.h"` to use functions related to printing output text.
183 -
184 - Go ahead and add some throwaway printf to the `cmd_psuh` function. This is a
185 - decent starting point as we can now add build rules and register the command.
186 -
187 - NOTE: Your throwaway text, as well as much of the text you will be adding over
188 - the course of this tutorial, is user-facing. That means it needs to be
189 - localizable. Take a look at `po/README` under "Marking strings for translation".
190 - Throughout the tutorial, we will mark strings for translation as necessary; you
191 - should also do so when writing your user-facing commands in the future.
192 -
193 - ----
194 - int cmd_psuh(int argc UNUSED, const char **argv UNUSED,
195 - const char *prefix UNUSED, struct repository *repo UNUSED)
196 - {
197 - printf(_("Pony saying hello goes here.\n"));
198 - return 0;
199 - }
200 - ----
201 -
202 - Let's try to build it. Open `Makefile`, find where `builtin/pull.o` is added
203 - to `BUILTIN_OBJS`, and add `builtin/psuh.o` in the same way next to it in
204 - alphabetical order. Once you've done so, move to the top-level directory and
205 - build simply with `make`. Also add the `DEVELOPER=1` variable to turn on
206 - some additional warnings:
207 -
208 - ----
209 - $ echo DEVELOPER=1 >config.mak
210 - $ make
211 - ----
212 -
213 - NOTE: When you are developing the Git project, it's preferred that you use the
214 - `DEVELOPER` flag; if there's some reason it doesn't work for you, you can turn
215 - it off, but it's a good idea to mention the problem to the mailing list.
216 -
217 - Great, now your new command builds happily on its own. But nobody invokes it.
218 - Let's change that.
219 -
220 - The list of commands lives in `git.c`. We can register a new command by adding
221 - a `cmd_struct` to the `commands[]` array. `struct cmd_struct` takes a string
222 - with the command name, a function pointer to the command implementation, and a
223 - setup option flag. For now, let's keep mimicking `push`. Find the line where
224 - `cmd_push` is registered, copy it, and modify it for `cmd_psuh`, placing the new
225 - line in alphabetical order (immediately before `cmd_pull`).
226 -
227 - The options are documented in `builtin.h` under "Adding a new built-in." Since
228 - we hope to print some data about the user's current workspace context later,
229 - we need a Git directory, so choose `RUN_SETUP` as your only option.
230 -
231 - Go ahead and build again. You should see a clean build, so let's kick the tires
232 - and see if it works. There's a binary you can use to test with in the
233 - `bin-wrappers` directory.
234 -
235 - ----
236 - $ ./bin-wrappers/git psuh
237 - ----
238 -
239 - Check it out! You've got a command! Nice work! Let's commit this.
240 -
241 - `git status` reveals modified `Makefile`, `builtin.h`, and `git.c` as well as
242 - untracked `builtin/psuh.c` and `git-psuh`. First, let's take care of the binary,
243 - which should be ignored. Open `.gitignore` in your editor, find `/git-pull`, and
244 - add an entry for your new command in alphabetical order:
245 -
246 - ----
247 - ...
248 - /git-prune-packed
249 - /git-psuh
250 - /git-pull
251 - /git-push
252 - /git-quiltimport
253 - /git-range-diff
254 - ...
255 - ----
256 -
257 - Checking `git status` again should show that `git-psuh` has been removed from
258 - the untracked list and `.gitignore` has been added to the modified list. Now we
259 - can stage and commit:
260 -
261 - ----
262 - $ git add Makefile builtin.h builtin/psuh.c git.c .gitignore
263 - $ git commit -s
264 - ----
265 -
266 - You will be presented with your editor in order to write a commit message. Start
267 - the commit with a 50-column or less subject line, including the name of the
268 - component you're working on, followed by a blank line (always required) and then
269 - the body of your commit message, which should provide the bulk of the context.
270 - Remember to be explicit and provide the "Why" of your change, especially if it
271 - couldn't easily be understood from your diff. When editing your commit message,
272 - don't remove the `Signed-off-by` trailer which was added by `-s` above.
273 -
274 - ----
275 - psuh: add a built-in by popular demand
276 -
277 - Internal metrics indicate this is a command many users expect to be
278 - present. So here's an implementation to help drive customer
279 - satisfaction and engagement: a pony which doubtfully greets the user,
280 - or, a Pony Saying "Um, Hello" (PSUH).
281 -
282 - This commit message is intentionally formatted to 72 columns per line,
283 - starts with a single line as "commit message subject" that is written as
284 - if to command the codebase to do something (add this, teach a command
285 - that). The body of the message is designed to add information about the
286 - commit that is not readily deduced from reading the associated diff,
287 - such as answering the question "why?".
288 -
289 - Signed-off-by: A U Thor <author@example.com>
290 - ----
291 -
292 - Go ahead and inspect your new commit with `git show`. "psuh:" indicates you
293 - have modified mainly the `psuh` command. The subject line gives readers an idea
294 - of what you've changed. The sign-off line (`-s`) indicates that you agree to
295 - the Developer's Certificate of Origin 1.1 (see the
296 - `Documentation/SubmittingPatches` +++[[dco]]+++ header).
297 -
298 - For the remainder of the tutorial, the subject line only will be listed for the
299 - sake of brevity. However, fully-fleshed example commit messages are available
300 - on the reference implementation linked at the top of this document.
301 -
302 - [[implementation]]
303 - === Implementation
304 -
305 - It's probably useful to do at least something besides printing out a string.
306 - Let's start by having a look at everything we get.
307 -
308 - Modify your `cmd_psuh` implementation to dump the args you're passed,
309 - keeping existing `printf()` calls in place; because the args are now
310 - used, remove the `UNUSED` macro from them:
311 -
312 - ----
313 - int i;
314 -
315 - ...
316 -
317 - printf(Q_("Your args (there is %d):\n",
318 - "Your args (there are %d):\n",
319 - argc),
320 - argc);
321 - for (i = 0; i < argc; i++)
322 - printf("%d: %s\n", i, argv[i]);
323 -
324 - printf(_("Your current working directory:\n<top-level>%s%s\n"),
325 - prefix ? "/" : "", prefix ? prefix : "");
326 -
327 - ----
328 -
329 - Build and try it. As you may expect, there's pretty much just whatever we give
330 - on the command line, including the name of our command. (If `prefix` is empty
331 - for you, try `cd Documentation/ && ../bin-wrappers/git psuh`). That's not so
332 - helpful. So what other context can we get?
333 -
334 - Add a line to `#include "config.h"`, `#include "repository.h"` and
335 - `#include "environment.h"`.
336 - Then, add the following bits to the function body:
337 - function body:
338 -
339 - ----
340 - const char *cfg_name;
341 -
342 - ...
343 -
344 - repo_config(repo, git_default_config, NULL);
345 - if (repo_config_get_string_tmp(repo, "user.name", &cfg_name))
346 - printf(_("No name is found in config\n"));
347 - else
348 - printf(_("Your name: %s\n"), cfg_name);
349 - ----
350 -
351 - `repo_config()` will grab the configuration from config files known to Git and
352 - apply standard precedence rules. `repo_config_get_string_tmp()` will look up
353 - a specific key ("user.name") and give you the value. There are a number of
354 - single-key lookup functions like this one; you can see them all (and more info
355 - about how to use `repo_config()`) in `config.h`.
356 -
357 - You should see that the name printed matches the one you see when you run:
358 -
359 - ----
360 - $ git config --get user.name
361 - ----
362 -
363 - Great! Now we know how to check for values in the Git config. Let's commit this
364 - too, so we don't lose our progress.
365 -
366 - ----
367 - $ git add builtin/psuh.c
368 - $ git commit -sm "psuh: show parameters & config opts"
369 - ----
370 -
371 - NOTE: Again, the above is for sake of brevity in this tutorial. In a real change
372 - you should not use `-m` but instead use the editor to write a meaningful
373 - message.
374 -
375 - Still, it'd be nice to know what the user's working context is like. Let's see
376 - if we can print the name of the user's current branch. We can mimic the
377 - `git status` implementation; the printer is located in `wt-status.c` and we can
378 - see that the branch is held in a `struct wt_status`.
379 -
380 - `wt_status_print()` gets invoked by `cmd_status()` in `builtin/commit.c`.
381 - Looking at that implementation we see the status config being populated like so:
382 -
383 - ----
384 - status_init_config(&s, git_status_config);
385 - ----
386 -
387 - But as we drill down, we can find that `status_init_config()` wraps a call
388 - to `repo_config()`. Let's modify the code we wrote in the previous commit.
389 -
390 - Be sure to include the header to allow you to use `struct wt_status`:
391 -
392 - ----
393 - #include "wt-status.h"
394 - ----
395 -
396 - Then modify your `cmd_psuh` implementation to declare your `struct wt_status`,
397 - prepare it, and print its contents:
398 -
399 - ----
400 - struct wt_status status;
401 -
402 - ...
403 -
404 - wt_status_prepare(repo, &status);
405 - repo_config(repo, git_default_config, &status);
406 -
407 - ...
408 -
409 - printf(_("Your current branch: %s\n"), status.branch);
410 - ----
411 -
412 - Run it again. Check it out - here's the (verbose) name of your current branch!
413 -
414 - Let's commit this as well.
415 -
416 - ----
417 - $ git add builtin/psuh.c
418 - $ git commit -sm "psuh: print the current branch"
419 - ----
420 -
421 - Now let's see if we can get some info about a specific commit.
422 -
423 - Luckily, there are some helpers for us here. `commit.h` has a function called
424 - `lookup_commit_reference_by_name` to which we can simply provide a hardcoded
425 - string; `pretty.h` has an extremely handy `pp_commit_easy()` call which doesn't
426 - require a full format object to be passed.
427 -
428 - Add the following includes:
429 -
430 - ----
431 - #include "commit.h"
432 - #include "pretty.h"
433 - #include "strbuf.h"
434 - ----
435 -
436 - Then, add the following lines within your implementation of `cmd_psuh()` near
437 - the declarations and the logic, respectively.
438 -
439 - ----
440 - struct commit *c = NULL;
441 - struct strbuf commitline = STRBUF_INIT;
442 -
443 - ...
444 -
445 - c = lookup_commit_reference_by_name("origin/master");
446 -
447 - if (c != NULL) {
448 - pp_commit_easy(CMIT_FMT_ONELINE, c, &commitline);
449 - printf(_("Current commit: %s\n"), commitline.buf);
450 - }
451 - ----
452 -
453 - The `struct strbuf` provides some safety belts to your basic `char*`, one of
454 - which is a length member to prevent buffer overruns. It needs to be initialized
455 - nicely with `STRBUF_INIT`. Keep it in mind when you need to pass around `char*`.
456 -
457 - `lookup_commit_reference_by_name` resolves the name you pass it, so you can play
458 - with the value there and see what kind of things you can come up with.
459 -
460 - `pp_commit_easy` is a convenience wrapper in `pretty.h` that takes a single
461 - format enum shorthand, rather than an entire format struct. It then
462 - pretty-prints the commit according to that shorthand. These are similar to the
463 - formats available with `--pretty=FOO` in many Git commands.
464 -
465 - Build it and run, and if you're using the same name in the example, you should
466 - see the subject line of the most recent commit in `origin/master` that you know
467 - about. Neat! Let's commit that as well.
468 -
469 - ----
470 - $ git add builtin/psuh.c
471 - $ git commit -sm "psuh: display the top of origin/master"
472 - ----
473 -
474 - [[add-documentation]]
475 - === Adding Documentation
476 -
477 - Awesome! You've got a fantastic new command that you're ready to share with the
478 - community. But hang on just a minute - this isn't very user-friendly. Run the
479 - following:
480 -
481 - ----
482 - $ ./bin-wrappers/git help psuh
483 - ----
484 -
485 - Your new command is undocumented! Let's fix that.
486 -
487 - Take a look at `Documentation/git-*.adoc`. These are the manpages for the
488 - subcommands that Git knows about. You can open these up and take a look to get
489 - acquainted with the format, but then go ahead and make a new file
490 - `Documentation/git-psuh.adoc`. Like with most of the documentation in the Git
491 - project, help pages are written with AsciiDoc (see CodingGuidelines, "Writing
492 - Documentation" section). Use the following template to fill out your own
493 - manpage:
494 -
495 - // Surprisingly difficult to embed AsciiDoc source within AsciiDoc.
496 - [listing]
497 - ....
498 - git-psuh(1)
499 - ===========
500 -
501 - NAME
502 - ----
503 - git-psuh - Delight users' typo with a shy horse
504 -
505 -
506 - SYNOPSIS
507 - --------
508 - [synopsis]
509 - git psuh [<arg>...]
510 -
511 - DESCRIPTION
512 - -----------
513 - ...
514 -
515 - OPTIONS[[OPTIONS]]
516 - ------------------
517 - ...
518 -
519 - OUTPUT
520 - ------
521 - ...
522 -
523 - GIT
524 - ---
525 - Part of the linkgit:git[1] suite
526 - ....
527 -
528 - The most important pieces of this to note are the file header, underlined by =,
529 - the NAME section, and the SYNOPSIS, which would normally contain the grammar if
530 - your command took arguments. Try to use well-established manpage headers so your
531 - documentation is consistent with other Git and UNIX manpages; this makes life
532 - easier for your user, who can skip to the section they know contains the
533 - information they need.
534 -
535 - NOTE: Before trying to build the docs, make sure you have the package `asciidoc`
536 - installed.
537 -
538 - Now that you've written your manpage, you'll need to build it explicitly. We
539 - convert your AsciiDoc to troff which is man-readable like so:
540 -
541 - ----
542 - $ make all doc
543 - $ man Documentation/git-psuh.1
544 - ----
545 -
546 - or
547 -
548 - ----
549 - $ make -C Documentation/ git-psuh.1
550 - $ man Documentation/git-psuh.1
551 - ----
552 -
553 - While this isn't as satisfying as running through `git help`, you can at least
554 - check that your help page looks right.
555 -
556 - You can also check that the documentation coverage is good (that is, the project
557 - sees that your command has been implemented as well as documented) by running
558 - `make check-docs` from the top-level.
559 -
560 - Go ahead and commit your new documentation change.
561 -
562 - [[add-usage]]
563 - === Adding Usage Text
564 -
565 - Try and run `./bin-wrappers/git psuh -h`. Your command should crash at the end.
566 - That's because `-h` is a special case which your command should handle by
567 - printing usage.
568 -
569 - Take a look at `Documentation/technical/api-parse-options.adoc`. This is a handy
570 - tool for pulling out options you need to be able to handle, and it takes a
571 - usage string.
572 -
573 - In order to use it, we'll need to prepare a NULL-terminated array of usage
574 - strings and a `builtin_psuh_options` array.
575 -
576 - Add a line to `#include "parse-options.h"`.
577 -
578 - At global scope, add your array of usage strings:
579 -
580 - ----
581 - static const char * const psuh_usage[] = {
582 - N_("git psuh [<arg>...]"),
583 - NULL,
584 - };
585 - ----
586 -
587 - Then, within your `cmd_psuh()` implementation, we can declare and populate our
588 - `option` struct. Ours is pretty boring but you can add more to it if you want to
589 - explore `parse_options()` in more detail:
590 -
591 - ----
592 - struct option options[] = {
593 - OPT_END()
594 - };
595 - ----
596 -
597 - Finally, before you print your args and prefix, add the call to
598 - `parse-options()`:
599 -
600 - ----
601 - argc = parse_options(argc, argv, prefix, options, psuh_usage, 0);
602 - ----
603 -
604 - This call will modify your `argv` parameter. It will strip the options you
605 - specified in `options` from `argv` and the locations pointed to from `options`
606 - entries will be updated. Be sure to replace your `argc` with the result from
607 - `parse_options()`, or you will be confused if you try to parse `argv` later.
608 -
609 - It's worth noting the special argument `--`. As you may be aware, many Unix
610 - commands use `--` to indicate "end of named parameters" - all parameters after
611 - the `--` are interpreted merely as positional arguments. (This can be handy if
612 - you want to pass as a parameter something which would usually be interpreted as
613 - a flag.) `parse_options()` will terminate parsing when it reaches `--` and give
614 - you the rest of the options afterwards, untouched.
615 -
616 - Now that you have a usage hint, you can teach Git how to show it in the general
617 - command list shown by `git help git` or `git help -a`, which is generated from
618 - `command-list.txt`. Find the line for 'git-pull' so you can add your 'git-psuh'
619 - line above it in alphabetical order. Now, we can add some attributes about the
620 - command which impacts where it shows up in the aforementioned help commands. The
621 - top of `command-list.txt` shares some information about what each attribute
622 - means; in those help pages, the commands are sorted according to these
623 - attributes. `git psuh` is user-facing, or porcelain - so we will mark it as
624 - "mainporcelain". For "mainporcelain" commands, the comments at the top of
625 - `command-list.txt` indicate we can also optionally add an attribute from another
626 - list; since `git psuh` shows some information about the user's workspace but
627 - doesn't modify anything, let's mark it as "info". Make sure to keep your
628 - attributes in the same style as the rest of `command-list.txt` using spaces to
629 - align and delineate them:
630 -
631 - ----
632 - git-prune-packed plumbingmanipulators
633 - git-psuh mainporcelain info
634 - git-pull mainporcelain remote
635 - git-push mainporcelain remote
636 - ----
637 -
638 - Build again. Now, when you run with `-h`, you should see your usage printed and
639 - your command terminated before anything else interesting happens. Great!
640 -
641 - Go ahead and commit this one, too.
642 -
643 - [[testing]]
644 - == Testing
645 -
646 - It's important to test your code - even for a little toy command like this one.
647 - Moreover, your patch won't be accepted into the Git tree without tests. Your
648 - tests should:
649 -
650 - * Illustrate the current behavior of the feature
651 - * Prove the current behavior matches the expected behavior
652 - * Ensure the externally-visible behavior isn't broken in later changes
653 -
654 - So let's write some tests.
655 -
656 - Related reading: `t/README`
657 -
658 - [[overview-test-structure]]
659 - === Overview of Testing Structure
660 -
661 - The tests in Git live in `t/` and are named with a 4-digit decimal number using
662 - the schema shown in the Naming Tests section of `t/README`.
663 -
664 - [[write-new-test]]
665 - === Writing Your Test
666 -
667 - Since this a toy command, let's go ahead and name the test with t9999. However,
668 - as many of the family/subcmd combinations are full, best practice seems to be
669 - to find a command close enough to the one you've added and share its naming
670 - space.
671 -
672 - Create a new file `t/t9999-psuh-tutorial.sh`. Begin with the header as so (see
673 - "Writing Tests" and "Source 'test-lib.sh'" in `t/README`):
674 -
675 - ----
676 - #!/bin/sh
677 -
678 - test_description='git-psuh test
679 -
680 - This test runs git-psuh and makes sure it does not crash.'
681 -
682 - . ./test-lib.sh
683 - ----
684 -
685 - Tests are framed inside of a `test_expect_success` in order to output TAP
686 - formatted results. Let's make sure that `git psuh` doesn't exit poorly and does
687 - mention the right animal somewhere:
688 -
689 - ----
690 - test_expect_success 'runs correctly with no args and good output' '
691 - git psuh >actual &&
692 - grep Pony actual
693 - '
694 - ----
695 -
696 - Indicate that you've run everything you wanted by adding the following at the
697 - bottom of your script:
698 -
699 - ----
700 - test_done
701 - ----
702 -
703 - Make sure you mark your test script executable:
704 -
705 - ----
706 - $ chmod +x t/t9999-psuh-tutorial.sh
707 - ----
708 -
709 - You can get an idea of whether you created your new test script successfully
710 - by running `make -C t test-lint`, which will check for things like test number
711 - uniqueness, executable bit, and so on.
712 -
713 - [[local-test]]
714 - === Running Locally
715 -
716 - Let's try and run locally:
717 -
718 - ----
719 - $ make
720 - $ cd t/ && prove t9999-psuh-tutorial.sh
721 - ----
722 -
723 - You can run the full test suite and ensure `git-psuh` didn't break anything:
724 -
725 - ----
726 - $ cd t/
727 - $ prove -j$(nproc) --shuffle t[0-9]*.sh
728 - ----
729 -
730 - NOTE: You can also do this with `make test` or use any testing harness which can
731 - speak TAP. `prove` can run concurrently. `-j$(nproc)` runs tests using all
732 - available CPUs in parallel, but the job count can be adjusted as needed.
733 - `shuffle` randomizes the order the tests are run in, which makes them resilient
734 - against unwanted inter-test dependencies. `prove` also makes the output nicer.
735 -
736 - Go ahead and commit this change, as well.
737 -
738 - [[ready-to-share]]
739 - == Getting Ready to Share: Anatomy of a Patch Series
740 -
741 - You may have noticed already that the Git project performs its code reviews via
742 - emailed patches, which are then applied by the maintainer when they are ready
743 - and approved by the community. The Git project does not accept contributions from
744 - pull requests, and the patches emailed for review need to be formatted a
745 - specific way.
746 -
747 - :patch-series: https://lore.kernel.org/git/pull.1218.git.git.1645209647.gitgitgadget@gmail.com/
748 - :lore: https://lore.kernel.org/git/
749 -
750 - Before taking a look at how to convert your commits into emailed patches,
751 - let's analyze what the end result, a "patch series", looks like. Here is an
752 - {patch-series}[example] of the summary view for a patch series on the web interface of
753 - the {lore}[Git mailing list archive]:
754 -
755 - ----
756 - 2022-02-18 18:40 [PATCH 0/3] libify reflog John Cai via GitGitGadget
757 - 2022-02-18 18:40 ` [PATCH 1/3] reflog: libify delete reflog function and helpers John Cai via GitGitGadget
758 - 2022-02-18 19:10 ` Ævar Arnfjörð Bjarmason [this message]
759 - 2022-02-18 19:39 ` Taylor Blau
760 - 2022-02-18 19:48 ` Ævar Arnfjörð Bjarmason
761 - 2022-02-18 19:35 ` Taylor Blau
762 - 2022-02-21 1:43 ` John Cai
763 - 2022-02-21 1:50 ` Taylor Blau
764 - 2022-02-23 19:50 ` John Cai
765 - 2022-02-18 20:00 ` // other replies elided
766 - 2022-02-18 18:40 ` [PATCH 2/3] reflog: call reflog_delete from reflog.c John Cai via GitGitGadget
767 - 2022-02-18 19:15 ` Ævar Arnfjörð Bjarmason
768 - 2022-02-18 20:26 ` Junio C Hamano
769 - 2022-02-18 18:40 ` [PATCH 3/3] stash: call reflog_delete from reflog.c John Cai via GitGitGadget
770 - 2022-02-18 19:20 ` Ævar Arnfjörð Bjarmason
771 - 2022-02-19 0:21 ` Taylor Blau
772 - 2022-02-22 2:36 ` John Cai
773 - 2022-02-22 10:51 ` Ævar Arnfjörð Bjarmason
774 - 2022-02-18 19:29 ` [PATCH 0/3] libify reflog Ævar Arnfjörð Bjarmason
775 - 2022-02-22 18:30 ` [PATCH v2 0/3] libify reflog John Cai via GitGitGadget
776 - 2022-02-22 18:30 ` [PATCH v2 1/3] stash: add test to ensure reflog --rewrite --updatref behavior John Cai via GitGitGadget
777 - 2022-02-23 8:54 ` Ævar Arnfjörð Bjarmason
778 - 2022-02-23 21:27 ` Junio C Hamano
779 - // continued
780 - ----
781 -
782 - We can note a few things:
783 -
784 - - Each commit is sent as a separate email, with the commit message title as
785 - subject, prefixed with "[PATCH _i_/_n_]" for the _i_-th commit of an
786 - _n_-commit series.
787 - - Each patch is sent as a reply to an introductory email called the _cover
788 - letter_ of the series, prefixed "[PATCH 0/_n_]".
789 - - Subsequent iterations of the patch series are labelled "PATCH v2", "PATCH
790 - v3", etc. in place of "PATCH". For example, "[PATCH v2 1/3]" would be the first of
791 - three patches in the second iteration. Each iteration is sent with a new cover
792 - letter (like "[PATCH v2 0/3]" above), itself a reply to the cover letter of the
793 - previous iteration (more on that below).
794 -
795 - NOTE: A single-patch topic is sent with "[PATCH]", "[PATCH v2]", etc. without
796 - _i_/_n_ numbering (in the above thread overview, no single-patch topic appears,
797 - though).
798 -
799 - [[cover-letter]]
800 - === The cover letter
801 -
802 - In addition to an email per patch, the Git community also expects your patches
803 - to come with a cover letter. This is an important component of change
804 - submission as it explains to the community from a high level what you're trying
805 - to do, and why, in a way that's more apparent than just looking at your
806 - patches.
807 -
808 - The title of your cover letter should be something which succinctly covers the
809 - purpose of your entire topic branch. It's often in the imperative mood, just
810 - like our commit message titles. Here is how we'll title our series:
811 -
812 - ---
813 - Add the 'psuh' command
814 - ---
815 -
816 - The body of the cover letter is used to give additional context to reviewers.
817 - Be sure to explain anything your patches don't make clear on their own, but
818 - remember that since the cover letter is not recorded in the commit history,
819 - anything that might be useful to future readers of the repository's history
820 - should also be in your commit messages.
821 -
822 - Here's an example body for `psuh`:
823 -
824 - ----
825 - Our internal metrics indicate widespread interest in the command
826 - git-psuh - that is, many users are trying to use it, but finding it is
827 - unavailable, using some unknown workaround instead.
828 -
829 - The following handful of patches add the psuh command and implement some
830 - handy features on top of it.
831 -
832 - This patchset is part of the MyFirstContribution tutorial and should not
833 - be merged.
834 - ----
835 -
836 - At this point the tutorial diverges, in order to demonstrate two
837 - different methods of formatting your patchset and getting it reviewed.
838 -
839 - The first method to be covered is GitGitGadget, which is useful for those
840 - already familiar with GitHub's common pull request workflow. This method
841 - requires a GitHub account.
842 -
843 - The second method to be covered is `git send-email`, which can give slightly
844 - more fine-grained control over the emails to be sent. This method requires some
845 - setup which can change depending on your system and will not be covered in this
846 - tutorial.
847 -
848 - Regardless of which method you choose, your engagement with reviewers will be
849 - the same; the review process will be covered after the sections on GitGitGadget
850 - and `git send-email`.
851 -
852 - [[howto-ggg]]
853 - == Sending Patches via GitGitGadget
854 -
855 - One option for sending patches is to follow a typical pull request workflow and
856 - send your patches out via GitGitGadget. GitGitGadget is a tool created by
857 - Johannes Schindelin to make life as a Git contributor easier for those used to
858 - the GitHub PR workflow. It allows contributors to open pull requests against its
859 - mirror of the Git project, and does some magic to turn the PR into a set of
860 - emails and send them out for you. It also runs the Git continuous integration
861 - suite for you. It's documented at https://gitgitgadget.github.io/.
862 -
863 - [[create-fork]]
864 - === Forking `git/git` on GitHub
865 -
866 - Before you can send your patch off to be reviewed using GitGitGadget, you will
867 - need to fork the Git project and upload your changes. First thing - make sure
868 - you have a GitHub account.
869 -
870 - Head to the https://github.com/git/git[GitHub mirror] and look for the Fork
871 - button. Place your fork wherever you deem appropriate and create it.
872 -
873 - [[upload-to-fork]]
874 - === Uploading to Your Own Fork
875 -
876 - To upload your branch to your own fork, you'll need to add the new fork as a
877 - remote. You can use `git remote -v` to show the remotes you have added already.
878 - From your new fork's page on GitHub, you can press "Clone or download" to get
879 - the URL; then you need to run the following to add, replacing your own URL and
880 - remote name for the examples provided:
881 -
882 - ----
883 - $ git remote add remotename git@github.com:remotename/git.git
884 - ----
885 -
886 - or to use the HTTPS URL:
887 -
888 - ----
889 - $ git remote add remotename https://github.com/remotename/git/.git
890 - ----
891 -
892 - Run `git remote -v` again and you should see the new remote showing up.
893 - `git fetch remotename` (with the real name of your remote replaced) in order to
894 - get ready to push.
895 -
896 - Next, double-check that you've been doing all your development in a new branch
897 - by running `git branch`. If you didn't, now is a good time to move your new
898 - commits to their own branch.
899 -
900 - As mentioned briefly at the beginning of this document, we are basing our work
901 - on `master`, so go ahead and update as shown below, or using your preferred
902 - workflow.
903 -
904 - ----
905 - $ git checkout master
906 - $ git pull -r
907 - $ git rebase master psuh
908 - ----
909 -
910 - Finally, you're ready to push your new topic branch! (Due to our branch and
911 - command name choices, be careful when you type the command below.)
912 -
913 - ----
914 - $ git push remotename psuh
915 - ----
916 -
917 - Now you should be able to go and check out your newly created branch on GitHub.
918 -
919 - [[send-pr-ggg]]
920 - === Sending a PR to GitGitGadget
921 -
922 - In order to have your code tested and formatted for review, you need to start by
923 - opening a Pull Request against either `gitgitgadget/git` or `git/git`. Head to
924 - https://github.com/gitgitgadget/git or https://github.com/git/git and open a PR
925 - either with the "New pull request" button or the convenient "Compare & pull
926 - request" button that may appear with the name of your newly pushed branch.
927 -
928 - The differences between using `gitgitgadget/git` and `git/git` as your base can
929 - be found [here](https://gitgitgadget.github.io/#should-i-use-gitgitgadget-on-gitgitgadgets-git-fork-or-on-gits-github-mirror)
930 -
931 - Review the PR's title and description, as they're used by GitGitGadget
932 - respectively as the subject and body of the cover letter for your change. Refer
933 - to <<cover-letter,"The cover letter">> above for advice on how to title your
934 - submission and what content to include in the description.
935 -
936 - NOTE: For single-patch contributions, your commit message should already be
937 - meaningful and explain at a high level the purpose (what is happening and why)
938 - of your patch, so you usually do not need any additional context. In that case,
939 - remove the PR description that GitHub automatically generates from your commit
940 - message (your PR description should be empty). If you do need to supply even
941 - more context, you can do so in that space and it will be appended to the email
942 - that GitGitGadget will send, between the three-dash line and the diffstat
943 - (see <<single-patch,Bonus Chapter: One-Patch Changes>> for how this looks once
944 - submitted).
945 -
946 - When you're happy, submit your pull request.
947 -
948 - [[run-ci-ggg]]
949 - === Running CI and Getting Ready to Send
950 -
951 - If it's your first time using GitGitGadget (which is likely, as you're using
952 - this tutorial) then someone will need to give you permission to use the tool.
953 - As mentioned in the GitGitGadget documentation, you just need someone who
954 - already uses it to comment on your PR with `/allow <username>`. GitGitGadget
955 - will automatically run your PRs through the CI even without the permission given
956 - but you will not be able to `/submit` your changes until someone allows you to
957 - use the tool.
958 -
959 - NOTE: You can typically find someone who can `/allow` you on GitGitGadget by
960 - either examining recent pull requests where someone has been granted `/allow`
961 - (https://github.com/gitgitgadget/git/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+%22%2Fallow%22[Search:
962 - is:pr is:open "/allow"]), in which case both the author and the person who
963 - granted the `/allow` can now `/allow` you, or by inquiring on the
964 - https://web.libera.chat/#git-devel[#git-devel] IRC channel on Libera Chat
965 - linking your pull request and asking for someone to `/allow` you.
966 -
967 - If the CI fails, you can update your changes with `git rebase -i` and push your
968 - branch again:
969 -
970 - ----
971 - $ git push -f remotename psuh
972 - ----
973 -
974 - In fact, you should continue to make changes this way up until the point when
975 - your patch is accepted into `next`.
976 -
977 - ////
978 - TODO https://github.com/gitgitgadget/gitgitgadget/issues/83
979 - It'd be nice to be able to verify that the patch looks good before sending it
980 - to everyone on Git mailing list.
981 - [[check-work-ggg]]
982 - === Check Your Work
983 - ////
984 -
985 - [[send-mail-ggg]]
986 - === Sending Your Patches
987 -
988 - Now that your CI is passing and someone has granted you permission to use
989 - GitGitGadget with the `/allow` command, sending out for review is as simple as
990 - commenting on your PR with `/submit`.
991 -
992 - [[responding-ggg]]
993 - === Updating With Comments
994 -
995 - Skip ahead to <<reviewing,Responding to Reviews>> for information on how to
996 - reply to review comments you will receive on the mailing list.
997 -
998 - Once you have your branch again in the shape you want following all review
999 - comments, you can submit again:
1000 -
1001 - ----
1002 - $ git push -f remotename psuh
1003 - ----
1004 -
1005 - Next, go look at your pull request against GitGitGadget; you should see the CI
1006 - has been kicked off again. Now while the CI is running is a good time for you
1007 - to modify your description at the top of the pull request thread; it will be
1008 - used again as the cover letter. You should use this space to describe what
1009 - has changed since your previous version, so that your reviewers have some idea
1010 - of what they're looking at. When the CI is done running, you can comment once
1011 - more with `/submit` - GitGitGadget will automatically add a v2 mark to your
1012 - changes.
1013 -
1014 - [[howto-git-send-email]]
1015 - == Sending Patches with `git send-email`
1016 -
1017 - If you don't want to use GitGitGadget, you can also use Git itself to mail your
1018 - patches. Some benefits of using Git this way include finer grained control of
1019 - subject line (for example, being able to use the tag [RFC PATCH] in the subject)
1020 - and being able to send a ``dry run'' mail to yourself to ensure it all looks
1021 - good before going out to the list.
1022 -
1023 - [[setup-git-send-email]]
1024 - === Prerequisite: Setting Up `git send-email`
1025 -
1026 - Configuration for `send-email` can vary based on your operating system and email
1027 - provider, and so will not be covered in this tutorial, beyond stating that in
1028 - many distributions of Linux, `git-send-email` is not packaged alongside the
1029 - typical `git` install. You may need to install this additional package; there
1030 - are a number of resources online to help you do so. You will also need to
1031 - determine the right way to configure it to use your SMTP server; again, as this
1032 - configuration can change significantly based on your system and email setup, it
1033 - is out of scope for the context of this tutorial.
1034 -
1035 - [[format-patch]]
1036 - === Preparing Initial Patchset
1037 -
1038 - Sending emails with Git is a two-part process; before you can prepare the emails
1039 - themselves, you'll need to prepare the patches. Luckily, this is pretty simple:
1040 -
1041 - ----
1042 - $ git format-patch --cover-letter -o psuh/ --base=auto psuh@{u}..psuh
1043 - ----
1044 -
1045 - . The `--cover-letter` option tells `format-patch` to create a
1046 - cover letter template for you. You will need to fill in the
1047 - template before you're ready to send - but for now, the template
1048 - will be next to your other patches.
1049 -
1050 - . The `-o psuh/` option tells `format-patch` to place the patch
1051 - files into a directory. This is useful because `git send-email`
1052 - can take a directory and send out all the patches from there.
1053 -
1054 - . The `--base=auto` option tells the command to record the "base
1055 - commit", on which the recipient is expected to apply the patch
1056 - series. The `auto` value will cause `format-patch` to compute
1057 - the base commit automatically, which is the merge base of tip
1058 - commit of the remote-tracking branch and the specified revision
1059 - range.
1060 -
1061 - . The `psuh@{u}..psuh` option tells `format-patch` to generate
1062 - patches for the commits you created on the `psuh` branch since it
1063 - forked from its upstream (which is `origin/master` if you
1064 - followed the example in the "Set up your workspace" section). If
1065 - you are already on the `psuh` branch, you can just say `@{u}`,
1066 - which means "commits on the current branch since it forked from
1067 - its upstream", which is the same thing.
1068 -
1069 - The command will make one patch file per commit. After you
1070 - run, you can go have a look at each of the patches with your favorite text
1071 - editor and make sure everything looks alright; however, it's not recommended to
1072 - make code fixups via the patch file. It's a better idea to make the change the
1073 - normal way using `git rebase -i` or by adding a new commit than by modifying a
1074 - patch.
1075 -
1076 - NOTE: Optionally, you can also use the `--rfc` flag to prefix your patch subject
1077 - with ``[RFC PATCH]'' instead of ``[PATCH]''. RFC stands for ``request for
1078 - comments'' and indicates that while your code isn't quite ready for submission,
1079 - you'd like to begin the code review process. This can also be used when your
1080 - patch is a proposal, but you aren't sure whether the community wants to solve
1081 - the problem with that approach or not - to conduct a sort of design review. You
1082 - may also see on the list patches marked ``WIP'' - this means they are incomplete
1083 - but want reviewers to look at what they have so far. You can add this flag with
1084 - `--subject-prefix=WIP`.
1085 -
1086 - Check and make sure that your patches and cover letter template exist in the
1087 - directory you specified - you're nearly ready to send out your review!
1088 -
1089 - [[preparing-cover-letter]]
1090 - === Preparing Email
1091 -
1092 - Since you invoked `format-patch` with `--cover-letter`, you've already got a
1093 - cover letter template ready. Open it up in your favorite editor.
1094 -
1095 - You should see a number of headers present already. Check that your `From:`
1096 - header is correct. Then modify your `Subject:` (see <<cover-letter,above>> for
1097 - how to choose good title for your patch series):
1098 -
1099 - ----
1100 - Subject: [PATCH 0/7] Add the 'psuh' command
1101 - ----
1102 -
1103 - Make sure you retain the ``[PATCH 0/X]'' part; that's what indicates to the Git
1104 - community that this email is the beginning of a patch series, and many
1105 - reviewers filter their email for this type of flag.
1106 -
1107 - You'll need to add some extra parameters when you invoke `git send-email` to add
1108 - the cover letter.
1109 -
1110 - Next you'll have to fill out the body of your cover letter. Again, see
1111 - <<cover-letter,above>> for what content to include.
1112 -
1113 - The template created by `git format-patch --cover-letter` includes a diffstat.
1114 - This gives reviewers a summary of what they're in for when reviewing your topic.
1115 - The one generated for `psuh` from the sample implementation looks like this:
1116 -
1117 - ----
1118 - Documentation/git-psuh.adoc | 40 +++++++++++++++++++++
1119 - Makefile | 1 +
1120 - builtin.h | 1 +
1121 - builtin/psuh.c | 73 ++++++++++++++++++++++++++++++++++++++
1122 - git.c | 1 +
1123 - t/t9999-psuh-tutorial.sh | 12 +++++++
1124 - 6 files changed, 128 insertions(+)
1125 - create mode 100644 Documentation/git-psuh.adoc
1126 - create mode 100644 builtin/psuh.c
1127 - create mode 100755 t/t9999-psuh-tutorial.sh
1128 - ----
1129 -
1130 - Finally, the letter will include the version of Git used to generate the
1131 - patches. You can leave that string alone.
1132 -
1133 - [[sending-git-send-email]]
1134 - === Sending Email
1135 -
1136 - At this point you should have a directory `psuh/` which is filled with your
1137 - patches and a cover letter. Time to mail it out! You can send it like this:
1138 -
1139 - ----
1140 - $ git send-email --to=target@example.com psuh/*.patch
1141 - ----
1142 -
1143 - NOTE: Check `git help send-email` for some other options which you may find
1144 - valuable, such as changing the Reply-to address or adding more CC and BCC lines.
1145 -
1146 - :contrib-scripts: footnoteref:[contrib-scripts,Scripts under `contrib/` are +
1147 - not part of the core `git` binary and must be called directly. Clone the Git +
1148 - codebase and run `perl contrib/contacts/git-contacts`.]
1149 -
1150 - NOTE: If you're not sure whom to CC, running `contrib/contacts/git-contacts` can
1151 - list potential reviewers. In addition, you can do `git send-email
1152 - --cc-cmd='perl contrib/contacts/git-contacts' feature/*.patch`{contrib-scripts} to
1153 - automatically pass this list of emails to `send-email`.
1154 -
1155 - NOTE: When you are sending a real patch, it will go to git@vger.kernel.org - but
1156 - please don't send your patchset from the tutorial to the real mailing list! For
1157 - now, you can send it to yourself, to make sure you understand how it will look.
1158 -
1159 - NOTE: After sending your patches, you can confirm that they reached the mailing
1160 - list by visiting https://lore.kernel.org/git/. Use the search bar to find your
1161 - name or the subject of your patch. If it appears, your email was successfully
1162 - delivered.
1163 -
1164 - After you run the command above, you will be presented with an interactive
1165 - prompt for each patch that's about to go out. This gives you one last chance to
1166 - edit or quit sending something (but again, don't edit code this way). Once you
1167 - press `y` or `a` at these prompts your emails will be sent! Congratulations!
1168 -
1169 - Awesome, now the community will drop everything and review your changes. (Just
1170 - kidding - be patient!)
1171 -
1172 - [[v2-git-send-email]]
1173 - === Sending v2
1174 -
1175 - This section will focus on how to send a v2 of your patchset. To learn what
1176 - should go into v2, skip ahead to <<reviewing,Responding to Reviews>> for
1177 - information on how to handle comments from reviewers.
1178 -
1179 - We'll reuse our `psuh` topic branch for v2. Before we make any changes, we'll
1180 - mark the tip of our v1 branch for easy reference:
1181 -
1182 - ----
1183 - $ git checkout psuh
1184 - $ git branch psuh-v1
1185 - ----
1186 -
1187 - Refine your patch series by using `git rebase -i` to adjust commits based upon
1188 - reviewer comments. Once the patch series is ready for submission, generate your
1189 - patches again, but with some new flags:
1190 -
1191 - ----
1192 - $ git format-patch -v2 --cover-letter -o psuh/ --range-diff master..psuh-v1 master..
1193 - ----
1194 -
1195 - The `--range-diff master..psuh-v1` parameter tells `format-patch` to include a
1196 - range-diff between `psuh-v1` and `psuh` in the cover letter (see
1197 - linkgit:git-range-diff[1]). This helps tell reviewers about the differences
1198 - between your v1 and v2 patches.
1199 -
1200 - The `-v2` parameter tells `format-patch` to output your patches
1201 - as version "2". For instance, you may notice that your v2 patches are
1202 - all named like `v2-000n-my-commit-subject.patch`. `-v2` will also format
1203 - your patches by prefixing them with "[PATCH v2]" instead of "[PATCH]",
1204 - and your range-diff will be prefaced with "Range-diff against v1".
1205 -
1206 - After you run this command, `format-patch` will output the patches to the `psuh/`
1207 - directory, alongside the v1 patches. Using a single directory makes it easy to
1208 - refer to the old v1 patches while proofreading the v2 patches, but you will need
1209 - to be careful to send out only the v2 patches. We will use a pattern like
1210 - `psuh/v2-*.patch` (not `psuh/*.patch`, which would match v1 and v2 patches).
1211 -
1212 - Edit your cover letter again. Now is a good time to mention what's different
1213 - between your last version and now, if it's something significant. You do not
1214 - need the exact same body in your second cover letter; focus on explaining to
1215 - reviewers the changes you've made that may not be as visible.
1216 -
1217 - You will also need to go and find the Message-ID of your previous cover letter.
1218 - You can either note it when you send the first series, from the output of `git
1219 - send-email`, or you can look it up on the
1220 - https://lore.kernel.org/git[mailing list]. Find your cover letter in the
1221 - archives, click on it, then click "permalink" or "raw" to reveal the Message-ID
1222 - header. It should match:
1223 -
1224 - ----
1225 - Message-ID: <foo.12345.author@example.com>
1226 - ----
1227 -
1228 - Your Message-ID is `<foo.12345.author@example.com>`. This example will be used
1229 - below as well; make sure to replace it with the correct Message-ID for your
1230 - **previous cover letter** - that is, if you're sending v2, use the Message-ID
1231 - from v1; if you're sending v3, use the Message-ID from v2.
1232 -
1233 - While you're looking at the email, you should also note who is CC'd, as it's
1234 - common practice in the mailing list to keep all CCs on a thread. You can add
1235 - these CC lines directly to your cover letter with a line like so in the header
1236 - (before the Subject line):
1237 -
1238 - ----
1239 - CC: author@example.com, Othe R <other@example.com>
1240 - ----
1241 -
1242 - Now send the emails again, paying close attention to which messages you pass in
1243 - to the command:
1244 -
1245 - ----
1246 - $ git send-email --to=target@example.com
1247 - --in-reply-to="<foo.12345.author@example.com>"
1248 - psuh/v2-*.patch
1249 - ----
1250 -
1251 - [[single-patch]]
1252 - === Bonus Chapter: One-Patch Changes
1253 -
1254 - In some cases, your very small change may consist of only one patch. When that
1255 - happens, you only need to send one email. Your commit message should already be
1256 - meaningful and explain at a high level the purpose (what is happening and why)
1257 - of your patch, but if you need to supply even more context, you can do so below
1258 - the `---` in your patch. Take the example below, which was generated with `git
1259 - format-patch` on a single commit, and then edited to add the content between
1260 - the `---` and the diffstat.
1261 -
1262 - ----
1263 - From 1345bbb3f7ac74abde040c12e737204689a72723 Mon Sep 17 00:00:00 2001
1264 - From: A U Thor <author@example.com>
1265 - Date: Thu, 18 Apr 2019 15:11:02 -0700
1266 - Subject: [PATCH] README: change the grammar
1267 -
1268 - I think it looks better this way. This part of the commit message will
1269 - end up in the commit-log.
1270 -
1271 - Signed-off-by: A U Thor <author@example.com>
1272 - ---
1273 - Let's have a wild discussion about grammar on the mailing list. This
1274 - part of my email will never end up in the commit log. Here is where I
1275 - can add additional context to the mailing list about my intent, outside
1276 - of the context of the commit log. This section was added after `git
1277 - format-patch` was run, by editing the patch file in a text editor.
1278 -
1279 - README.md | 2 +-
1280 - 1 file changed, 1 insertion(+), 1 deletion(-)
1281 -
1282 - diff --git a/README.md b/README.md
1283 - index 88f126184c..38da593a60 100644
1284 - --- a/README.md
1285 - +++ b/README.md
1286 - @@ -3,7 +3,7 @@
1287 - Git - fast, scalable, distributed revision control system
1288 - =========================================================
1289 -
1290 - -Git is a fast, scalable, distributed revision control system with an
1291 - +Git is a fast, scalable, and distributed revision control system with an
1292 - unusually rich command set that provides both high-level operations
1293 - and full access to internals.
1294 -
1295 - --
1296 - 2.21.0.392.gf8f6787159e-goog
1297 - ----
1298 -
1299 - [[now-what]]
1300 - == My Patch Got Emailed - Now What?
1301 -
1302 - Please give reviewers enough time to process your initial patch before
1303 - sending an updated version. That is, resist the temptation to send a new
1304 - version immediately, because others may have already started reviewing
1305 - your initial version.
1306 -
1307 - While waiting for review comments, you may find mistakes in your initial
1308 - patch, or perhaps realize a different and better way to achieve the goal
1309 - of the patch. In this case you may communicate your findings to other
1310 - reviewers as follows:
1311 -
1312 - - If the mistakes you found are minor, send a reply to your patch as if
1313 - you were a reviewer and mention that you will fix them in an
1314 - updated version.
1315 -
1316 - - On the other hand, if you think you want to change the course so
1317 - drastically that reviews on the initial patch would be a waste of
1318 - time (for everyone involved), retract the patch immediately with
1319 - a reply like "I am working on a much better approach, so please
1320 - ignore this patch and wait for the updated version."
1321 -
1322 - Now, the above is a good practice if you sent your initial patch
1323 - prematurely without polish. But a better approach of course is to avoid
1324 - sending your patch prematurely in the first place.
1325 -
1326 - Please be considerate of the time needed by reviewers to examine each
1327 - new version of your patch. Rather than seeing the initial version right
1328 - now (followed by several "oops, I like this version better than the
1329 - previous one" patches over 2 days), reviewers would strongly prefer if a
1330 - single polished version came 2 days later instead, and that version with
1331 - fewer mistakes were the only one they would need to review.
1332 -
1333 -
1334 - [[reviewing]]
1335 - === Responding to Reviews
1336 -
1337 - After a few days, you will hopefully receive a reply to your patchset with some
1338 - comments. Woohoo! Now you can get back to work.
1339 -
1340 - It's good manners to reply to each comment, notifying the reviewer that you have
1341 - made the change suggested, feel the original is better, or that the comment
1342 - inspired you to do something a new way which is superior to both the original
1343 - and the suggested change. This way reviewers don't need to inspect your v2 to
1344 - figure out whether you implemented their comment or not.
1345 -
1346 - Reviewers may ask you about what you wrote in the patchset, either in
1347 - the proposed commit log message or in the changes themselves. You
1348 - should answer these questions in your response messages, but often the
1349 - reason why reviewers asked these questions to understand what you meant
1350 - to write is because your patchset needed clarification to be understood.
1351 -
1352 - Do not be satisfied by just answering their questions in your response
1353 - and hear them say that they now understand what you wanted to say.
1354 - Update your patches to clarify the points reviewers had trouble with,
1355 - and prepare your v2; the words you used to explain your v1 to answer
1356 - reviewers' questions may be useful thing to use. Your goal is to make
1357 - your v2 clear enough so that it becomes unnecessary for you to give the
1358 - same explanation to the next person who reads it.
1359 -
1360 - If you are going to push back on a comment, be polite and explain why you feel
1361 - your original is better; be prepared that the reviewer may still disagree with
1362 - you, and the rest of the community may weigh in on one side or the other. As
1363 - with all code reviews, it's important to keep an open mind to doing something a
1364 - different way than you originally planned; other reviewers have a different
1365 - perspective on the project than you do, and may be thinking of a valid side
1366 - effect which had not occurred to you. It is always okay to ask for clarification
1367 - if you aren't sure why a change was suggested, or what the reviewer is asking
1368 - you to do.
1369 -
1370 - Make sure your email client has a plaintext email mode and it is turned on; the
1371 - Git list rejects HTML email. Please also follow the mailing list etiquette
1372 - outlined in the
1373 - https://kernel.googlesource.com/pub/scm/git/git/+/todo/MaintNotes[Maintainer's
1374 - Note], which are similar to etiquette rules in most open source communities
1375 - surrounding bottom-posting and inline replies.
1376 -
1377 - When you're making changes to your code, it is cleanest - that is, the resulting
1378 - commits are easiest to look at - if you use `git rebase -i` (interactive
1379 - rebase). Take a look at this
1380 - https://www.oreilly.com/library/view/git-pocket-guide/9781449327507/ch10.html[overview]
1381 - from O'Reilly. The general idea is to modify each commit which requires changes;
1382 - this way, instead of having a patch A with a mistake, a patch B which was fine
1383 - and required no upstream reviews in v1, and a patch C which fixes patch A for
1384 - v2, you can just ship a v2 with a correct patch A and correct patch B. This is
1385 - changing history, but since it's local history which you haven't shared with
1386 - anyone, that is okay for now! (Later, it may not make sense to do this; take a
1387 - look at the section below this one for some context.)
1388 -
1389 - [[after-approval]]
1390 - === After Review Approval
1391 -
1392 - The Git project has four integration branches: `seen`, `next`, `master`, and
1393 - `maint`. Your change will be placed into `seen` fairly early on by the maintainer
1394 - while it is still in the review process; from there, when it is ready for wider
1395 - testing, it will be merged into `next`. Plenty of early testers use `next` and
1396 - may report issues. Eventually, changes in `next` will make it to `master`,
1397 - which is typically considered stable. Finally, when a new release is cut,
1398 - `maint` is used to base bugfixes onto. As mentioned at the beginning of this
1399 - document, you can read `Documents/SubmittingPatches` for some more info about
1400 - the use of the various integration branches.
1401 -
1402 - Back to now: your code has been lauded by the upstream reviewers. It is perfect.
1403 - It is ready to be accepted. You don't need to do anything else; the maintainer
1404 - will merge your topic branch to `next` and life is good.
1405 -
1406 - However, if you discover it isn't so perfect after this point, you may need to
1407 - take some special steps depending on where you are in the process.
1408 -
1409 - If the maintainer has announced in the "What's cooking in git.git" email that
1410 - your topic is marked for `next` - that is, that they plan to merge it to `next`
1411 - but have not yet done so - you should send an email asking the maintainer to
1412 - wait a little longer: "I've sent v4 of my series and you marked it for `next`,
1413 - but I need to change this and that - please wait for v5 before you merge it."
1414 -
1415 - If the topic has already been merged to `next`, rather than modifying your
1416 - patches with `git rebase -i`, you should make further changes incrementally -
1417 - that is, with another commit, based on top of the maintainer's topic branch as
1418 - detailed in https://github.com/gitster/git. Your work is still in the same topic
1419 - but is now incremental, rather than a wholesale rewrite of the topic branch.
1420 -
1421 - The topic branches in the maintainer's GitHub are mirrored in GitGitGadget, so
1422 - if you're sending your reviews out that way, you should be sure to open your PR
1423 - against the appropriate GitGitGadget/Git branch.
1424 -
1425 - If you're using `git send-email`, you can use it the same way as before, but you
1426 - should generate your diffs from `<topic>..<mybranch>` and base your work on
1427 - `<topic>` instead of `master`.
deleted Documentation/MyFirstObjectWalk.adoc mode 100644
@@ -1,913 +0,0 @@
1 - = My First Object Walk
2 -
3 - == What's an Object Walk?
4 -
5 - The object walk is a key concept in Git - this is the process that underpins
6 - operations like object transfer and fsck. Beginning from a given commit, the
7 - list of objects is found by walking parent relationships between commits (commit
8 - X based on commit W) and containment relationships between objects (tree Y is
9 - contained within commit X, and blob Z is located within tree Y, giving our
10 - working tree for commit X something like `y/z.txt`).
11 -
12 - A related concept is the revision walk, which is focused on commit objects and
13 - their parent relationships and does not delve into other object types. The
14 - revision walk is used for operations like `git log`.
15 -
16 - === Related Reading
17 -
18 - - `Documentation/user-manual.adoc` under "Hacking Git" contains some coverage of
19 - the revision walker in its various incarnations.
20 - - `revision.h`
21 - - https://eagain.net/articles/git-for-computer-scientists/[Git for Computer Scientists]
22 - gives a good overview of the types of objects in Git and what your object
23 - walk is really describing.
24 -
25 - == Setting Up
26 -
27 - Create a new branch from `master`.
28 -
29 - ----
30 - git checkout -b revwalk origin/master
31 - ----
32 -
33 - We'll put our fiddling into a new command. For fun, let's name it `git walken`.
34 - Open up a new file `builtin/walken.c` and set up the command handler:
35 -
36 - ----
37 - /*
38 - * "git walken"
39 - *
40 - * Part of the "My First Object Walk" tutorial.
41 - */
42 -
43 - #include "builtin.h"
44 - #include "trace.h"
45 -
46 - int cmd_walken(int argc, const char **argv, const char *prefix, struct repository *repo)
47 - {
48 - trace_printf(_("cmd_walken incoming...\n"));
49 - return 0;
50 - }
51 - ----
52 -
53 - NOTE: `trace_printf()`, defined in `trace.h`, differs from `printf()` in
54 - that it can be turned on or off at runtime. For the purposes of this
55 - tutorial, we will write `walken` as though it is intended for use as
56 - a "plumbing" command: that is, a command which is used primarily in
57 - scripts, rather than interactively by humans (a "porcelain" command).
58 - So we will send our debug output to `trace_printf()` instead.
59 - When running, enable trace output by setting the environment variable `GIT_TRACE`.
60 -
61 - Add usage text and `-h` handling, like all subcommands should consistently do
62 - (our test suite will notice and complain if you fail to do so).
63 - We'll need to include the `parse-options.h` header.
64 -
65 - ----
66 - #include "parse-options.h"
67 -
68 - ...
69 -
70 - int cmd_walken(int argc, const char **argv, const char *prefix)
71 - {
72 - const char * const walken_usage[] = {
73 - N_("git walken"),
74 - NULL,
75 - };
76 - struct option options[] = {
77 - OPT_END()
78 - };
79 -
80 - argc = parse_options(argc, argv, prefix, options, walken_usage, 0);
81 -
82 - ...
83 - }
84 - ----
85 -
86 - Also add the relevant line in `builtin.h` near `cmd_version()`:
87 -
88 - ----
89 - int cmd_walken(int argc, const char **argv, const char *prefix, struct repository *repo);
90 - ----
91 -
92 - Include the command in `git.c` in `commands[]` near the entry for `version`,
93 - maintaining alphabetical ordering:
94 -
95 - ----
96 - { "walken", cmd_walken, RUN_SETUP },
97 - ----
98 -
99 - Add an entry for the new command in the both the Make and Meson build system,
100 - before the entry for `worktree`:
101 -
102 - - In the `Makefile`:
103 - ----
104 - ...
105 - BUILTIN_OBJS += builtin/walken.o
106 - ...
107 - ----
108 -
109 - - In the `meson.build` file:
110 - ----
111 - builtin_sources = [
112 - ...
113 - 'builtin/walken.c',
114 - ...
115 - ]
116 - ----
117 -
118 - Build and test out your command, without forgetting to ensure the `DEVELOPER`
119 - flag is set, and with `GIT_TRACE` enabled so the debug output can be seen:
120 -
121 - ----
122 - $ echo DEVELOPER=1 >>config.mak
123 - $ make
124 - $ GIT_TRACE=1 ./bin-wrappers/git walken
125 - ----
126 -
127 - NOTE: For a more exhaustive overview of the new command process, take a look at
128 - `Documentation/MyFirstContribution.adoc`.
129 -
130 - NOTE: A reference implementation can be found at
131 - https://github.com/nasamuffin/git/tree/revwalk.
132 -
133 - === `struct rev_cmdline_info`
134 -
135 - The definition of `struct rev_cmdline_info` can be found in `revision.h`.
136 -
137 - This struct is contained within the `rev_info` struct and is used to reflect
138 - parameters provided by the user over the CLI.
139 -
140 - `nr` represents the number of `rev_cmdline_entry` present in the array.
141 -
142 - `alloc` is used by the `ALLOC_GROW` macro. Check `alloc.h` - this variable is
143 - used to track the allocated size of the list.
144 -
145 - Per entry, we find:
146 -
147 - `item` is the object provided upon which to base the object walk. Items in Git
148 - can be blobs, trees, commits, or tags. (See `Documentation/gittutorial-2.adoc`.)
149 -
150 - `name` is the object ID (OID) of the object - a hex string you may be familiar
151 - with from using Git to organize your source in the past. Check the tutorial
152 - mentioned above towards the top for a discussion of where the OID can come
153 - from.
154 -
155 - `whence` indicates some information about what to do with the parents of the
156 - specified object. We'll explore this flag more later on; take a look at
157 - `Documentation/revisions.adoc` to get an idea of what could set the `whence`
158 - value.
159 -
160 - `flags` are used to hint the beginning of the revision walk and are the first
161 - block under the `#include`s in `revision.h`. The most likely ones to be set in
162 - the `rev_cmdline_info` are `UNINTERESTING` and `BOTTOM`, but these same flags
163 - can be used during the walk, as well.
164 -
165 - === `struct rev_info`
166 -
167 - This one is quite a bit longer, and many fields are only used during the walk
168 - by `revision.c` - not configuration options. Most of the configurable flags in
169 - `struct rev_info` have a mirror in `Documentation/rev-list-options.adoc`. It's a
170 - good idea to take some time and read through that document.
171 -
172 - == Basic Commit Walk
173 -
174 - First, let's see if we can replicate the output of `git log --oneline`. We'll
175 - refer back to the implementation frequently to discover norms when performing
176 - an object walk of our own.
177 -
178 - To do so, we'll first find all the commits, in order, which preceded the current
179 - commit. We'll extract the name and subject of the commit from each.
180 -
181 - Ideally, we will also be able to find out which ones are currently at the tip of
182 - various branches.
183 -
184 - === Setting Up
185 -
186 - Preparing for your object walk has some distinct stages.
187 -
188 - 1. Perform default setup for this mode, and others which may be invoked.
189 - 2. Check configuration files for relevant settings.
190 - 3. Set up the `rev_info` struct.
191 - 4. Tweak the initialized `rev_info` to suit the current walk.
192 - 5. Prepare the `rev_info` for the walk.
193 - 6. Iterate over the objects, processing each one.
194 -
195 - ==== Default Setups
196 -
197 - Before examining configuration files which may modify command behavior, set up
198 - default state for switches or options your command may have. If your command
199 - utilizes other Git components, ask them to set up their default states as well.
200 - For instance, `git log` takes advantage of `grep` and `diff` functionality, so
201 - its `init_log_defaults()` sets its own state (`decoration_style`) and asks
202 - `grep` and `diff` to initialize themselves by calling each of their
203 - initialization functions.
204 -
205 - ==== Configuring From `.gitconfig`
206 -
207 - Next, we should have a look at any relevant configuration settings (i.e.,
208 - settings readable and settable from `git config`). This is done by providing a
209 - callback to `repo_config()`; within that callback, you can also invoke methods
210 - from other components you may need that need to intercept these options. Your
211 - callback will be invoked once per each configuration value which Git knows about
212 - (global, local, worktree, etc.).
213 -
214 - Similarly to the default values, we don't have anything to do here yet
215 - ourselves; however, we should call `git_default_config()` if we aren't calling
216 - any other existing config callbacks.
217 -
218 - Add a new function to `builtin/walken.c`.
219 - We'll also need to include the `config.h` header:
220 -
221 - ----
222 - #include "config.h"
223 -
224 - ...
225 -
226 - static int git_walken_config(const char *var, const char *value,
227 - const struct config_context *ctx, void *cb)
228 - {
229 - /*
230 - * For now, we don't have any custom configuration, so fall back to
231 - * the default config.
232 - */
233 - return git_default_config(var, value, ctx, cb);
234 - }
235 - ----
236 -
237 - Make sure to invoke `repo_config()` with it in your `cmd_walken()`:
238 -
239 - ----
240 - int cmd_walken(int argc, const char **argv, const char *prefix, struct repository *repo)
241 - {
242 - ...
243 -
244 - repo_config(repo, git_walken_config, NULL);
245 -
246 - ...
247 - }
248 - ----
249 -
250 - ==== Setting Up `rev_info`
251 -
252 - Now that we've gathered external configuration and options, it's time to
253 - initialize the `rev_info` object which we will use to perform the walk. This is
254 - typically done by calling `repo_init_revisions()` with the repository you intend
255 - to target, as well as the `prefix` argument of `cmd_walken` and your `rev_info`
256 - struct.
257 -
258 - Add the `struct rev_info` and the `repo_init_revisions()` call.
259 - We'll also need to include the `revision.h` header:
260 -
261 - ----
262 - #include "revision.h"
263 -
264 - ...
265 -
266 - int cmd_walken(int argc, const char **argv, const char *prefix, struct repository *repo)
267 - {
268 - /* This can go wherever you like in your declarations.*/
269 - struct rev_info rev;
270 - ...
271 -
272 - /* This should go after the repo_config() call. */
273 - repo_init_revisions(repo, &rev, prefix);
274 -
275 - ...
276 - }
277 - ----
278 -
279 - ==== Tweaking `rev_info` For the Walk
280 -
281 - We're getting close, but we're still not quite ready to go. Now that `rev` is
282 - initialized, we can modify it to fit our needs. This is usually done within a
283 - helper for clarity, so let's add one:
284 -
285 - ----
286 - static void final_rev_info_setup(struct rev_info *rev)
287 - {
288 - /*
289 - * We want to mimic the appearance of `git log --oneline`, so let's
290 - * force oneline format.
291 - */
292 - get_commit_format("oneline", rev);
293 -
294 - /* Start our object walk at HEAD. */
295 - add_head_to_pending(rev);
296 - }
297 - ----
298 -
299 - [NOTE]
300 - ====
301 - Instead of using the shorthand `add_head_to_pending()`, you could do
302 - something like this:
303 -
304 - ----
305 - struct setup_revision_opt opt;
306 -
307 - memset(&opt, 0, sizeof(opt));
308 - opt.def = "HEAD";
309 - opt.revarg_opt = REVARG_COMMITTISH;
310 - setup_revisions(argc, argv, rev, &opt);
311 - ----
312 -
313 - Using a `setup_revision_opt` gives you finer control over your walk's starting
314 - point.
315 - ====
316 -
317 - Then let's invoke `final_rev_info_setup()` after the call to
318 - `repo_init_revisions()`:
319 -
320 - ----
321 - int cmd_walken(int argc, const char **argv, const char *prefix, struct repository *repo)
322 - {
323 - ...
324 -
325 - final_rev_info_setup(&rev);
326 -
327 - ...
328 - }
329 - ----
330 -
331 - Later, we may wish to add more arguments to `final_rev_info_setup()`. But for
332 - now, this is all we need.
333 -
334 - ==== Preparing `rev_info` For the Walk
335 -
336 - Now that `rev` is all initialized and configured, we've got one more setup step
337 - before we get rolling. We can do this in a helper, which will both prepare the
338 - `rev_info` for the walk, and perform the walk itself. Let's start the helper
339 - with the call to `prepare_revision_walk()`, which can return an error without
340 - dying on its own:
341 -
342 - ----
343 - static void walken_commit_walk(struct rev_info *rev)
344 - {
345 - if (prepare_revision_walk(rev))
346 - die(_("revision walk setup failed"));
347 - }
348 - ----
349 -
350 - NOTE: `die()` prints to `stderr` and exits the program. Since it will print to
351 - `stderr` it's likely to be seen by a human, so we will localize it.
352 -
353 - ==== Performing the Walk!
354 -
355 - Finally! We are ready to begin the walk itself. Now we can see that `rev_info`
356 - can also be used as an iterator; we move to the next item in the walk by using
357 - `get_revision()` repeatedly. Add the listed variable declarations at the top and
358 - the walk loop below the `prepare_revision_walk()` call within your
359 - `walken_commit_walk()`:
360 -
361 - ----
362 - #include "pretty.h"
363 -
364 - ...
365 -
366 - static void walken_commit_walk(struct rev_info *rev)
367 - {
368 - struct commit *commit;
369 - struct strbuf prettybuf = STRBUF_INIT;
370 -
371 - ...
372 -
373 - while ((commit = get_revision(rev))) {
374 - strbuf_reset(&prettybuf);
375 - pp_commit_easy(CMIT_FMT_ONELINE, commit, &prettybuf);
376 - puts(prettybuf.buf);
377 - }
378 - strbuf_release(&prettybuf);
379 - }
380 - ----
381 -
382 - NOTE: `puts()` prints a `char*` to `stdout`. Since this is the part of the
383 - command we expect to be machine-parsed, we're sending it directly to stdout.
384 -
385 - Give it a shot.
386 -
387 - ----
388 - $ make
389 - $ ./bin-wrappers/git walken
390 - ----
391 -
392 - You should see all of the subject lines of all the commits in
393 - your tree's history, in order, ending with the initial commit, "Initial revision
394 - of "git", the information manager from hell". Congratulations! You've written
395 - your first revision walk. You can play with printing some additional fields
396 - from each commit if you're curious; have a look at the functions available in
397 - `commit.h`.
398 -
399 - === Adding a Filter
400 -
401 - Next, let's try to filter the commits we see based on their author. This is
402 - equivalent to running `git log --author=<pattern>`. We can add a filter by
403 - modifying `rev_info.grep_filter`, which is a `struct grep_opt`.
404 -
405 - First some setup. Add `grep_config()` to `git_walken_config()`:
406 -
407 - ----
408 - static int git_walken_config(const char *var, const char *value,
409 - const struct config_context *ctx, void *cb)
410 - {
411 - grep_config(var, value, ctx, cb);
412 - return git_default_config(var, value, ctx, cb);
413 - }
414 - ----
415 -
416 - Next, we can modify the `grep_filter`. This is done with convenience functions
417 - found in `grep.h`. For fun, we're filtering to only commits from folks using a
418 - `gmail.com` email address - a not-very-precise guess at who may be working on
419 - Git as a hobby. Since we're checking the author, which is a specific line in the
420 - header, we'll use the `append_header_grep_pattern()` helper. We can use
421 - the `enum grep_header_field` to indicate which part of the commit header we want
422 - to search.
423 -
424 - In `final_rev_info_setup()`, add your filter line:
425 -
426 - ----
427 - static void final_rev_info_setup(int argc, const char **argv,
428 - const char *prefix, struct rev_info *rev)
429 - {
430 - ...
431 -
432 - append_header_grep_pattern(&rev->grep_filter, GREP_HEADER_AUTHOR,
433 - "gmail");
434 - compile_grep_patterns(&rev->grep_filter);
435 -
436 - ...
437 - }
438 - ----
439 -
440 - `append_header_grep_pattern()` adds your new "gmail" pattern to `rev_info`, but
441 - it won't work unless we compile it with `compile_grep_patterns()`.
442 -
443 - NOTE: If you are using `setup_revisions()` (for example, if you are passing a
444 - `setup_revision_opt` instead of using `add_head_to_pending()`), you don't need
445 - to call `compile_grep_patterns()` because `setup_revisions()` calls it for you.
446 -
447 - NOTE: We could add the same filter via the `append_grep_pattern()` helper if we
448 - wanted to, but `append_header_grep_pattern()` adds the `enum grep_context` and
449 - `enum grep_pat_token` for us.
450 -
451 - === Changing the Order
452 -
453 - There are a few ways that we can change the order of the commits during a
454 - revision walk. Firstly, we can use the `enum rev_sort_order` to choose from some
455 - typical orderings.
456 -
457 - `topo_order` is the same as `git log --topo-order`: we avoid showing a parent
458 - before all of its children have been shown, and we avoid mixing commits which
459 - are in different lines of history. (`git help log`'s section on `--topo-order`
460 - has a very nice diagram to illustrate this.)
461 -
462 - Let's see what happens when we run with `REV_SORT_BY_COMMIT_DATE` as opposed to
463 - `REV_SORT_BY_AUTHOR_DATE`. Add the following:
464 -
465 - ----
466 - static void final_rev_info_setup(int argc, const char **argv,
467 - const char *prefix, struct rev_info *rev)
468 - {
469 - ...
470 -
471 - rev->topo_order = 1;
472 - rev->sort_order = REV_SORT_BY_COMMIT_DATE;
473 -
474 - ...
475 - }
476 - ----
477 -
478 - Let's output this into a file so we can easily diff it with the walk sorted by
479 - author date.
480 -
481 - ----
482 - $ make
483 - $ ./bin-wrappers/git walken > commit-date.txt
484 - ----
485 -
486 - Then, let's sort by author date and run it again.
487 -
488 - ----
489 - static void final_rev_info_setup(int argc, const char **argv,
490 - const char *prefix, struct rev_info *rev)
491 - {
492 - ...
493 -
494 - rev->topo_order = 1;
495 - rev->sort_order = REV_SORT_BY_AUTHOR_DATE;
496 -
497 - ...
498 - }
499 - ----
500 -
501 - ----
502 - $ make
503 - $ ./bin-wrappers/git walken > author-date.txt
504 - ----
505 -
506 - Finally, compare the two. This is a little less helpful without object names or
507 - dates, but hopefully we get the idea.
508 -
509 - ----
510 - $ diff -u commit-date.txt author-date.txt
511 - ----
512 -
513 - This display indicates that commits can be reordered after they're written, for
514 - example with `git rebase`.
515 -
516 - Let's try one more reordering of commits. `rev_info` exposes a `reverse` flag.
517 - Set that flag somewhere inside of `final_rev_info_setup()`:
518 -
519 - ----
520 - static void final_rev_info_setup(int argc, const char **argv, const char *prefix,
521 - struct rev_info *rev)
522 - {
523 - ...
524 -
525 - rev->reverse = 1;
526 -
527 - ...
528 - }
529 - ----
530 -
531 - Run your walk again and note the difference in order. (If you remove the grep
532 - pattern, you should see the last commit this call gives you as your current
533 - HEAD.)
534 -
535 - == Basic Object Walk
536 -
537 - So far we've been walking only commits. But Git has more types of objects than
538 - that! Let's see if we can walk _all_ objects, and find out some information
539 - about each one.
540 -
541 - We can base our work on an example. `git pack-objects` prepares all kinds of
542 - objects for packing into a bitmap or packfile. The work we are interested in
543 - resides in `builtin/pack-objects.c:get_object_list()`; examination of that
544 - function shows that the all-object walk is being performed by
545 - `traverse_commit_list()` or `traverse_commit_list_filtered()`. Those two
546 - functions reside in `list-objects.c`; examining the source shows that, despite
547 - the name, these functions traverse all kinds of objects. Let's have a look at
548 - the arguments to `traverse_commit_list()`.
549 -
550 - - `struct rev_info *revs`: This is the `rev_info` used for the walk. If
551 - its `filter` member is not `NULL`, then `filter` contains information for
552 - how to filter the object list.
553 - - `show_commit_fn show_commit`: A callback which will be used to handle each
554 - individual commit object.
555 - - `show_object_fn show_object`: A callback which will be used to handle each
556 - non-commit object (so each blob, tree, or tag).
557 - - `void *show_data`: A context buffer which is passed in turn to `show_commit`
558 - and `show_object`.
559 -
560 - In addition, `traverse_commit_list_filtered()` has an additional parameter:
561 -
562 - - `struct oidset *omitted`: A linked-list of object IDs which the provided
563 - filter caused to be omitted.
564 -
565 - It looks like these methods use callbacks we provide instead of needing us
566 - to call it repeatedly ourselves. Cool! Let's add the callbacks first.
567 -
568 - For the sake of this tutorial, we'll simply keep track of how many of each kind
569 - of object we find. At file scope in `builtin/walken.c` add the following
570 - tracking variables:
571 -
572 - ----
573 - static int commit_count;
574 - static int tag_count;
575 - static int blob_count;
576 - static int tree_count;
577 - ----
578 -
579 - Commits are handled by a different callback than other objects; let's do that
580 - one first:
581 -
582 - ----
583 - static void walken_show_commit(struct commit *cmt, void *buf)
584 - {
585 - commit_count++;
586 - }
587 - ----
588 -
589 - The `cmt` argument is fairly self-explanatory. But it's worth mentioning that
590 - the `buf` argument is actually the context buffer that we can provide to the
591 - traversal calls - `show_data`, which we mentioned a moment ago.
592 -
593 - Since we have the `struct commit` object, we can look at all the same parts that
594 - we looked at in our earlier commit-only walk. For the sake of this tutorial,
595 - though, we'll just increment the commit counter and move on.
596 -
597 - The callback for non-commits is a little different, as we'll need to check
598 - which kind of object we're dealing with:
599 -
600 - ----
601 - static void walken_show_object(struct object *obj, const char *str, void *buf)
602 - {
603 - switch (obj->type) {
604 - case OBJ_TREE:
605 - tree_count++;
606 - break;
607 - case OBJ_BLOB:
608 - blob_count++;
609 - break;
610 - case OBJ_TAG:
611 - tag_count++;
612 - break;
613 - case OBJ_COMMIT:
614 - BUG("unexpected commit object in walken_show_object\n");
615 - default:
616 - BUG("unexpected object type %s in walken_show_object\n",
617 - type_name(obj->type));
618 - }
619 - }
620 - ----
621 -
622 - Again, `obj` is fairly self-explanatory, and we can guess that `buf` is the same
623 - context pointer that `walken_show_commit()` receives: the `show_data` argument
624 - to `traverse_commit_list()` and `traverse_commit_list_filtered()`. Finally,
625 - `str` contains the name of the object, which ends up being something like
626 - `foo.txt` (blob), `bar/baz` (tree), or `v1.2.3` (tag).
627 -
628 - To help assure us that we aren't double-counting commits, we'll include some
629 - complaining if a commit object is routed through our non-commit callback; we'll
630 - also complain if we see an invalid object type. Since those two cases should be
631 - unreachable, and would only change in the event of a semantic change to the Git
632 - codebase, we complain by using `BUG()` - which is a signal to a developer that
633 - the change they made caused unintended consequences, and the rest of the
634 - codebase needs to be updated to understand that change. `BUG()` is not intended
635 - to be seen by the public, so it is not localized.
636 -
637 - Our main object walk implementation is substantially different from our commit
638 - walk implementation, so let's make a new function to perform the object walk. We
639 - can perform setup which is applicable to all objects here, too, to keep separate
640 - from setup which is applicable to commit-only walks.
641 -
642 - We'll start by enabling all types of objects in the `struct rev_info`. We'll
643 - also turn on `tree_blobs_in_commit_order`, which means that we will walk a
644 - commit's tree and everything it points to immediately after we find each commit,
645 - as opposed to waiting for the end and walking through all trees after the commit
646 - history has been discovered. With the appropriate settings configured, we are
647 - ready to call `prepare_revision_walk()`.
648 -
649 - ----
650 - static void walken_object_walk(struct rev_info *rev)
651 - {
652 - rev->tree_objects = 1;
653 - rev->blob_objects = 1;
654 - rev->tag_objects = 1;
655 - rev->tree_blobs_in_commit_order = 1;
656 -
657 - if (prepare_revision_walk(rev))
658 - die(_("revision walk setup failed"));
659 -
660 - commit_count = 0;
661 - tag_count = 0;
662 - blob_count = 0;
663 - tree_count = 0;
664 - ----
665 -
666 - Let's start by calling just the unfiltered walk and reporting our counts.
667 - Complete your implementation of `walken_object_walk()`.
668 - We'll also need to include the `list-objects.h` header.
669 -
670 - ----
671 - #include "list-objects.h"
672 -
673 - ...
674 -
675 - traverse_commit_list(rev, walken_show_commit, walken_show_object, NULL);
676 -
677 - printf("commits %d\nblobs %d\ntags %d\ntrees %d\n", commit_count,
678 - blob_count, tag_count, tree_count);
679 - }
680 - ----
681 -
682 - NOTE: This output is intended to be machine-parsed. Therefore, we are not
683 - sending it to `trace_printf()`, and we are not localizing it - we need scripts
684 - to be able to count on the formatting to be exactly the way it is shown here.
685 - If we were intending this output to be read by humans, we would need to localize
686 - it with `_()`.
687 -
688 - Finally, we'll ask `cmd_walken()` to use the object walk instead. Discussing
689 - command line options is out of scope for this tutorial, so we'll just hardcode
690 - a branch we can change at compile time. Where you call `final_rev_info_setup()`
691 - and `walken_commit_walk()`, instead branch like so:
692 -
693 - ----
694 - if (1) {
695 - add_head_to_pending(&rev);
696 - walken_object_walk(&rev);
697 - } else {
698 - final_rev_info_setup(argc, argv, prefix, &rev);
699 - walken_commit_walk(&rev);
700 - }
701 - ----
702 -
703 - NOTE: For simplicity, we've avoided all the filters and sorts we applied in
704 - `final_rev_info_setup()` and simply added `HEAD` to our pending queue. If you
705 - want, you can certainly use the filters we added before by moving
706 - `final_rev_info_setup()` out of the conditional and removing the call to
707 - `add_head_to_pending()`.
708 -
709 - Now we can try to run our command! It should take noticeably longer than the
710 - commit walk, but an examination of the output will give you an idea why. Your
711 - output should look similar to this example, but with different counts:
712 -
713 - ----
714 - Object walk completed. Found 55733 commits, 100274 blobs, 0 tags, and 104210 trees.
715 - ----
716 -
717 - This makes sense. We have more trees than commits because the Git project has
718 - lots of subdirectories which can change, plus at least one tree per commit. We
719 - have no tags because we started on a commit (`HEAD`) and while tags can point to
720 - commits, commits can't point to tags.
721 -
722 - NOTE: You will have different counts when you run this yourself! The number of
723 - objects grows along with the Git project.
724 -
725 - === Adding a Filter
726 -
727 - There are a handful of filters that we can apply to the object walk laid out in
728 - `Documentation/rev-list-options.adoc`. These filters are typically useful for
729 - operations such as creating packfiles or performing a partial clone. They are
730 - defined in `list-objects-filter-options.h`. For the purposes of this tutorial we
731 - will use the "tree:1" filter, which causes the walk to omit all trees and blobs
732 - which are not directly referenced by commits reachable from the commit in
733 - `pending` when the walk begins. (`pending` is the list of objects which need to
734 - be traversed during a walk; you can imagine a breadth-first tree traversal to
735 - help understand. In our case, that means we omit trees and blobs not directly
736 - referenced by `HEAD` or `HEAD`'s history, because we begin the walk with only
737 - `HEAD` in the `pending` list.)
738 -
739 - For now, we are not going to track the omitted objects, so we'll replace those
740 - parameters with `NULL`. For the sake of simplicity, we'll add a simple
741 - build-time branch to use our filter or not. Preface the line calling
742 - `traverse_commit_list()` with the following, which will remind us which kind of
743 - walk we've just performed:
744 -
745 - ----
746 - if (0) {
747 - /* Unfiltered: */
748 - trace_printf(_("Unfiltered object walk.\n"));
749 - } else {
750 - trace_printf(
751 - _("Filtered object walk with filterspec 'tree:1'.\n"));
752 -
753 - parse_list_objects_filter(&rev->filter, "tree:1");
754 - }
755 - traverse_commit_list(rev, walken_show_commit,
756 - walken_show_object, NULL);
757 - ----
758 -
759 - The `rev->filter` member is usually built directly from a command
760 - line argument, so the module provides an easy way to build one from a string.
761 - Even though we aren't taking user input right now, we can still build one with
762 - a hardcoded string using `parse_list_objects_filter()`.
763 -
764 - With the filter spec "tree:1", we are expecting to see _only_ the root tree for
765 - each commit; therefore, the tree object count should be less than or equal to
766 - the number of commits. (For an example of why that's true: `git commit --revert`
767 - points to the same tree object as its grandparent.)
768 -
769 - === Counting Omitted Objects
770 -
771 - We also have the capability to enumerate all objects which were omitted by a
772 - filter, like with `git log --filter=<spec> --filter-print-omitted`. To do this,
773 - change `traverse_commit_list()` to `traverse_commit_list_filtered()`, which is
774 - able to populate an `omitted` list. Asking for this list of filtered objects
775 - may cause performance degradations, however, because in this case, despite
776 - filtering objects, the possibly much larger set of all reachable objects must
777 - be processed in order to populate that list.
778 -
779 - First, add the `struct oidset` and related items we will use to iterate it:
780 -
781 - ----
782 - #include "oidset.h"
783 -
784 - ...
785 -
786 - static void walken_object_walk(
787 - ...
788 -
789 - struct oidset omitted;
790 - struct oidset_iter oit;
791 - struct object_id *oid = NULL;
792 - int omitted_count = 0;
793 - oidset_init(&omitted, 0);
794 -
795 - ...
796 - ----
797 -
798 - Replace the call to `traverse_commit_list()` with
799 - `traverse_commit_list_filtered()` and pass a pointer to the `omitted` oidset
800 - defined and initialized above:
801 -
802 - ----
803 - ...
804 -
805 - traverse_commit_list_filtered(rev,
806 - walken_show_commit, walken_show_object, NULL, &omitted);
807 -
808 - ...
809 - ----
810 -
811 - Then, after your traversal, the `oidset` traversal is pretty straightforward.
812 - Count all the objects within and modify the print statement:
813 -
814 - ----
815 - /* Count the omitted objects. */
816 - oidset_iter_init(&omitted, &oit);
817 -
818 - while ((oid = oidset_iter_next(&oit)))
819 - omitted_count++;
820 -
821 - printf("commits %d\nblobs %d\ntags %d\ntrees %d\nomitted %d\n",
822 - commit_count, blob_count, tag_count, tree_count, omitted_count);
823 - ----
824 -
825 - By running your walk with and without the filter, you should find that the total
826 - object count in each case is identical. You can also time each invocation of
827 - the `walken` subcommand, with and without `omitted` being passed in, to confirm
828 - to yourself the runtime impact of tracking all omitted objects.
829 -
830 - === Changing the Order
831 -
832 - Finally, let's demonstrate that you can also reorder walks of all objects, not
833 - just walks of commits. First, we'll make our handlers chattier - modify
834 - `walken_show_commit()` and `walken_show_object()` to print the object as they
835 - go:
836 -
837 - ----
838 - #include "hex.h"
839 -
840 - ...
841 -
842 - static void walken_show_commit(struct commit *cmt, void *buf)
843 - {
844 - trace_printf("commit: %s\n", oid_to_hex(&cmt->object.oid));
845 - commit_count++;
846 - }
847 -
848 - static void walken_show_object(struct object *obj, const char *str, void *buf)
849 - {
850 - trace_printf("%s: %s\n", type_name(obj->type), oid_to_hex(&obj->oid));
851 -
852 - ...
853 - }
854 - ----
855 -
856 - NOTE: Since we will be examining this output directly as humans, we'll use
857 - `trace_printf()` here. Additionally, since this change introduces a significant
858 - number of printed lines, using `trace_printf()` will allow us to easily silence
859 - those lines without having to recompile.
860 -
861 - (Leave the counter increment logic in place.)
862 -
863 - With only that change, run again (but save yourself some scrollback):
864 -
865 - ----
866 - $ GIT_TRACE=1 ./bin-wrappers/git walken 2>&1 | head -n 10
867 - ----
868 -
869 - Take a look at the top commit with `git show` and the object ID you printed; it
870 - should be the same as the output of `git show HEAD`.
871 -
872 - Next, let's change a setting on our `struct rev_info` within
873 - `walken_object_walk()`. Find where you're changing the other settings on `rev`,
874 - such as `rev->tree_objects` and `rev->tree_blobs_in_commit_order`, and add the
875 - `reverse` setting at the bottom:
876 -
877 - ----
878 - ...
879 -
880 - rev->tree_objects = 1;
881 - rev->blob_objects = 1;
882 - rev->tag_objects = 1;
883 - rev->tree_blobs_in_commit_order = 1;
884 - rev->reverse = 1;
885 -
886 - ...
887 - ----
888 -
889 - Now, run again, but this time, let's grab the last handful of objects instead
890 - of the first handful:
891 -
892 - ----
893 - $ make
894 - $ GIT_TRACE=1 ./bin-wrappers/git walken 2>&1 | tail -n 10
895 - ----
896 -
897 - The last commit object given should have the same OID as the one we saw at the
898 - top before, and running `git show <oid>` with that OID should give you again
899 - the same results as `git show HEAD`. Furthermore, if you run and examine the
900 - first ten lines again (with `head` instead of `tail` like we did before applying
901 - the `reverse` setting), you should see that now the first commit printed is the
902 - initial commit, `e83c5163`.
903 -
904 - == Wrapping Up
905 -
906 - Let's review. In this tutorial, we:
907 -
908 - - Built a commit walk from the ground up
909 - - Enabled a grep filter for that commit walk
910 - - Changed the sort order of that filtered commit walk
911 - - Built an object walk (tags, commits, trees, and blobs) from the ground up
912 - - Learned how to add a filter-spec to an object walk
913 - - Changed the display order of the filtered object walk
deleted Documentation/RelNotes/1.5.0.1.adoc mode 100644
@@ -1,42 +0,0 @@
1 - GIT v1.5.0.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.0
5 - ------------------
6 -
7 - * Documentation updates
8 -
9 - - Clarifications and corrections to 1.5.0 release notes.
10 -
11 - - The main documentation did not link to git-remote documentation.
12 -
13 - - Clarified introductory text of git-rebase documentation.
14 -
15 - - Converted remaining mentions of update-index on Porcelain
16 - documents to git-add/git-rm.
17 -
18 - - Some i18n.* configuration variables were incorrectly
19 - described as core.*; fixed.
20 -
21 - * Bugfixes
22 -
23 - - git-add and git-update-index on a filesystem on which
24 - executable bits are unreliable incorrectly reused st_mode
25 - bits even when the path changed between symlink and regular
26 - file.
27 -
28 - - git-daemon marks the listening sockets with FD_CLOEXEC so
29 - that it won't be leaked into the children.
30 -
31 - - segfault from git-blame when the mandatory pathname
32 - parameter was missing was fixed; usage() message is given
33 - instead.
34 -
35 - - git-rev-list did not read $GIT_DIR/config file, which means
36 - that did not honor i18n.logoutputencoding correctly.
37 -
38 - * Tweaks
39 -
40 - - sliding mmap() inefficiently mmaped the same region of a
41 - packfile with an access pattern that used objects in the
42 - reverse order. This has been made more efficient.
deleted Documentation/RelNotes/1.5.0.2.adoc mode 100644
@@ -1,65 +0,0 @@
1 - GIT v1.5.0.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.0.1
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - Automated merge conflict handling when changes to symbolic
10 - links conflicted were completely broken. The merge-resolve
11 - strategy created a regular file with conflict markers in it
12 - in place of the symbolic link. The default strategy,
13 - merge-recursive was even more broken. It removed the path
14 - that was pointed at by the symbolic link. Both of these
15 - problems have been fixed.
16 -
17 - - 'git diff maint master next' did not correctly give combined
18 - diff across three trees.
19 -
20 - - 'git fast-import' portability fix for Solaris.
21 -
22 - - 'git show-ref --verify' without arguments did not error out
23 - but segfaulted.
24 -
25 - - 'git diff :tracked-file `pwd`/an-untracked-file' gave an extra
26 - slashes after a/ and b/.
27 -
28 - - 'git format-patch' produced too long filenames if the commit
29 - message had too long line at the beginning.
30 -
31 - - Running 'make all' and then without changing anything
32 - running 'make install' still rebuilt some files. This
33 - was inconvenient when building as yourself and then
34 - installing as root (especially problematic when the source
35 - directory is on NFS and root is mapped to nobody).
36 -
37 - - 'git-rerere' failed to deal with two unconflicted paths that
38 - sorted next to each other.
39 -
40 - - 'git-rerere' attempted to open(2) a symlink and failed if
41 - there was a conflict. Since a conflicting change to a
42 - symlink would not benefit from rerere anyway, the command
43 - now ignores conflicting changes to symlinks.
44 -
45 - - 'git-repack' did not like to pass more than 64 arguments
46 - internally to underlying 'rev-list' logic, which made it
47 - impossible to repack after accumulating many (small) packs
48 - in the repository.
49 -
50 - - 'git-diff' to review the combined diff during a conflicted
51 - merge were not reading the working tree version correctly
52 - when changes to a symbolic link conflicted. It should have
53 - read the data using readlink(2) but read from the regular
54 - file the symbolic link pointed at.
55 -
56 - - 'git-remote' did not like period in a remote's name.
57 -
58 - * Documentation updates
59 -
60 - - added and clarified core.bare, core.legacyheaders configurations.
61 -
62 - - updated "git-clone --depth" documentation.
63 -
64 -
65 - * Assorted git-gui fixes.
deleted Documentation/RelNotes/1.5.0.3.adoc mode 100644
@@ -1,58 +0,0 @@
1 - GIT v1.5.0.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.0.2
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - 'git.el' honors the commit coding system from the configuration.
10 -
11 - - 'blameview' in contrib/ correctly digs deeper when a line is
12 - clicked.
13 -
14 - - 'http-push' correctly makes sure the remote side has leading
15 - path. Earlier it started in the middle of the path, and
16 - incorrectly.
17 -
18 - - 'git-merge' did not exit with non-zero status when the
19 - working tree was dirty and cannot fast forward. It does
20 - now.
21 -
22 - - 'cvsexportcommit' does not lose yet-to-be-used message file.
23 -
24 - - int-vs-size_t typefix when running combined diff on files
25 - over 2GB long.
26 -
27 - - 'git apply --whitespace=strip' should not touch unmodified
28 - lines.
29 -
30 - - 'git-mailinfo' choke when a logical header line was too long.
31 -
32 - - 'git show A..B' did not error out. Negative ref ("not A" in
33 - this example) does not make sense for the purpose of the
34 - command, so now it errors out.
35 -
36 - - 'git fmt-merge-msg --file' without file parameter did not
37 - correctly error out.
38 -
39 - - 'git archimport' barfed upon encountering a commit without
40 - summary.
41 -
42 - - 'git index-pack' did not protect itself from getting a short
43 - read out of pread(2).
44 -
45 - - 'git http-push' had a few buffer overruns.
46 -
47 - - Build dependency fixes to rebuild fetch.o when other headers
48 - change.
49 -
50 - * Documentation updates
51 -
52 - - user-manual updates.
53 -
54 - - Options to 'git remote add' were described insufficiently.
55 -
56 - - Configuration format.suffix was not documented.
57 -
58 - - Other formatting and spelling fixes.
deleted Documentation/RelNotes/1.5.0.4.adoc mode 100644
@@ -1,22 +0,0 @@
1 - GIT v1.5.0.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.0.3
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - git.el does not add duplicate sign-off lines.
10 -
11 - - git-commit shows the full stat of the resulting commit, not
12 - just about the files in the current directory, when run from
13 - a subdirectory.
14 -
15 - - "git-checkout -m '@{8 hours ago}'" had a funny failure from
16 - eval; fixed.
17 -
18 - - git-gui updates.
19 -
20 - * Documentation updates
21 -
22 - * User manual updates
deleted Documentation/RelNotes/1.5.0.5.adoc mode 100644
@@ -1,26 +0,0 @@
1 - GIT v1.5.0.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.0.3
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - git-merge (hence git-pull) did not refuse fast-forwarding
10 - when the working tree had local changes that would have
11 - conflicted with it.
12 -
13 - - git.el does not add duplicate sign-off lines.
14 -
15 - - git-commit shows the full stat of the resulting commit, not
16 - just about the files in the current directory, when run from
17 - a subdirectory.
18 -
19 - - "git-checkout -m '@{8 hours ago}'" had a funny failure from
20 - eval; fixed.
21 -
22 - - git-gui updates.
23 -
24 - * Documentation updates
25 -
26 - * User manual updates
deleted Documentation/RelNotes/1.5.0.6.adoc mode 100644
@@ -1,21 +0,0 @@
1 - GIT v1.5.0.6 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.0.5
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - a handful small fixes to gitweb.
10 -
11 - - build procedure for user-manual is fixed not to require locally
12 - installed stylesheets.
13 -
14 - - "git commit $paths" on paths whose earlier contents were
15 - already updated in the index were failing out.
16 -
17 - * Documentation
18 -
19 - - user-manual has better cross references.
20 -
21 - - gitweb installation/deployment procedure is now documented.
deleted Documentation/RelNotes/1.5.0.7.adoc mode 100644
@@ -1,18 +0,0 @@
1 - GIT v1.5.0.7 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.0.6
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - git-upload-pack failed to close unused pipe ends, resulting
10 - in many zombies to hang around.
11 -
12 - - git-rerere was recording the contents of earlier hunks
13 - duplicated in later hunks. This prevented resolving the same
14 - conflict when performing the same merge the other way around.
15 -
16 - * Documentation
17 -
18 - - a few documentation fixes from Debian package maintainer.
deleted Documentation/RelNotes/1.5.0.adoc mode 100644
@@ -1,469 +0,0 @@
1 - GIT v1.5.0 Release Notes
2 - ========================
3 -
4 - Old news
5 - --------
6 -
7 - This section is for people who are upgrading from ancient
8 - versions of git. Although all of the changes in this section
9 - happened before the current v1.4.4 release, they are summarized
10 - here in the v1.5.0 release notes for people who skipped earlier
11 - versions.
12 -
13 - As of git v1.5.0 there are some optional features that changes
14 - the repository to allow data to be stored and transferred more
15 - efficiently. These features are not enabled by default, as they
16 - will make the repository unusable with older versions of git.
17 - Specifically, the available options are:
18 -
19 - - There is a configuration variable core.legacyheaders that
20 - changes the format of loose objects so that they are more
21 - efficient to pack and to send out of the repository over git
22 - native protocol, since v1.4.2. However, loose objects
23 - written in the new format cannot be read by git older than
24 - that version; people fetching from your repository using
25 - older clients over dumb transports (e.g. http) using older
26 - versions of git will also be affected.
27 -
28 - To let git use the new loose object format, you have to
29 - set core.legacyheaders to false.
30 -
31 - - Since v1.4.3, configuration repack.usedeltabaseoffset allows
32 - packfile to be created in more space efficient format, which
33 - cannot be read by git older than that version.
34 -
35 - To let git use the new format for packfiles, you have to
36 - set repack.usedeltabaseoffset to true.
37 -
38 - The above two new features are not enabled by default and you
39 - have to explicitly ask for them, because they make repositories
40 - unreadable by older versions of git, and in v1.5.0 we still do
41 - not enable them by default for the same reason. We will change
42 - this default probably 1 year after 1.4.2's release, when it is
43 - reasonable to expect everybody to have new enough version of
44 - git.
45 -
46 - - 'git pack-refs' appeared in v1.4.4; this command allows tags
47 - to be accessed much more efficiently than the traditional
48 - 'one-file-per-tag' format. Older git-native clients can
49 - still fetch from a repository that packed and pruned refs
50 - (the server side needs to run the up-to-date version of git),
51 - but older dumb transports cannot. Packing of refs is done by
52 - an explicit user action, either by use of "git pack-refs
53 - --prune" command or by use of "git gc" command.
54 -
55 - - 'git -p' to paginate anything -- many commands do pagination
56 - by default on a tty. Introduced between v1.4.1 and v1.4.2;
57 - this may surprise old timers.
58 -
59 - - 'git archive' superseded 'git tar-tree' in v1.4.3;
60 -
61 - - 'git cvsserver' was new invention in v1.3.0;
62 -
63 - - 'git repo-config', 'git grep', 'git rebase' and 'gitk' were
64 - seriously enhanced during v1.4.0 timeperiod.
65 -
66 - - 'gitweb' became part of git.git during v1.4.0 timeperiod and
67 - seriously modified since then.
68 -
69 - - reflog is an v1.4.0 invention. This allows you to name a
70 - revision that a branch used to be at (e.g. "git diff
71 - master@{yesterday} master" allows you to see changes since
72 - yesterday's tip of the branch).
73 -
74 -
75 - Updates in v1.5.0 since v1.4.4 series
76 - -------------------------------------
77 -
78 - * Index manipulation
79 -
80 - - git-add is to add contents to the index (aka "staging area"
81 - for the next commit), whether the file the contents happen to
82 - be is an existing one or a newly created one.
83 -
84 - - git-add without any argument does not add everything
85 - anymore. Use 'git-add .' instead. Also you can add
86 - otherwise ignored files with an -f option.
87 -
88 - - git-add tries to be more friendly to users by offering an
89 - interactive mode ("git-add -i").
90 -
91 - - git-commit <path> used to refuse to commit if <path> was
92 - different between HEAD and the index (i.e. update-index was
93 - used on it earlier). This check was removed.
94 -
95 - - git-rm is much saner and safer. It is used to remove paths
96 - from both the index file and the working tree, and makes sure
97 - you are not losing any local modification before doing so.
98 -
99 - - git-reset <tree> <paths>... can be used to revert index
100 - entries for selected paths.
101 -
102 - - git-update-index is much less visible. Many suggestions to
103 - use the command in git output and documentation have now been
104 - replaced by simpler commands such as "git add" or "git rm".
105 -
106 -
107 - * Repository layout and objects transfer
108 -
109 - - The data for origin repository is stored in the configuration
110 - file $GIT_DIR/config, not in $GIT_DIR/remotes/, for newly
111 - created clones. The latter is still supported and there is
112 - no need to convert your existing repository if you are
113 - already comfortable with your workflow with the layout.
114 -
115 - - git-clone always uses what is known as "separate remote"
116 - layout for a newly created repository with a working tree.
117 -
118 - A repository with the separate remote layout starts with only
119 - one default branch, 'master', to be used for your own
120 - development. Unlike the traditional layout that copied all
121 - the upstream branches into your branch namespace (while
122 - renaming their 'master' to your 'origin'), the new layout
123 - puts upstream branches into local "remote-tracking branches"
124 - with their own namespace. These can be referenced with names
125 - such as "origin/$upstream_branch_name" and are stored in
126 - .git/refs/remotes rather than .git/refs/heads where normal
127 - branches are stored.
128 -
129 - This layout keeps your own branch namespace less cluttered,
130 - avoids name collision with your upstream, makes it possible
131 - to automatically track new branches created at the remote
132 - after you clone from it, and makes it easier to interact with
133 - more than one remote repository (you can use "git remote" to
134 - add other repositories to track). There might be some
135 - surprises:
136 -
137 - * 'git branch' does not show the remote tracking branches.
138 - It only lists your own branches. Use '-r' option to view
139 - the tracking branches.
140 -
141 - * If you are forking off of a branch obtained from the
142 - upstream, you would have done something like 'git branch
143 - my-next next', because traditional layout dropped the
144 - tracking branch 'next' into your own branch namespace.
145 - With the separate remote layout, you say 'git branch next
146 - origin/next', which allows you to use the matching name
147 - 'next' for your own branch. It also allows you to track a
148 - remote other than 'origin' (i.e. where you initially cloned
149 - from) and fork off of a branch from there the same way
150 - (e.g. "git branch mingw j6t/master").
151 -
152 - Repositories initialized with the traditional layout continue
153 - to work.
154 -
155 - - New branches that appear on the origin side after a clone is
156 - made are also tracked automatically. This is done with an
157 - wildcard refspec "refs/heads/*:refs/remotes/origin/*", which
158 - older git does not understand, so if you clone with 1.5.0,
159 - you would need to downgrade remote.*.fetch in the
160 - configuration file to specify each branch you are interested
161 - in individually if you plan to fetch into the repository with
162 - older versions of git (but why would you?).
163 -
164 - - Similarly, wildcard refspec "refs/heads/*:refs/remotes/me/*"
165 - can be given to "git-push" command to update the tracking
166 - branches that is used to track the repository you are pushing
167 - from on the remote side.
168 -
169 - - git-branch and git-show-branch know remote tracking branches
170 - (use the command line switch "-r" to list only tracked branches).
171 -
172 - - git-push can now be used to delete a remote branch or a tag.
173 - This requires the updated git on the remote side (use "git
174 - push <remote> :refs/heads/<branch>" to delete "branch").
175 -
176 - - git-push more aggressively keeps the transferred objects
177 - packed. Earlier we recommended to monitor amount of loose
178 - objects and repack regularly, but you should repack when you
179 - accumulated too many small packs this way as well. Updated
180 - git-count-objects helps you with this.
181 -
182 - - git-fetch also more aggressively keeps the transferred objects
183 - packed. This behavior of git-push and git-fetch can be
184 - tweaked with a single configuration transfer.unpacklimit (but
185 - usually there should not be any need for a user to tweak it).
186 -
187 - - A new command, git-remote, can help you manage your remote
188 - tracking branch definitions.
189 -
190 - - You may need to specify explicit paths for upload-pack and/or
191 - receive-pack due to your ssh daemon configuration on the
192 - other end. This can now be done via remote.*.uploadpack and
193 - remote.*.receivepack configuration.
194 -
195 -
196 - * Bare repositories
197 -
198 - - Certain commands change their behavior in a bare repository
199 - (i.e. a repository without associated working tree). We use
200 - a fairly conservative heuristic (if $GIT_DIR is ".git", or
201 - ends with "/.git", the repository is not bare) to decide if a
202 - repository is bare, but "core.bare" configuration variable
203 - can be used to override the heuristic when it misidentifies
204 - your repository.
205 -
206 - - git-fetch used to complain updating the current branch but
207 - this is now allowed for a bare repository. So is the use of
208 - 'git-branch -f' to update the current branch.
209 -
210 - - Porcelain-ish commands that require a working tree refuses to
211 - work in a bare repository.
212 -
213 -
214 - * Reflog
215 -
216 - - Reflog records the history from the view point of the local
217 - repository. In other words, regardless of the real history,
218 - the reflog shows the history as seen by one particular
219 - repository (this enables you to ask "what was the current
220 - revision in _this_ repository, yesterday at 1pm?"). This
221 - facility is enabled by default for repositories with working
222 - trees, and can be accessed with the "branch@{time}" and
223 - "branch@{Nth}" notation.
224 -
225 - - "git show-branch" learned showing the reflog data with the
226 - new -g option. "git log" has -g option to view reflog
227 - entries in a more verbose manner.
228 -
229 - - git-branch knows how to rename branches and moves existing
230 - reflog data from the old branch to the new one.
231 -
232 - - In addition to the reflog support in v1.4.4 series, HEAD
233 - reference maintains its own log. "HEAD@{5.minutes.ago}"
234 - means the commit you were at 5 minutes ago, which takes
235 - branch switching into account. If you want to know where the
236 - tip of your current branch was at 5 minutes ago, you need to
237 - explicitly say its name (e.g. "master@{5.minutes.ago}") or
238 - omit the refname altogether i.e. "@{5.minutes.ago}".
239 -
240 - - The commits referred to by reflog entries are now protected
241 - against pruning. The new command "git reflog expire" can be
242 - used to truncate older reflog entries and entries that refer
243 - to commits that have been pruned away previously with older
244 - versions of git.
245 -
246 - Existing repositories that have been using reflog may get
247 - complaints from fsck-objects and may not be able to run
248 - git-repack, if you had run git-prune from older git; please
249 - run "git reflog expire --stale-fix --all" first to remove
250 - reflog entries that refer to commits that are no longer in
251 - the repository when that happens.
252 -
253 -
254 - * Cruft removal
255 -
256 - - We used to say "old commits are retrievable using reflog and
257 - 'master@{yesterday}' syntax as long as you haven't run
258 - git-prune". We no longer have to say the latter half of the
259 - above sentence, as git-prune does not remove things reachable
260 - from reflog entries.
261 -
262 - - There is a toplevel garbage collector script, 'git-gc', that
263 - runs periodic cleanup functions, including 'git-repack -a -d',
264 - 'git-reflog expire', 'git-pack-refs --prune', and 'git-rerere
265 - gc'.
266 -
267 - - The output from fsck ("fsck-objects" is called just "fsck"
268 - now, but the old name continues to work) was needlessly
269 - alarming in that it warned missing objects that are reachable
270 - only from dangling objects. This has been corrected and the
271 - output is much more useful.
272 -
273 -
274 - * Detached HEAD
275 -
276 - - You can use 'git-checkout' to check out an arbitrary revision
277 - or a tag as well, instead of named branches. This will
278 - dissociate your HEAD from the branch you are currently on.
279 -
280 - A typical use of this feature is to "look around". E.g.
281 -
282 - $ git checkout v2.6.16
283 - ... compile, test, etc.
284 - $ git checkout v2.6.17
285 - ... compile, test, etc.
286 -
287 - - After detaching your HEAD, you can go back to an existing
288 - branch with usual "git checkout $branch". Also you can
289 - start a new branch using "git checkout -b $newbranch" to
290 - start a new branch at that commit.
291 -
292 - - You can even pull from other repositories, make merges and
293 - commits while your HEAD is detached. Also you can use "git
294 - reset" to jump to arbitrary commit, while still keeping your
295 - HEAD detached.
296 -
297 - Remember that a detached state is volatile, i.e. it will be forgotten
298 - as soon as you move away from it with the checkout or reset command,
299 - unless a branch is created from it as mentioned above. It is also
300 - possible to rescue a lost detached state from the HEAD reflog.
301 -
302 -
303 - * Packed refs
304 -
305 - - Repositories with hundreds of tags have been paying large
306 - overhead, both in storage and in runtime, due to the
307 - traditional one-ref-per-file format. A new command,
308 - git-pack-refs, can be used to "pack" them in more efficient
309 - representation (you can let git-gc do this for you).
310 -
311 - - Clones and fetches over dumb transports are now aware of
312 - packed refs and can download from repositories that use
313 - them.
314 -
315 -
316 - * Configuration
317 -
318 - - configuration related to color setting are consolidated under
319 - color.* namespace (older diff.color.*, status.color.* are
320 - still supported).
321 -
322 - - 'git-repo-config' command is accessible as 'git-config' now.
323 -
324 -
325 - * Updated features
326 -
327 - - git-describe uses better criteria to pick a base ref. It
328 - used to pick the one with the newest timestamp, but now it
329 - picks the one that is topologically the closest (that is,
330 - among ancestors of commit C, the ref T that has the shortest
331 - output from "git-rev-list T..C" is chosen).
332 -
333 - - git-describe gives the number of commits since the base ref
334 - between the refname and the hash suffix. E.g. the commit one
335 - before v2.6.20-rc6 in the kernel repository is:
336 -
337 - v2.6.20-rc5-306-ga21b069
338 -
339 - which tells you that its object name begins with a21b069,
340 - v2.6.20-rc5 is an ancestor of it (meaning, the commit
341 - contains everything -rc5 has), and there are 306 commits
342 - since v2.6.20-rc5.
343 -
344 - - git-describe with --abbrev=0 can be used to show only the
345 - name of the base ref.
346 -
347 - - git-blame learned a new option, --incremental, that tells it
348 - to output the blames as they are assigned. A sample script
349 - to use it is also included as contrib/blameview.
350 -
351 - - git-blame starts annotating from the working tree by default.
352 -
353 -
354 - * Less external dependency
355 -
356 - - We no longer require the "merge" program from the RCS suite.
357 - All 3-way file-level merges are now done internally.
358 -
359 - - The original implementation of git-merge-recursive which was
360 - in Python has been removed; we have a C implementation of it
361 - now.
362 -
363 - - git-shortlog is no longer a Perl script. It no longer
364 - requires output piped from git-log; it can accept revision
365 - parameters directly on the command line.
366 -
367 -
368 - * I18n
369 -
370 - - We have always encouraged the commit message to be encoded in
371 - UTF-8, but the users are allowed to use legacy encoding as
372 - appropriate for their projects. This will continue to be the
373 - case. However, a non UTF-8 commit encoding _must_ be
374 - explicitly set with i18n.commitencoding in the repository
375 - where a commit is made; otherwise git-commit-tree will
376 - complain if the log message does not look like a valid UTF-8
377 - string.
378 -
379 - - The value of i18n.commitencoding in the originating
380 - repository is recorded in the commit object on the "encoding"
381 - header, if it is not UTF-8. git-log and friends notice this,
382 - and re-encodes the message to the log output encoding when
383 - displaying, if they are different. The log output encoding
384 - is determined by "git log --encoding=<encoding>",
385 - i18n.logoutputencoding configuration, or i18n.commitencoding
386 - configuration, in the decreasing order of preference, and
387 - defaults to UTF-8.
388 -
389 - - Tools for e-mailed patch application now default to -u
390 - behavior; i.e. it always re-codes from the e-mailed encoding
391 - to the encoding specified with i18n.commitencoding. This
392 - unfortunately forces projects that have happily been using a
393 - legacy encoding without setting i18n.commitencoding to set
394 - the configuration, but taken with other improvement, please
395 - excuse us for this very minor one-time inconvenience.
396 -
397 -
398 - * e-mailed patches
399 -
400 - - See the above I18n section.
401 -
402 - - git-format-patch now enables --binary without being asked.
403 - git-am does _not_ default to it, as sending binary patch via
404 - e-mail is unusual and is harder to review than textual
405 - patches and it is prudent to require the person who is
406 - applying the patch to explicitly ask for it.
407 -
408 - - The default suffix for git-format-patch output is now ".patch",
409 - not ".txt". This can be changed with --suffix=.txt option,
410 - or setting the config variable "format.suffix" to ".txt".
411 -
412 -
413 - * Foreign SCM interfaces
414 -
415 - - git-svn now requires the Perl SVN:: libraries, the
416 - command-line backend was too slow and limited.
417 -
418 - - the 'commit' subcommand of git-svn has been renamed to
419 - 'set-tree', and 'dcommit' is the recommended replacement for
420 - day-to-day work.
421 -
422 - - git fast-import backend.
423 -
424 -
425 - * User support
426 -
427 - - Quite a lot of documentation updates.
428 -
429 - - Bash completion scripts have been updated heavily.
430 -
431 - - Better error messages for often used Porcelainish commands.
432 -
433 - - Git GUI. This is a simple Tk based graphical interface for
434 - common Git operations.
435 -
436 -
437 - * Sliding mmap
438 -
439 - - We used to assume that we can mmap the whole packfile while
440 - in use, but with a large project this consumes huge virtual
441 - memory space and truly huge ones would not fit in the
442 - userland address space on 32-bit platforms. We now mmap huge
443 - packfile in pieces to avoid this problem.
444 -
445 -
446 - * Shallow clones
447 -
448 - - There is a partial support for 'shallow' repositories that
449 - keeps only recent history. A 'shallow clone' is created by
450 - specifying how deep that truncated history should be
451 - (e.g. "git clone --depth 5 git://some.where/repo.git").
452 -
453 - Currently a shallow repository has number of limitations:
454 -
455 - - Cloning and fetching _from_ a shallow clone are not
456 - supported (nor tested -- so they might work by accident but
457 - they are not expected to).
458 -
459 - - Pushing from nor into a shallow clone are not expected to
460 - work.
461 -
462 - - Merging inside a shallow repository would work as long as a
463 - merge base is found in the recent history, but otherwise it
464 - will be like merging unrelated histories and may result in
465 - huge conflicts.
466 -
467 - but this would be more than adequate for people who want to
468 - look at near the tip of a big project with a deep history and
469 - send patches in e-mail format.
deleted Documentation/RelNotes/1.5.1.1.adoc mode 100644
@@ -1,65 +0,0 @@
1 - GIT v1.5.1.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.1
5 - ------------------
6 -
7 - * Documentation updates
8 -
9 - - The --left-right option of rev-list and friends is documented.
10 -
11 - - The documentation for cvsimport has been majorly improved.
12 -
13 - - "git-show-ref --exclude-existing" was documented.
14 -
15 - * Bugfixes
16 -
17 - - The implementation of -p option in "git cvsexportcommit" had
18 - the meaning of -C (context reduction) option wrong, and
19 - loosened the context requirements when it was told to be
20 - strict.
21 -
22 - - "git cvsserver" did not behave like the real cvsserver when
23 - client side removed a file from the working tree without
24 - doing anything else on the path. In such a case, it should
25 - restore it from the checked out revision.
26 -
27 - - "git fsck" issued an alarming error message on detached
28 - HEAD. It is not an error since at least 1.5.0.
29 -
30 - - "git send-email" produced of References header of unbounded length;
31 - fixed this with line-folding.
32 -
33 - - "git archive" to download from remote site should not
34 - require you to be in a git repository, but it incorrectly
35 - did.
36 -
37 - - "git apply" ignored -p<n> for "diff --git" formatted
38 - patches.
39 -
40 - - "git rerere" recorded a conflict that had one side empty
41 - (the other side adds) incorrectly; this made merging in the
42 - other direction fail to use previously recorded resolution.
43 -
44 - - t4200 test was broken where "wc -l" pads its output with
45 - spaces.
46 -
47 - - "git branch -m old new" to rename branch did not work
48 - without a configuration file in ".git/config".
49 -
50 - - The sample hook for notification e-mail was misnamed.
51 -
52 - - gitweb did not show type-changing patch correctly in the
53 - blobdiff view.
54 -
55 - - git-svn did not error out with incorrect command line options.
56 -
57 - - git-svn fell into an infinite loop when insanely long commit
58 - message was found.
59 -
60 - - git-svn dcommit and rebase was confused by patches that were
61 - merged from another branch that is managed by git-svn.
62 -
63 - - git-svn used to get confused when globbing remote branch/tag
64 - spec (e.g. "branches = proj/branches/*:refs/remotes/origin/*")
65 - is used and there was a plain file that matched the glob.
deleted Documentation/RelNotes/1.5.1.2.adoc mode 100644
@@ -1,50 +0,0 @@
1 - GIT v1.5.1.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.1.1
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - "git clone" over http from a repository that has lost the
10 - loose refs by running "git pack-refs" were broken (a code to
11 - deal with this was added to "git fetch" in v1.5.0, but it
12 - was missing from "git clone").
13 -
14 - - "git diff a/ b/" incorrectly fell in "diff between two
15 - filesystem objects" codepath, when the user most likely
16 - wanted to limit the extent of output to two tracked
17 - directories.
18 -
19 - - git-quiltimport had the same bug as we fixed for
20 - git-applymbox in v1.5.1.1 -- it gave an alarming "did not
21 - have any patch" message (but did not actually fail and was
22 - harmless).
23 -
24 - - various git-svn fixes.
25 -
26 - - Sample update hook incorrectly always refused requests to
27 - delete branches through push.
28 -
29 - - git-blame on a very long working tree path had buffer
30 - overrun problem.
31 -
32 - - git-apply did not like to be fed two patches in a row that created
33 - and then modified the same file.
34 -
35 - - git-svn was confused when a non-project was stored directly under
36 - trunk/, branches/ and tags/.
37 -
38 - - git-svn wants the Error.pm module that was at least as new
39 - as what we ship as part of git; install ours in our private
40 - installation location if the one on the system is older.
41 -
42 - - An earlier update to command line integer parameter parser was
43 - botched and made 'update-index --cacheinfo' completely useless.
44 -
45 -
46 - * Documentation updates
47 -
48 - - Various documentation updates from J. Bruce Fields, Frank
49 - Lichtenheld, Alex Riesen and others. Andrew Ruder started a
50 - war on undocumented options.
deleted Documentation/RelNotes/1.5.1.3.adoc mode 100644
@@ -1,45 +0,0 @@
1 - GIT v1.5.1.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.1.2
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - git-add tried to optimize by finding common leading
10 - directories across its arguments but botched, causing very
11 - confused behaviour.
12 -
13 - - unofficial rpm.spec file shipped with git was letting
14 - ETC_GITCONFIG set to /usr/etc/gitconfig. Tweak the official
15 - Makefile to make it harder for distro people to make the
16 - same mistake, by setting the variable to /etc/gitconfig if
17 - prefix is set to /usr.
18 -
19 - - git-svn inconsistently stripped away username from the URL
20 - only when svnsync_props was in use.
21 -
22 - - git-svn got confused when handling symlinks on Mac OS.
23 -
24 - - git-send-email was not quoting recipient names that have
25 - period '.' in them. Also it did not allow overriding
26 - envelope sender, which made it impossible to send patches to
27 - certain subscriber-only lists.
28 -
29 - - built-in write_tree() routine had a sequence that renamed a
30 - file that is still open, which some systems did not like.
31 -
32 - - when memory is very tight, sliding mmap code to read
33 - packfiles incorrectly closed the fd that was still being
34 - used to read the pack.
35 -
36 - - import-tars contributed front-end for fastimport was passing
37 - wrong directory modes without checking.
38 -
39 - - git-fastimport trusted its input too much and allowed to
40 - create corrupt tree objects with entries without a name.
41 -
42 - - git-fetch needlessly barfed when too long reflog action
43 - description was given by the caller.
44 -
45 - Also contains various documentation updates.
deleted Documentation/RelNotes/1.5.1.4.adoc mode 100644
@@ -1,30 +0,0 @@
1 - GIT v1.5.1.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.1.3
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - "git-http-fetch" did not work around a bug in libcurl
10 - earlier than 7.16 (curl_multi_remove_handle() was broken).
11 -
12 - - "git cvsserver" handles a file that was once removed and
13 - then added again correctly.
14 -
15 - - import-tars script (in contrib/) handles GNU tar archives
16 - that contain pathnames longer than 100 bytes (long-link
17 - extension) correctly.
18 -
19 - - xdelta test program did not build correctly.
20 -
21 - - gitweb sometimes tried incorrectly to apply function to
22 - decode utf8 twice, resulting in corrupt output.
23 -
24 - - "git blame -C" mishandled text at the end of a group of
25 - lines.
26 -
27 - - "git log/rev-list --boundary" did not produce output
28 - correctly without --left-right option.
29 -
30 - - Many documentation updates.
deleted Documentation/RelNotes/1.5.1.5.adoc mode 100644
@@ -1,42 +0,0 @@
1 - GIT v1.5.1.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.1.4
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - git-send-email did not understand aliases file for mutt, which
10 - allows leading whitespaces.
11 -
12 - - git-format-patch emitted Content-Type and Content-Transfer-Encoding
13 - headers for non ASCII contents, but failed to add MIME-Version.
14 -
15 - - git-name-rev had a buffer overrun with a deep history.
16 -
17 - - contributed script import-tars did not get the directory in
18 - tar archives interpreted correctly.
19 -
20 - - git-svn was reported to segfault for many people on list and
21 - #git; hopefully this has been fixed.
22 -
23 - - "git-svn clone" does not try to minimize the URL
24 - (i.e. connect to higher level hierarchy) by default, as this
25 - can prevent clone to fail if only part of the repository
26 - (e.g. 'trunk') is open to public.
27 -
28 - - "git checkout branch^0" did not detach the head when you are
29 - already on 'branch'; backported the fix from the 'master'.
30 -
31 - - "git-config section.var" did not correctly work when
32 - existing configuration file had both [section] and [section "name"]
33 - next to each other.
34 -
35 - - "git clone ../other-directory" was fooled if the current
36 - directory $PWD points at is a symbolic link.
37 -
38 - - (build) tree_entry_extract() function was both static inline
39 - and extern, which caused trouble compiling with Forte12
40 - compilers on Sun.
41 -
42 - - Many many documentation fixes and updates.
deleted Documentation/RelNotes/1.5.1.6.adoc mode 100644
@@ -1,45 +0,0 @@
1 - GIT v1.5.1.6 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.1.4
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - git-send-email did not understand aliases file for mutt, which
10 - allows leading whitespaces.
11 -
12 - - git-format-patch emitted Content-Type and Content-Transfer-Encoding
13 - headers for non ASCII contents, but failed to add MIME-Version.
14 -
15 - - git-name-rev had a buffer overrun with a deep history.
16 -
17 - - contributed script import-tars did not get the directory in
18 - tar archives interpreted correctly.
19 -
20 - - git-svn was reported to segfault for many people on list and
21 - #git; hopefully this has been fixed.
22 -
23 - - git-svn also had a bug to crash svnserve by sending a bad
24 - sequence of requests.
25 -
26 - - "git-svn clone" does not try to minimize the URL
27 - (i.e. connect to higher level hierarchy) by default, as this
28 - can prevent clone to fail if only part of the repository
29 - (e.g. 'trunk') is open to public.
30 -
31 - - "git checkout branch^0" did not detach the head when you are
32 - already on 'branch'; backported the fix from the 'master'.
33 -
34 - - "git-config section.var" did not correctly work when
35 - existing configuration file had both [section] and [section "name"]
36 - next to each other.
37 -
38 - - "git clone ../other-directory" was fooled if the current
39 - directory $PWD points at is a symbolic link.
40 -
41 - - (build) tree_entry_extract() function was both static inline
42 - and extern, which caused trouble compiling with Forte12
43 - compilers on Sun.
44 -
45 - - Many many documentation fixes and updates.
deleted Documentation/RelNotes/1.5.1.adoc mode 100644
@@ -1,371 +0,0 @@
1 - GIT v1.5.1 Release Notes
2 - ========================
3 -
4 - Updates since v1.5.0
5 - --------------------
6 -
7 - * Deprecated commands and options.
8 -
9 - - git-diff-stages and git-resolve have been removed.
10 -
11 - * New commands and options.
12 -
13 - - "git log" and friends take --reverse, which instructs them
14 - to give their output in the order opposite from their usual.
15 - They typically output from new to old, but with this option
16 - their output would read from old to new. "git shortlog"
17 - usually lists older commits first, but with this option,
18 - they are shown from new to old.
19 -
20 - - "git log --pretty=format:<string>" to allow more flexible
21 - custom log output.
22 -
23 - - "git diff" learned --ignore-space-at-eol. This is a weaker
24 - form of --ignore-space-change.
25 -
26 - - "git diff --no-index pathA pathB" can be used as diff
27 - replacement with git specific enhancements.
28 -
29 - - "git diff --no-index" can read from '-' (standard input).
30 -
31 - - "git diff" also learned --exit-code to exit with non-zero
32 - status when it found differences. In the future we might
33 - want to make this the default but that would be a rather big
34 - backward incompatible change; it will stay as an option for
35 - now.
36 -
37 - - "git diff --quiet" is --exit-code with output turned off,
38 - meant for scripted use to quickly determine if there is any
39 - tree-level difference.
40 -
41 - - Textual patch generation with "git diff" without -w/-b
42 - option has been significantly optimized. "git blame" got
43 - faster because of the same change.
44 -
45 - - "git log" and "git rev-list" has been optimized
46 - significantly when they are used with pathspecs.
47 -
48 - - "git branch --track" can be used to set up configuration
49 - variables to help it easier to base your work on branches
50 - you track from a remote site.
51 -
52 - - "git format-patch --attach" now emits attachments. Use
53 - --inline to get an inlined multipart/mixed.
54 -
55 - - "git name-rev" learned --refs=<pattern>, to limit the tags
56 - used for naming the given revisions only to the ones
57 - matching the given pattern.
58 -
59 - - "git remote update" is to run "git fetch" for defined remotes
60 - to update tracking branches.
61 -
62 - - "git cvsimport" can now take '-d' to talk with a CVS
63 - repository different from what are recorded in CVS/Root
64 - (overriding it with environment CVSROOT does not work).
65 -
66 - - "git bundle" can help sneaker-netting your changes between
67 - repositories.
68 -
69 - - "git mergetool" can help 3-way file-level conflict
70 - resolution with your favorite graphical merge tools.
71 -
72 - - A new configuration "core.symlinks" can be used to disable
73 - symlinks on filesystems that do not support them; they are
74 - checked out as regular files instead.
75 -
76 - - You can name a commit object with its first line of the
77 - message. The syntax to use is ':/message text'. E.g.
78 -
79 - $ git show ":/object name: introduce ':/<oneline prefix>' notation"
80 -
81 - means the same thing as:
82 -
83 - $ git show 28a4d940443806412effa246ecc7768a21553ec7
84 -
85 - - "git bisect" learned a new command "run" that takes a script
86 - to run after each revision is checked out to determine if it
87 - is good or bad, to automate the bisection process.
88 -
89 - - "git log" family learned a new traversal option --first-parent,
90 - which does what the name suggests.
91 -
92 -
93 - * Updated behavior of existing commands.
94 -
95 - - "git-merge-recursive" used to barf when there are more than
96 - one common ancestors for the merge, and merging them had a
97 - rename/rename conflict. This has been fixed.
98 -
99 - - "git fsck" does not barf on corrupt loose objects.
100 -
101 - - "git rm" does not remove newly added files without -f.
102 -
103 - - "git archimport" allows remapping when coming up with git
104 - branch names from arch names.
105 -
106 - - git-svn got almost a rewrite.
107 -
108 - - core.autocrlf configuration, when set to 'true', makes git
109 - to convert CRLF at the end of lines in text files to LF when
110 - reading from the filesystem, and convert in reverse when
111 - writing to the filesystem. The variable can be set to
112 - 'input', in which case the conversion happens only while
113 - reading from the filesystem but files are written out with
114 - LF at the end of lines. Currently, which paths to consider
115 - 'text' (i.e. be subjected to the autocrlf mechanism) is
116 - decided purely based on the contents, but the plan is to
117 - allow users to explicitly override this heuristic based on
118 - paths.
119 -
120 - - The behavior of 'git-apply', when run in a subdirectory,
121 - without --index nor --cached were inconsistent with that of
122 - the command with these options. This was fixed to match the
123 - behavior with --index. A patch that is meant to be applied
124 - with -p1 from the toplevel of the project tree can be
125 - applied with any custom -p<n> option. A patch that is not
126 - relative to the toplevel needs to be applied with -p<n>
127 - option with or without --index (or --cached).
128 -
129 - - "git diff" outputs a trailing HT when pathnames have embedded
130 - SP on +++/--- header lines, in order to help "GNU patch" to
131 - parse its output. "git apply" was already updated to accept
132 - this modified output format since ce74618d (Sep 22, 2006).
133 -
134 - - "git cvsserver" runs hooks/update and honors its exit status.
135 -
136 - - "git cvsserver" can be told to send everything with -kb.
137 -
138 - - "git diff --check" also honors the --color output option.
139 -
140 - - "git name-rev" used to stress the fact that a ref is a tag too
141 - much, by saying something like "v1.2.3^0~22". It now says
142 - "v1.2.3~22" in such a case (it still says "v1.2.3^0" if it does
143 - not talk about an ancestor of the commit that is tagged, which
144 - makes sense).
145 -
146 - - "git rev-list --boundary" now shows boundary markers for the
147 - commits omitted by --max-age and --max-count condition.
148 -
149 - - The configuration mechanism now reads $(prefix)/etc/gitconfig.
150 -
151 - - "git apply --verbose" shows what preimage lines were wanted
152 - when it couldn't find them.
153 -
154 - - "git status" in a read-only repository got a bit saner.
155 -
156 - - "git fetch" (hence "git clone" and "git pull") are less
157 - noisy when the output does not go to tty.
158 -
159 - - "git fetch" between repositories with many refs were slow
160 - even when there are not many changes that needed
161 - transferring. This has been sped up by partially rewriting
162 - the heaviest parts in C.
163 -
164 - - "git mailinfo" which splits an e-mail into a patch and the
165 - meta-information was rewritten, thanks to Don Zickus. It
166 - handles nested multipart better. The command was broken for
167 - a brief period on 'master' branch since 1.5.0 but the
168 - breakage is fixed now.
169 -
170 - - send-email learned configurable bcc and chain-reply-to.
171 -
172 - - "git remote show $remote" also talks about branches that
173 - would be pushed if you run "git push remote".
174 -
175 - - Using objects from packs is now seriously optimized by clever
176 - use of a cache. This should be most noticeable in git-log
177 - family of commands that involve reading many tree objects.
178 - In addition, traversing revisions while filtering changes
179 - with pathspecs is made faster by terminating the comparison
180 - between the trees as early as possible.
181 -
182 -
183 - * Hooks
184 -
185 - - The part to send out notification e-mails was removed from
186 - the sample update hook, as it was not an appropriate place
187 - to do so. The proper place to do this is the new post-receive
188 - hook. An example hook has been added to contrib/hooks/.
189 -
190 -
191 - * Others
192 -
193 - - git-revert, git-gc and git-cherry-pick are now built-ins.
194 -
195 - Fixes since v1.5.0
196 - ------------------
197 -
198 - These are all in v1.5.0.x series.
199 -
200 - * Documentation updates
201 -
202 - - Clarifications and corrections to 1.5.0 release notes.
203 -
204 - - The main documentation did not link to git-remote documentation.
205 -
206 - - Clarified introductory text of git-rebase documentation.
207 -
208 - - Converted remaining mentions of update-index on Porcelain
209 - documents to git-add/git-rm.
210 -
211 - - Some i18n.* configuration variables were incorrectly
212 - described as core.*; fixed.
213 -
214 - - added and clarified core.bare, core.legacyheaders configurations.
215 -
216 - - updated "git-clone --depth" documentation.
217 -
218 - - user-manual updates.
219 -
220 - - Options to 'git remote add' were described insufficiently.
221 -
222 - - Configuration format.suffix was not documented.
223 -
224 - - Other formatting and spelling fixes.
225 -
226 - - user-manual has better cross references.
227 -
228 - - gitweb installation/deployment procedure is now documented.
229 -
230 -
231 - * Bugfixes
232 -
233 - - git-upload-pack closes unused pipe ends; earlier this caused
234 - many zombies to hang around.
235 -
236 - - git-rerere was recording the contents of earlier hunks
237 - duplicated in later hunks. This prevented resolving the same
238 - conflict when performing the same merge the other way around.
239 -
240 - - git-add and git-update-index on a filesystem on which
241 - executable bits are unreliable incorrectly reused st_mode
242 - bits even when the path changed between symlink and regular
243 - file.
244 -
245 - - git-daemon marks the listening sockets with FD_CLOEXEC so
246 - that it won't be leaked into the children.
247 -
248 - - segfault from git-blame when the mandatory pathname
249 - parameter was missing was fixed; usage() message is given
250 - instead.
251 -
252 - - git-rev-list did not read $GIT_DIR/config file, which means
253 - that did not honor i18n.logoutputencoding correctly.
254 -
255 - - Automated merge conflict handling when changes to symbolic
256 - links conflicted were completely broken. The merge-resolve
257 - strategy created a regular file with conflict markers in it
258 - in place of the symbolic link. The default strategy,
259 - merge-recursive was even more broken. It removed the path
260 - that was pointed at by the symbolic link. Both of these
261 - problems have been fixed.
262 -
263 - - 'git diff maint master next' did not correctly give combined
264 - diff across three trees.
265 -
266 - - 'git fast-import' portability fix for Solaris.
267 -
268 - - 'git show-ref --verify' without arguments did not error out
269 - but segfaulted.
270 -
271 - - 'git diff :tracked-file `pwd`/an-untracked-file' gave an extra
272 - slashes after a/ and b/.
273 -
274 - - 'git format-patch' produced too long filenames if the commit
275 - message had too long line at the beginning.
276 -
277 - - Running 'make all' and then without changing anything
278 - running 'make install' still rebuilt some files. This
279 - was inconvenient when building as yourself and then
280 - installing as root (especially problematic when the source
281 - directory is on NFS and root is mapped to nobody).
282 -
283 - - 'git-rerere' failed to deal with two unconflicted paths that
284 - sorted next to each other.
285 -
286 - - 'git-rerere' attempted to open(2) a symlink and failed if
287 - there was a conflict. Since a conflicting change to a
288 - symlink would not benefit from rerere anyway, the command
289 - now ignores conflicting changes to symlinks.
290 -
291 - - 'git-repack' did not like to pass more than 64 arguments
292 - internally to underlying 'rev-list' logic, which made it
293 - impossible to repack after accumulating many (small) packs
294 - in the repository.
295 -
296 - - 'git-diff' to review the combined diff during a conflicted
297 - merge were not reading the working tree version correctly
298 - when changes to a symbolic link conflicted. It should have
299 - read the data using readlink(2) but read from the regular
300 - file the symbolic link pointed at.
301 -
302 - - 'git-remote' did not like period in a remote's name.
303 -
304 - - 'git.el' honors the commit coding system from the configuration.
305 -
306 - - 'blameview' in contrib/ correctly digs deeper when a line is
307 - clicked.
308 -
309 - - 'http-push' correctly makes sure the remote side has leading
310 - path. Earlier it started in the middle of the path, and
311 - incorrectly.
312 -
313 - - 'git-merge' did not exit with non-zero status when the
314 - working tree was dirty and cannot fast forward. It does
315 - now.
316 -
317 - - 'cvsexportcommit' does not lose yet-to-be-used message file.
318 -
319 - - int-vs-size_t typefix when running combined diff on files
320 - over 2GB long.
321 -
322 - - 'git apply --whitespace=strip' should not touch unmodified
323 - lines.
324 -
325 - - 'git-mailinfo' choke when a logical header line was too long.
326 -
327 - - 'git show A..B' did not error out. Negative ref ("not A" in
328 - this example) does not make sense for the purpose of the
329 - command, so now it errors out.
330 -
331 - - 'git fmt-merge-msg --file' without file parameter did not
332 - correctly error out.
333 -
334 - - 'git archimport' barfed upon encountering a commit without
335 - summary.
336 -
337 - - 'git index-pack' did not protect itself from getting a short
338 - read out of pread(2).
339 -
340 - - 'git http-push' had a few buffer overruns.
341 -
342 - - Build dependency fixes to rebuild fetch.o when other headers
343 - change.
344 -
345 - - git.el does not add duplicate sign-off lines.
346 -
347 - - git-commit shows the full stat of the resulting commit, not
348 - just about the files in the current directory, when run from
349 - a subdirectory.
350 -
351 - - "git-checkout -m '@{8 hours ago}'" had a funny failure from
352 - eval; fixed.
353 -
354 - - git-merge (hence git-pull) did not refuse fast-forwarding
355 - when the working tree had local changes that would have
356 - conflicted with it.
357 -
358 - - a handful small fixes to gitweb.
359 -
360 - - build procedure for user-manual is fixed not to require locally
361 - installed stylesheets.
362 -
363 - - "git commit $paths" on paths whose earlier contents were
364 - already updated in the index were failing out.
365 -
366 -
367 - * Tweaks
368 -
369 - - sliding mmap() inefficiently mmaped the same region of a
370 - packfile with an access pattern that used objects in the
371 - reverse order. This has been made more efficient.
deleted Documentation/RelNotes/1.5.2.1.adoc mode 100644
@@ -1,47 +0,0 @@
1 - GIT v1.5.2.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.2
5 - ------------------
6 -
7 - * Bugfixes
8 -
9 - - Temporary files that are used when invoking external diff
10 - programs did not tolerate a long TMPDIR.
11 -
12 - - git-daemon did not notice when it could not write into its
13 - pid file.
14 -
15 - - git-status did not honor core.excludesFile configuration like
16 - git-add did.
17 -
18 - - git-annotate did not work from a subdirectory while
19 - git-blame did.
20 -
21 - - git-cvsserver should have disabled access to a repository
22 - with "gitcvs.pserver.enabled = false" set even when
23 - "gitcvs.enabled = true" was set at the same time. It
24 - didn't.
25 -
26 - - git-cvsimport did not work correctly in a repository with
27 - its branch heads were packed with pack-refs.
28 -
29 - - ident unexpansion to squash "$Id: xxx $" that is in the
30 - repository copy removed incorrect number of bytes.
31 -
32 - - git-svn misbehaved when the subversion repository did not
33 - provide MD5 checksums for files.
34 -
35 - - git rebase (and git am) misbehaved on commits that have '\n'
36 - (literally backslash and en, not a linefeed) in the title.
37 -
38 - - code to decode base85 used in binary patches had one error
39 - return codepath wrong.
40 -
41 - - RFC2047 Q encoding output by git-format-patch used '_' for a
42 - space, which is not understood by some programs. It uses =20
43 - which is safer.
44 -
45 - - git-fastimport --import-marks was broken; fixed.
46 -
47 - - A lot of documentation updates, clarifications and fixes.
deleted Documentation/RelNotes/1.5.2.2.adoc mode 100644
@@ -1,61 +0,0 @@
1 - GIT v1.5.2.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.2.1
5 - --------------------
6 -
7 - * Usability fix
8 -
9 - - git-gui is shipped with its updated blame interface. It is
10 - rumored that the older one was not just unusable but was
11 - active health hazard, but this one is actually pretty.
12 - Please see for yourself.
13 -
14 - * Bugfixes
15 -
16 - - "git checkout fubar" was utterly confused when there is a
17 - branch fubar and a tag fubar at the same time. It correctly
18 - checks out the branch fubar now.
19 -
20 - - "git clone /path/foo" to clone a local /path/foo.git
21 - repository left an incorrect configuration.
22 -
23 - - "git send-email" correctly unquotes RFC 2047 quoted names in
24 - the patch-email before using their values.
25 -
26 - - We did not accept number of seconds since epoch older than
27 - year 2000 as a valid timestamp. We now interpret positive
28 - integers more than 8 digits as such, which allows us to
29 - express timestamps more recent than March 1973.
30 -
31 - - git-cvsimport did not work when you have GIT_DIR to point
32 - your repository at a nonstandard location.
33 -
34 - - Some systems (notably, Solaris) lack hstrerror() to make
35 - h_errno human readable; prepare a replacement
36 - implementation.
37 -
38 - - .gitignore file listed git-core.spec but what we generate is
39 - git.spec, and nobody noticed for a long time.
40 -
41 - - "git-merge-recursive" does not try to run file level merge
42 - on binary files.
43 -
44 - - "git-branch --track" did not create tracking configuration
45 - correctly when the branch name had slash in it.
46 -
47 - - The email address of the user specified with user.email
48 - configuration was overridden by EMAIL environment variable.
49 -
50 - - The tree parser did not warn about tree entries with
51 - nonsense file modes, and assumed they must be blobs.
52 -
53 - - "git log -z" without any other request to generate diff still
54 - invoked the diff machinery, wasting cycles.
55 -
56 - * Documentation
57 -
58 - - Many updates to fix stale or missing documentation.
59 -
60 - - Although our documentation was primarily meant to be formatted
61 - with AsciiDoc7, formatting with AsciiDoc8 is supported better.
deleted Documentation/RelNotes/1.5.2.3.adoc mode 100644
@@ -1,27 +0,0 @@
1 - GIT v1.5.2.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.2.2
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - Version 2 pack index format was introduced in version 1.5.2
10 - to support pack files that has offset that cannot be
11 - represented in 32-bit. The runtime code to validate such
12 - an index mishandled such an index for an empty pack.
13 -
14 - - Commit walkers (most notably, fetch over http protocol)
15 - tried to traverse commit objects contained in trees (aka
16 - subproject); they shouldn't.
17 -
18 - - A build option NO_R_TO_GCC_LINKER was not explained in Makefile
19 - comment correctly.
20 -
21 - * Documentation Fixes and Updates
22 -
23 - - git-config --regexp was not documented properly.
24 -
25 - - git-repack -a was not documented properly.
26 -
27 - - git-remote -n was not documented properly.
deleted Documentation/RelNotes/1.5.2.4.adoc mode 100644
@@ -1,28 +0,0 @@
1 - GIT v1.5.2.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.2.3
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - "git-gui" bugfixes, including a handful fixes to run it
10 - better on Cygwin/MSYS.
11 -
12 - - "git checkout" failed to switch back and forth between
13 - branches, one of which has "frotz -> xyzzy" symlink and
14 - file "xyzzy/filfre", while the other one has a file
15 - "frotz/filfre".
16 -
17 - - "git prune" used to segfault upon seeing a commit that is
18 - referred to by a tree object (aka "subproject").
19 -
20 - - "git diff --name-status --no-index" mishandled an added file.
21 -
22 - - "git apply --reverse --whitespace=warn" still complained
23 - about whitespaces that a forward application would have
24 - introduced.
25 -
26 - * Documentation Fixes and Updates
27 -
28 - - A handful documentation updates.
deleted Documentation/RelNotes/1.5.2.5.adoc mode 100644
@@ -1,30 +0,0 @@
1 - GIT v1.5.2.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.2.4
5 - --------------------
6 -
7 - * Bugfixes
8 -
9 - - "git add -u" had a serious data corruption problem in one
10 - special case (when the changes to a subdirectory's files
11 - consist only deletion of files).
12 -
13 - - "git add -u <path>" did not work from a subdirectory.
14 -
15 - - "git apply" left an empty directory after all its files are
16 - renamed away.
17 -
18 - - "git $anycmd foo/bar", when there is a file 'foo' in the
19 - working tree, complained that "git $anycmd foo/bar --" form
20 - should be used to disambiguate between revs and files,
21 - which was completely bogus.
22 -
23 - - "git checkout-index" and other commands that checks out
24 - files to the work tree tried unlink(2) on directories,
25 - which is a sane thing to do on sane systems, but not on
26 - Solaris when you are root.
27 -
28 - * Documentation Fixes and Updates
29 -
30 - - A handful documentation fixes.
deleted Documentation/RelNotes/1.5.2.adoc mode 100644
@@ -1,197 +0,0 @@
1 - GIT v1.5.2 Release Notes
2 - ========================
3 -
4 - Updates since v1.5.1
5 - --------------------
6 -
7 - * Plumbing level superproject support.
8 -
9 - You can include a subdirectory that has an independent git
10 - repository in your index and tree objects of your project
11 - ("superproject"). This plumbing (i.e. "core") level
12 - superproject support explicitly excludes recursive behaviour.
13 -
14 - The "subproject" entries in the index and trees of a superproject
15 - are incompatible with older versions of git. Experimenting with
16 - the plumbing level support is encouraged, but be warned that
17 - unless everybody in your project updates to this release or
18 - later, using this feature would make your project
19 - inaccessible by people with older versions of git.
20 -
21 - * Plumbing level gitattributes support.
22 -
23 - The gitattributes mechanism allows you to add 'attributes' to
24 - paths in your project, and affect the way certain git
25 - operations work. Currently you can influence if a path is
26 - considered a binary or text (the former would be treated by
27 - 'git diff' not to produce textual output; the latter can go
28 - through the line endings conversion process in repositories
29 - with core.autocrlf set), expand and unexpand '$Id$' keyword
30 - with blob object name, specify a custom 3-way merge driver,
31 - and specify a custom diff driver. You can also apply
32 - arbitrary filter to contents on check-in/check-out codepath
33 - but this feature is an extremely sharp-edged razor and needs
34 - to be handled with caution (do not use it unless you
35 - understand the earlier mailing list discussion on keyword
36 - expansion). These conversions apply when checking files in
37 - or out, and exporting via git-archive.
38 -
39 - * The packfile format now optionally supports 64-bit index.
40 -
41 - This release supports the "version 2" format of the .idx
42 - file. This is automatically enabled when a huge packfile
43 - needs more than 32-bit to express offsets of objects in the
44 - pack.
45 -
46 - * Comes with an updated git-gui 0.7.1
47 -
48 - * Updated gitweb:
49 -
50 - - can show combined diff for merges;
51 - - uses font size of user's preference, not hardcoded in pixels;
52 - - can now 'grep';
53 -
54 - * New commands and options.
55 -
56 - - "git bisect start" can optionally take a single bad commit and
57 - zero or more good commits on the command line.
58 -
59 - - "git shortlog" can optionally be told to wrap its output.
60 -
61 - - "subtree" merge strategy allows another project to be merged in as
62 - your subdirectory.
63 -
64 - - "git format-patch" learned a new --subject-prefix=<string>
65 - option, to override the built-in "[PATCH]".
66 -
67 - - "git add -u" is a quick way to do the first stage of "git
68 - commit -a" (i.e. update the index to match the working
69 - tree); it obviously does not make a commit.
70 -
71 - - "git clean" honors a new configuration, "clean.requireforce". When
72 - set to true, this makes "git clean" a no-op, preventing you
73 - from losing files by typing "git clean" when you meant to
74 - say "make clean". You can still say "git clean -f" to
75 - override this.
76 -
77 - - "git log" family of commands learned --date={local,relative,default}
78 - option. --date=relative is synonym to the --relative-date.
79 - --date=local gives the timestamp in local timezone.
80 -
81 - * Updated behavior of existing commands.
82 -
83 - - When $GIT_COMMITTER_EMAIL or $GIT_AUTHOR_EMAIL is not set
84 - but $EMAIL is set, the latter is used as a substitute.
85 -
86 - - "git diff --stat" shows size of preimage and postimage blobs
87 - for binary contents. Earlier it only said "Bin".
88 -
89 - - "git lost-found" shows stuff that are unreachable except
90 - from reflogs.
91 -
92 - - "git checkout branch^0" now detaches HEAD at the tip commit
93 - on the named branch, instead of just switching to the
94 - branch (use "git checkout branch" to switch to the branch,
95 - as before).
96 -
97 - - "git bisect next" can be used after giving only a bad commit
98 - without giving a good one (this starts bisection half-way to
99 - the root commit). We used to refuse to operate without a
100 - good and a bad commit.
101 -
102 - - "git push", when pushing into more than one repository, does
103 - not stop at the first error.
104 -
105 - - "git archive" does not insist you to give --format parameter
106 - anymore; it defaults to "tar".
107 -
108 - - "git cvsserver" can use backends other than sqlite.
109 -
110 - - "gitview" (in contrib/ section) learned to better support
111 - "git-annotate".
112 -
113 - - "git diff $commit1:$path2 $commit2:$path2" can now report
114 - mode changes between the two blobs.
115 -
116 - - Local "git fetch" from a repository whose object store is
117 - one of the alternates (e.g. fetching from the origin in a
118 - repository created with "git clone -l -s") avoids
119 - downloading objects unnecessarily.
120 -
121 - - "git blame" uses .mailmap to canonicalize the author name
122 - just like "git shortlog" does.
123 -
124 - - "git pack-objects" pays attention to pack.depth
125 - configuration variable.
126 -
127 - - "git cherry-pick" and "git revert" does not use .msg file in
128 - the working tree to prepare commit message; instead it uses
129 - $GIT_DIR/MERGE_MSG as other commands do.
130 -
131 - * Builds
132 -
133 - - git-p4import has never been installed; now there is an
134 - installation option to do so.
135 -
136 - - gitk and git-gui can be configured out.
137 -
138 - - Generated documentation pages automatically get version
139 - information from GIT_VERSION.
140 -
141 - - Parallel build with "make -j" descending into subdirectory
142 - was fixed.
143 -
144 - * Performance Tweaks
145 -
146 - - Optimized "git-rev-list --bisect" (hence "git-bisect").
147 -
148 - - Optimized "git-add $path" in a large directory, most of
149 - whose contents are ignored.
150 -
151 - - Optimized "git-diff-tree" for reduced memory footprint.
152 -
153 - - The recursive merge strategy updated a worktree file that
154 - was changed identically in two branches, when one of them
155 - renamed it. We do not do that when there is no rename, so
156 - match that behaviour. This avoids excessive rebuilds.
157 -
158 - - The default pack depth has been increased to 50, as the
159 - recent addition of delta_base_cache makes deeper delta chains
160 - much less expensive to access. Depending on the project, it was
161 - reported that this reduces the resulting pack file by 10%
162 - or so.
163 -
164 -
165 - Fixes since v1.5.1
166 - ------------------
167 -
168 - All of the fixes in v1.5.1 maintenance series are included in
169 - this release, unless otherwise noted.
170 -
171 - * Bugfixes
172 -
173 - - Switching branches with "git checkout" refused to work when
174 - a path changes from a file to a directory between the
175 - current branch and the new branch, in order not to lose
176 - possible local changes in the directory that is being turned
177 - into a file with the switch. We now allow such a branch
178 - switch after making sure that there is no locally modified
179 - file nor un-ignored file in the directory. This has not
180 - been backported to 1.5.1.x series, as it is rather an
181 - intrusive change.
182 -
183 - - Merging branches that have a file in one and a directory in
184 - another at the same path used to get quite confused. We
185 - handle such a case a bit more carefully, even though that is
186 - still left as a conflict for the user to sort out. This
187 - will not be backported to 1.5.1.x series, as it is rather an
188 - intrusive change.
189 -
190 - - git-fetch had trouble with a remote with insanely large number
191 - of refs.
192 -
193 - - "git clean -d -X" now does not remove non-excluded directories.
194 -
195 - - rebasing (without -m) a series that changes a symlink to a directory
196 - in the middle of a path confused git-apply greatly and refused to
197 - operate.
deleted Documentation/RelNotes/1.5.3.1.adoc mode 100644
@@ -1,10 +0,0 @@
1 - GIT v1.5.3.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.3
5 - ------------------
6 -
7 - This is solely to fix the generated RPM's dependencies. We used
8 - to have git-p4 package but we do not anymore. As suggested on
9 - the mailing list, this release makes git-core "Obsolete" git-p4,
10 - so that yum update would not complain.
deleted Documentation/RelNotes/1.5.3.2.adoc mode 100644
@@ -1,58 +0,0 @@
1 - GIT v1.5.3.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.3.1
5 - --------------------
6 -
7 - * git-push sent thin packs by default, which was not good for
8 - the public distribution server (no point in saving transfer
9 - while pushing; no point in making the resulting pack less
10 - optimum).
11 -
12 - * git-svn sometimes terminated with "Malformed network data" when
13 - talking over svn:// protocol.
14 -
15 - * git-send-email re-issued the same message-id about 10% of the
16 - time if you fired off 30 messages within a single second.
17 -
18 - * git-stash was not terminating the log message of commits it
19 - internally creates with LF.
20 -
21 - * git-apply failed to check the size of the patch hunk when its
22 - beginning part matched the remainder of the preimage exactly,
23 - even though the preimage recorded in the hunk was much larger
24 - (therefore the patch should not have applied), leading to a
25 - segfault.
26 -
27 - * "git rm foo && git commit foo" complained that 'foo' needs to
28 - be added first, instead of committing the removal, which was a
29 - nonsense.
30 -
31 - * git grep -c said "/dev/null: 0".
32 -
33 - * git-add -u failed to recognize a blob whose type changed
34 - between the index and the work tree.
35 -
36 - * The limit to rename detection has been tightened a lot to
37 - reduce performance problems with a huge change.
38 -
39 - * cvsimport and svnimport barfed when the input tried to move
40 - a tag.
41 -
42 - * "git apply -pN" did not chop the right number of directories.
43 -
44 - * "git svnimport" did not like SVN tags with funny characters in them.
45 -
46 - * git-gui 0.8.3, with assorted fixes, including:
47 -
48 - - font-chooser on X11 was unusable with large number of fonts;
49 - - a diff that contained a deleted symlink made it barf;
50 - - an untracked symbolic link to a directory made it fart;
51 - - a file with % in its name made it vomit;
52 -
53 -
54 - Documentation updates
55 - ---------------------
56 -
57 - User manual has been somewhat restructured. I think the new
58 - organization is much easier to read.
deleted Documentation/RelNotes/1.5.3.3.adoc mode 100644
@@ -1,31 +0,0 @@
1 - GIT v1.5.3.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.3.2
5 - --------------------
6 -
7 - * git-quiltimport did not like it when a patch described in the
8 - series file does not exist.
9 -
10 - * p4 importer missed executable bit in some cases.
11 -
12 - * The default shell on some FreeBSD did not execute the
13 - argument parsing code correctly and made git unusable.
14 -
15 - * git-svn incorrectly spawned pager even when the user
16 - explicitly asked not to.
17 -
18 - * sample post-receive hook overquoted the envelope sender
19 - value.
20 -
21 - * git-am got confused when the patch contained a change that is
22 - only about type and not contents.
23 -
24 - * git-mergetool did not show our and their version of the
25 - conflicted file when started from a subdirectory of the
26 - project.
27 -
28 - * git-mergetool did not pass correct options when invoking diff3.
29 -
30 - * git-log sometimes invoked underlying "diff" machinery
31 - unnecessarily.
deleted Documentation/RelNotes/1.5.3.4.adoc mode 100644
@@ -1,35 +0,0 @@
1 - GIT v1.5.3.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.3.3
5 - --------------------
6 -
7 - * Change to "git-ls-files" in v1.5.3.3 that was introduced to support
8 - partial commit of removal better had a segfaulting bug, which was
9 - diagnosed and fixed by Keith and Carl.
10 -
11 - * Performance improvements for rename detection has been backported
12 - from the 'master' branch.
13 -
14 - * "git-for-each-ref --format='%(numparent)'" was not working
15 - correctly at all, and --format='%(parent)' was not working for
16 - merge commits.
17 -
18 - * Sample "post-receive-hook" incorrectly sent out push
19 - notification e-mails marked as "From: " the committer of the
20 - commit that happened to be at the tip of the branch that was
21 - pushed, not from the person who pushed.
22 -
23 - * "git-remote" did not exit non-zero status upon error.
24 -
25 - * "git-add -i" did not respond very well to EOF from tty nor
26 - bogus input.
27 -
28 - * "git-rebase -i" squash subcommand incorrectly made the
29 - author of later commit the author of resulting commit,
30 - instead of taking from the first one in the squashed series.
31 -
32 - * "git-stash apply --index" was not documented.
33 -
34 - * autoconfiguration learned that "ar" command is found as "gas" on
35 - some systems.
deleted Documentation/RelNotes/1.5.3.5.adoc mode 100644
@@ -1,94 +0,0 @@
1 - GIT v1.5.3.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.3.4
5 - --------------------
6 -
7 - * Comes with git-gui 0.8.4.
8 -
9 - * "git-config" silently ignored options after --list; now it will
10 - error out with a usage message.
11 -
12 - * "git-config --file" failed if the argument used a relative path
13 - as it changed directories before opening the file.
14 -
15 - * "git-config --file" now displays a proper error message if it
16 - cannot read the file specified on the command line.
17 -
18 - * "git-config", "git-diff", "git-apply" failed if run from a
19 - subdirectory with relative GIT_DIR and GIT_WORK_TREE set.
20 -
21 - * "git-blame" crashed if run during a merge conflict.
22 -
23 - * "git-add -i" did not handle single line hunks correctly.
24 -
25 - * "git-rebase -i" and "git-stash apply" failed if external diff
26 - drivers were used for one or more files in a commit. They now
27 - avoid calling the external diff drivers.
28 -
29 - * "git-log --follow" did not work unless diff generation (e.g. -p)
30 - was also requested.
31 -
32 - * "git-log --follow -B" did not work at all. Fixed.
33 -
34 - * "git-log -M -B" did not correctly handle cases of very large files
35 - being renamed and replaced by very small files in the same commit.
36 -
37 - * "git-log" printed extra newlines between commits when a diff
38 - was generated internally (e.g. -S or --follow) but not displayed.
39 -
40 - * "git-push" error message is more helpful when pushing to a
41 - repository with no matching refs and none specified.
42 -
43 - * "git-push" now respects + (force push) on wildcard refspecs,
44 - matching the behavior of git-fetch.
45 -
46 - * "git-filter-branch" now updates the working directory when it
47 - has finished filtering the current branch.
48 -
49 - * "git-instaweb" no longer fails on Mac OS X.
50 -
51 - * "git-cvsexportcommit" didn't always create new parent directories
52 - before trying to create new child directories. Fixed.
53 -
54 - * "git-fetch" printed a scary (but bogus) error message while
55 - fetching a tag that pointed to a tree or blob. The error did
56 - not impact correctness, only user perception. The bogus error
57 - is no longer printed.
58 -
59 - * "git-ls-files --ignored" did not properly descend into non-ignored
60 - directories that themselves contained ignored files if d_type
61 - was not supported by the filesystem. This bug impacted systems
62 - such as AFS. Fixed.
63 -
64 - * Git segfaulted when reading an invalid .gitattributes file. Fixed.
65 -
66 - * post-receive-email example hook was fixed for non-fast-forward
67 - updates.
68 -
69 - * Documentation updates for supported (but previously undocumented)
70 - options of "git-archive" and "git-reflog".
71 -
72 - * "make clean" no longer deletes the configure script that ships
73 - with the git tarball, making multiple architecture builds easier.
74 -
75 - * "git-remote show origin" spewed a warning message from Perl
76 - when no remote is defined for the current branch via
77 - branch.<name>.remote configuration settings.
78 -
79 - * Building with NO_PERL_MAKEMAKER excessively rebuilt contents
80 - of perl/ subdirectory by rewriting perl.mak.
81 -
82 - * http.sslVerify configuration settings were not used in scripted
83 - Porcelains.
84 -
85 - * "git-add" leaked a bit of memory while scanning for files to add.
86 -
87 - * A few workarounds to squelch false warnings from recent gcc have
88 - been added.
89 -
90 - * "git-send-pack $remote frotz" segfaulted when there is nothing
91 - named 'frotz' on the local end.
92 -
93 - * "git-rebase --interactive" did not handle its "--strategy" option
94 - properly.
deleted Documentation/RelNotes/1.5.3.6.adoc mode 100644
@@ -1,48 +0,0 @@
1 - GIT v1.5.3.6 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.3.5
5 - --------------------
6 -
7 - * git-cvsexportcommit handles root commits better.
8 -
9 - * git-svn dcommit used to clobber when sending a series of
10 - patches.
11 -
12 - * git-svn dcommit failed after attempting to rebase when
13 - started with a dirty index; now it stops upfront.
14 -
15 - * git-grep sometimes refused to work when your index was
16 - unmerged.
17 -
18 - * "git-grep -A1 -B2" acted as if it was told to run "git -A1 -B21".
19 -
20 - * git-hash-object did not honor configuration variables, such as
21 - core.compression.
22 -
23 - * git-index-pack choked on a huge pack on 32-bit machines, even when
24 - large file offsets are supported.
25 -
26 - * atom feeds from git-web said "10" for the month of November.
27 -
28 - * a memory leak in commit walker was plugged.
29 -
30 - * When git-send-email inserted the original author's From:
31 - address in body, it did not mark the message with
32 - Content-type: as needed.
33 -
34 - * git-revert and git-cherry-pick incorrectly refused to start
35 - when the work tree was dirty.
36 -
37 - * git-clean did not honor core.excludesfile configuration.
38 -
39 - * git-add mishandled ".gitignore" files when applying them to
40 - subdirectories.
41 -
42 - * While importing a too branchy history, git-fastimport did not
43 - honor delta depth limit properly.
44 -
45 - * Support for zlib implementations that lack ZLIB_VERNUM and definition
46 - of deflateBound() has been added.
47 -
48 - * Quite a lot of documentation clarifications.
deleted Documentation/RelNotes/1.5.3.7.adoc mode 100644
@@ -1,45 +0,0 @@
1 - GIT v1.5.3.7 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.3.6
5 - --------------------
6 -
7 - * git-send-email added 8-bit contents to the payload without
8 - marking it as 8-bit in a CTE header.
9 -
10 - * "git-bundle create a.bndl HEAD" dereferenced the symref and
11 - did not record the ref as 'HEAD'; this prevented a bundle
12 - from being used as a normal source of git-clone.
13 -
14 - * The code to reject nonsense command line of the form
15 - "git-commit -a paths..." and "git-commit --interactive
16 - paths..." were broken.
17 -
18 - * Adding a signature that is not ASCII-only to an original
19 - commit that is ASCII-only would make the result non-ASCII.
20 - "git-format-patch -s" did not mark such a message correctly
21 - with MIME encoding header.
22 -
23 - * git-add sometimes did not mark the resulting index entry
24 - stat-clean. This affected only cases when adding the
25 - contents with the same length as the previously staged
26 - contents, and the previous staging made the index entry
27 - "racily clean".
28 -
29 - * git-commit did not honor GIT_INDEX_FILE the user had in the
30 - environment.
31 -
32 - * When checking out a revision, git-checkout did not report where the
33 - updated HEAD is if you happened to have a file called HEAD in the
34 - work tree.
35 -
36 - * "git-rev-list --objects" mishandled a tree that points at a
37 - submodule.
38 -
39 - * "git cvsimport" was not ready for packed refs that "git gc" can
40 - produce and gave incorrect results.
41 -
42 - * Many scripted Porcelains were confused when you happened to have a
43 - file called "HEAD" in your work tree.
44 -
45 - Also it contains updates to the user manual and documentation.
deleted Documentation/RelNotes/1.5.3.8.adoc mode 100644
@@ -1,25 +0,0 @@
1 - GIT v1.5.3.8 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.3.7
5 - --------------------
6 -
7 - * Some documentation used "email.com" as an example domain.
8 -
9 - * git-svn fix to handle funky branch and project names going over
10 - http/https correctly.
11 -
12 - * git-svn fix to tone down a needlessly alarming warning message.
13 -
14 - * git-clone did not correctly report errors while fetching over http.
15 -
16 - * git-send-email added redundant Message-Id: header to the outgoing
17 - e-mail when the patch text already had one.
18 -
19 - * a read-beyond-end-of-buffer bug in configuration file updater was fixed.
20 -
21 - * git-grep used to show the same hit repeatedly for unmerged paths.
22 -
23 - * After amending the patch title in "git-am -i", the command did not
24 - report the patch it applied with the updated title.
25 -
deleted Documentation/RelNotes/1.5.3.adoc mode 100644
@@ -1,366 +0,0 @@
1 - GIT v1.5.3 Release Notes
2 - ========================
3 -
4 - Updates since v1.5.2
5 - --------------------
6 -
7 - * The commit walkers other than http are officially deprecated,
8 - but still supported for now.
9 -
10 - * The submodule support has Porcelain layer.
11 -
12 - Note that the current submodule support is minimal and this is
13 - deliberately so. A design decision we made is that operations
14 - at the supermodule level do not recurse into submodules by
15 - default. The expectation is that later we would add a
16 - mechanism to tell git which submodules the user is interested
17 - in, and this information might be used to determine the
18 - recursive behaviour of certain commands (e.g. "git checkout"
19 - and "git diff"), but currently we haven't agreed on what that
20 - mechanism should look like. Therefore, if you use submodules,
21 - you would probably need "git submodule update" on the
22 - submodules you care about after running a "git checkout" at
23 - the supermodule level.
24 -
25 - * There are a handful pack-objects changes to help you cope better
26 - with repositories with pathologically large blobs in them.
27 -
28 - * For people who need to import from Perforce, a front-end for
29 - fast-import is in contrib/fast-import/.
30 -
31 - * Comes with git-gui 0.8.2.
32 -
33 - * Comes with updated gitk.
34 -
35 - * New commands and options.
36 -
37 - - "git log --date=<format>" can use more formats: iso8601, rfc2822.
38 -
39 - - The hunk header output from "git diff" family can be customized
40 - with the attributes mechanism. See gitattributes(5) for details.
41 -
42 - - "git stash" allows you to quickly save away your work in
43 - progress and replay it later on an updated state.
44 -
45 - - "git rebase" learned an "interactive" mode that let you
46 - pick and reorder which commits to rebuild.
47 -
48 - - "git fsck" can save its findings in $GIT_DIR/lost-found, without a
49 - separate invocation of "git lost-found" command. The blobs stored by
50 - lost-found are stored in plain format to allow you to grep in them.
51 -
52 - - $GIT_WORK_TREE environment variable can be used together with
53 - $GIT_DIR to work in a subdirectory of a working tree that is
54 - not located at "$GIT_DIR/..".
55 -
56 - - Giving "--file=<file>" option to "git config" is the same as
57 - running the command with GIT_CONFIG=<file> environment.
58 -
59 - - "git log" learned a new option "--follow", to follow
60 - renaming history of a single file.
61 -
62 - - "git filter-branch" lets you rewrite the revision history of
63 - specified branches. You can specify a number of filters to
64 - modify the commits, files and trees.
65 -
66 - - "git cvsserver" learned new options (--base-path, --export-all,
67 - --strict-paths) inspired by "git daemon".
68 -
69 - - "git daemon --base-path-relaxed" can help migrating a repository URL
70 - that did not use to use --base-path to use --base-path.
71 -
72 - - "git commit" can use "-t templatefile" option and commit.template
73 - configuration variable to prime the commit message given to you in the
74 - editor.
75 -
76 - - "git submodule" command helps you manage the projects from
77 - the superproject that contain them.
78 -
79 - - In addition to core.compression configuration option,
80 - core.loosecompression and pack.compression options can
81 - independently tweak zlib compression levels used for loose
82 - and packed objects.
83 -
84 - - "git ls-tree -l" shows size of blobs pointed at by the
85 - tree entries, similar to "/bin/ls -l".
86 -
87 - - "git rev-list" learned --regexp-ignore-case and
88 - --extended-regexp options to tweak its matching logic used
89 - for --grep filtering.
90 -
91 - - "git describe --contains" is a handier way to call more
92 - obscure command "git name-rev --tags".
93 -
94 - - "git gc --aggressive" tells the command to spend more cycles
95 - to optimize the repository harder.
96 -
97 - - "git repack" learned a "window-memory" limit which
98 - dynamically reduces the window size to stay within the
99 - specified memory usage.
100 -
101 - - "git repack" can be told to split resulting packs to avoid
102 - exceeding limit specified with "--max-pack-size".
103 -
104 - - "git fsck" gained --verbose option. This is really really
105 - verbose but it might help you identify exact commit that is
106 - corrupt in your repository.
107 -
108 - - "git format-patch" learned --numbered-files option. This
109 - may be useful for MH users.
110 -
111 - - "git format-patch" learned format.subjectprefix configuration
112 - variable, which serves the same purpose as "--subject-prefix"
113 - option.
114 -
115 - - "git tag -n -l" shows tag annotations while listing tags.
116 -
117 - - "git cvsimport" can optionally use the separate-remote layout.
118 -
119 - - "git blame" can be told to see through commits that change
120 - whitespaces and indentation levels with "-w" option.
121 -
122 - - "git send-email" can be told not to thread the messages when
123 - sending out more than one patches.
124 -
125 - - "git send-email" can also be told how to find whom to cc the
126 - message to for each message via --cc-cmd.
127 -
128 - - "git config" learned NUL terminated output format via -z to
129 - help scripts.
130 -
131 - - "git add" learned "--refresh <paths>..." option to selectively refresh
132 - the cached stat information.
133 -
134 - - "git init -q" makes the command quieter.
135 -
136 - - "git -p command" now has a cousin of opposite sex, "git --no-pager
137 - command".
138 -
139 - * Updated behavior of existing commands.
140 -
141 - - "gitweb" can offer multiple snapshot formats.
142 -
143 - ***NOTE*** Unfortunately, this changes the format of the
144 - $feature{snapshot}{default} entry in the per-site
145 - configuration file 'gitweb_config.perl'. It used to be a
146 - three-element tuple that describe a single format; with the
147 - new configuration item format, you only have to say the name
148 - of the format ('tgz', 'tbz2' or 'zip'). Please update the
149 - your configuration file accordingly.
150 -
151 - - "git clone" uses -l (hardlink files under .git) by default when
152 - cloning locally.
153 -
154 - - URL used for "git clone" and friends can specify nonstandard SSH port
155 - by using ssh://host:port/path/to/repo syntax.
156 -
157 - - "git bundle create" can now create a bundle without negative refs,
158 - i.e. "everything since the beginning up to certain points".
159 -
160 - - "git diff" (but not the plumbing level "git diff-tree") now
161 - recursively descends into trees by default.
162 -
163 - - "git diff" does not show differences that come only from
164 - stat-dirtiness in the form of "diff --git" header anymore.
165 - It runs "update-index --refresh" silently as needed.
166 -
167 - - "git tag -l" used to match tags by globbing its parameter as if it
168 - has wildcard '*' on both ends, which made "git tag -l gui" to match
169 - tag 'gitgui-0.7.0'; this was very annoying. You now have to add
170 - asterisk on the sides you want to wildcard yourself.
171 -
172 - - The editor to use with many interactive commands can be
173 - overridden with GIT_EDITOR environment variable, or if it
174 - does not exist, with core.editor configuration variable. As
175 - before, if you have neither, environment variables VISUAL
176 - and EDITOR are consulted in this order, and then finally we
177 - fall back on "vi".
178 -
179 - - "git rm --cached" does not complain when removing a newly
180 - added file from the index anymore.
181 -
182 - - Options to "git log" to affect how --grep/--author options look for
183 - given strings now have shorter abbreviations. -i is for ignore case,
184 - and -E is for extended regexp.
185 -
186 - - "git log" learned --log-size to show the number of bytes in
187 - the log message part of the output to help qgit.
188 -
189 - - "git log --name-status" does not require you to give "-r" anymore.
190 - As a general rule, Porcelain commands should recurse when showing
191 - diff.
192 -
193 - - "git format-patch --root A" can be used to format everything
194 - since the beginning up to A. This was supported with
195 - "git format-patch --root A A" for a long time, but was not
196 - properly documented.
197 -
198 - - "git svn dcommit" retains local merge information.
199 -
200 - - "git svnimport" allows an empty string to be specified as the
201 - trunk/ directory. This is necessary to suck data from a SVN
202 - repository that doe not have trunk/ branches/ and tags/ organization
203 - at all.
204 -
205 - - "git config" to set values also honors type flags like --bool
206 - and --int.
207 -
208 - - core.quotepath configuration can be used to make textual git
209 - output to emit most of the characters in the path literally.
210 -
211 - - "git mergetool" chooses its backend more wisely, taking
212 - notice of its environment such as use of X, Gnome/KDE, etc.
213 -
214 - - "gitweb" shows merge commits a lot nicer than before. The
215 - default view uses more compact --cc format, while the UI
216 - allows to choose normal diff with any parent.
217 -
218 - - snapshot files "gitweb" creates from a repository at
219 - $path/$project/.git are more useful. We use $project part
220 - in the filename, which we used to discard.
221 -
222 - - "git cvsimport" creates lightweight tags; there is no
223 - interesting information we can record in an annotated tag,
224 - and the handcrafted ones the old code created was not
225 - properly formed anyway.
226 -
227 - - "git push" pretends that you immediately fetched back from
228 - the remote by updating corresponding remote tracking
229 - branches if you have any.
230 -
231 - - The diffstat given after a merge (or a pull) honors the
232 - color.diff configuration.
233 -
234 - - "git commit --amend" is now compatible with various message source
235 - options such as -m/-C/-c/-F.
236 -
237 - - "git apply --whitespace=strip" removes blank lines added at
238 - the end of the file.
239 -
240 - - "git fetch" over git native protocols with "-v" option shows
241 - connection status, and the IP address of the other end, to
242 - help diagnosing problems.
243 -
244 - - We used to have core.legacyheaders configuration, when
245 - set to false, allowed git to write loose objects in a format
246 - that mimics the format used by objects stored in packs. It
247 - turns out that this was not so useful. Although we will
248 - continue to read objects written in that format, we do not
249 - honor that configuration anymore and create loose objects in
250 - the legacy/traditional format.
251 -
252 - - "--find-copies-harder" option to diff family can now be
253 - spelled as "-C -C" for brevity.
254 -
255 - - "git mailsplit" (hence "git am") can read from Maildir
256 - formatted mailboxes.
257 -
258 - - "git cvsserver" does not barf upon seeing "cvs login"
259 - request.
260 -
261 - - "pack-objects" honors "delta" attribute set in
262 - .gitattributes. It does not attempt to deltify blobs that
263 - come from paths with delta attribute set to false.
264 -
265 - - "new-workdir" script (in contrib) can now be used with a
266 - bare repository.
267 -
268 - - "git mergetool" learned to use gvimdiff.
269 -
270 - - "gitview" (in contrib) has a better blame interface.
271 -
272 - - "git log" and friends did not handle a commit log message
273 - that is larger than 16kB; they do now.
274 -
275 - - "--pretty=oneline" output format for "git log" and friends
276 - deals with "malformed" commit log messages that have more
277 - than one lines in the first paragraph better. We used to
278 - show the first line, cutting the title at mid-sentence; we
279 - concatenate them into a single line and treat the result as
280 - "oneline".
281 -
282 - - "git p4import" has been demoted to contrib status. For
283 - a superior option, checkout the "git p4" front end to
284 - "git fast-import" (also in contrib). The man page and p4
285 - rpm have been removed as well.
286 -
287 - - "git mailinfo" (hence "am") now tries to see if the message
288 - is in utf-8 first, instead of assuming iso-8859-1, if
289 - incoming e-mail does not say what encoding it is in.
290 -
291 - * Builds
292 -
293 - - old-style function definitions (most notably, a function
294 - without parameter defined with "func()", not "func(void)")
295 - have been eradicated.
296 -
297 - - "git tag" and "git verify-tag" have been rewritten in C.
298 -
299 - * Performance Tweaks
300 -
301 - - "git pack-objects" avoids re-deltification cost by caching
302 - small enough delta results it creates while looking for the
303 - best delta candidates.
304 -
305 - - "git pack-objects" learned a new heuristic to prefer delta
306 - that is shallower in depth over the smallest delta
307 - possible. This improves both overall packfile access
308 - performance and packfile density.
309 -
310 - - diff-delta code that is used for packing has been improved
311 - to work better on big files.
312 -
313 - - when there are more than one pack files in the repository,
314 - the runtime used to try finding an object always from the
315 - newest packfile; it now tries the same packfile as we found
316 - the object requested the last time, which exploits the
317 - locality of references.
318 -
319 - - verifying pack contents done by "git fsck --full" got boost
320 - by carefully choosing the order to verify objects in them.
321 -
322 - - "git read-tree -m" to read into an already populated index
323 - has been optimized vastly. The effect of this can be seen
324 - when switching branches that have differences in only a
325 - handful paths.
326 -
327 - - "git add paths..." and "git commit paths..." has also been
328 - heavily optimized.
329 -
330 - Fixes since v1.5.2
331 - ------------------
332 -
333 - All of the fixes in v1.5.2 maintenance series are included in
334 - this release, unless otherwise noted.
335 -
336 - * Bugfixes
337 -
338 - - "gitweb" had trouble handling non UTF-8 text with older
339 - Encode.pm Perl module.
340 -
341 - - "git svn" misparsed the data from the commits in the repository when
342 - the user had "color.diff = true" in the configuration. This has been
343 - fixed.
344 -
345 - - There was a case where "git svn dcommit" clobbered changes made on the
346 - SVN side while committing multiple changes.
347 -
348 - - "git-write-tree" had a bad interaction with racy-git avoidance and
349 - gitattributes mechanisms.
350 -
351 - - "git --bare command" overrode existing GIT_DIR setting and always
352 - made it treat the current working directory as GIT_DIR.
353 -
354 - - "git ls-files --error-unmatch" does not complain if you give the
355 - same path pattern twice by mistake.
356 -
357 - - "git init" autodetected core.filemode but not core.symlinks, which
358 - made a new directory created automatically by "git clone" cumbersome
359 - to use on filesystems that require these configurations to be set.
360 -
361 - - "git log" family of commands behaved differently when run as "git
362 - log" (no pathspec) and as "git log --" (again, no pathspec). This
363 - inconsistency was introduced somewhere in v1.3.0 series but now has
364 - been corrected.
365 -
366 - - "git rebase -m" incorrectly displayed commits that were skipped.
deleted Documentation/RelNotes/1.5.4.1.adoc mode 100644
@@ -1,17 +0,0 @@
1 - GIT v1.5.4.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.4
5 - ------------------
6 -
7 - * "git-commit -C $tag" used to work but rewrite in C done in
8 - 1.5.4 broke it.
9 -
10 - * An entry in the .gitattributes file that names a pattern in a
11 - subdirectory of the directory it is in did not match
12 - correctly (e.g. pattern "b/*.c" in "a/.gitattributes" should
13 - match "a/b/foo.c" but it didn't).
14 -
15 - * Customized color specification was parsed incorrectly when
16 - numeric color values are used. This was fixed in 1.5.4.1.
17 -
deleted Documentation/RelNotes/1.5.4.2.adoc mode 100644
@@ -1,43 +0,0 @@
1 - GIT v1.5.4.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.4
5 - ------------------
6 -
7 - * The configuration parser was not prepared to see string
8 - valued variables misspelled as boolean and segfaulted.
9 -
10 - * Temporary files left behind due to interrupted object
11 - transfers were not cleaned up with "git prune".
12 -
13 - * "git config --unset" was confused when the unset variables
14 - were spelled with continuation lines in the config file.
15 -
16 - * The merge message detection in "git cvsimport" did not catch
17 - a message that began with "Merge...".
18 -
19 - * "git status" suggests "git rm --cached" for unstaging the
20 - earlier "git add" before the initial commit.
21 -
22 - * "git status" output was incorrect during a partial commit.
23 -
24 - * "git bisect" refused to start when the HEAD was detached.
25 -
26 - * "git bisect" allowed a wildcard character in the commit
27 - message expanded while writing its log file.
28 -
29 - * Manual pages were not formatted correctly with docbook xsl
30 - 1.72; added a workaround.
31 -
32 - * "git-commit -C $tag" used to work but rewrite in C done in
33 - 1.5.4 broke it. This was fixed in 1.5.4.1.
34 -
35 - * An entry in the .gitattributes file that names a pattern in a
36 - subdirectory of the directory it is in did not match
37 - correctly (e.g. pattern "b/*.c" in "a/.gitattributes" should
38 - match "a/b/foo.c" but it didn't). This was fixed in 1.5.4.1.
39 -
40 - * Customized color specification was parsed incorrectly when
41 - numeric color values are used. This was fixed in 1.5.4.1.
42 -
43 - * http transport misbehaved when linked with curl-gnutls.
deleted Documentation/RelNotes/1.5.4.3.adoc mode 100644
@@ -1,27 +0,0 @@
1 - GIT v1.5.4.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.4.2
5 - --------------------
6 -
7 - * RPM spec used to pull in everything with 'git'. This has been
8 - changed so that 'git' package contains just the core parts,
9 - and we now supply 'git-all' metapackage to slurp in everything.
10 - This should match end user's expectation better.
11 -
12 - * When some refs failed to update, git-push reported "failure"
13 - which was unclear if some other refs were updated or all of
14 - them failed atomically (the answer is the former). Reworded
15 - the message to clarify this.
16 -
17 - * "git clone" from a repository whose HEAD was misconfigured
18 - did not set up the remote properly. Now it tries to do
19 - better.
20 -
21 - * Updated git-push documentation to clarify what "matching"
22 - means, in order to reduce user confusion.
23 -
24 - * Updated git-add documentation to clarify "add -u" operates in
25 - the current subdirectory you are in, just like other commands.
26 -
27 - * git-gui updates to work on OSX and Windows better.
deleted Documentation/RelNotes/1.5.4.4.adoc mode 100644
@@ -1,66 +0,0 @@
1 - GIT v1.5.4.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.4.3
5 - --------------------
6 -
7 - * Building and installing with an overtight umask such as 077 made
8 - installed templates unreadable by others, while the rest of the install
9 - are done in a way that is friendly to umask 022.
10 -
11 - * "git cvsexportcommit -w $cvsdir" misbehaved when GIT_DIR is set to a
12 - relative directory.
13 -
14 - * "git http-push" had an invalid memory access that could lead it to
15 - segfault.
16 -
17 - * When "git rebase -i" gave control back to the user for a commit that is
18 - marked to be edited, it just said "modify it with commit --amend",
19 - without saying what to do to continue after modifying it. Give an
20 - explicit instruction to run "rebase --continue" to be more helpful.
21 -
22 - * "git send-email" in 1.5.4.3 issued a bogus empty In-Reply-To: header.
23 -
24 - * "git bisect" showed mysterious "won't bisect on seeked tree" error message.
25 - This was leftover from Cogito days to prevent "bisect" starting from a
26 - cg-seeked state. We still keep the Cogito safety, but running "git bisect
27 - start" when another bisect was in effect will clean up and start over.
28 -
29 - * "git push" with an explicit PATH to receive-pack did not quite work if
30 - receive-pack was not on usual PATH. We earlier fixed the same issue
31 - with "git fetch" and upload-pack, but somehow forgot to do so in the
32 - other direction.
33 -
34 - * git-gui's info dialog was not displayed correctly when the user tries
35 - to commit nothing (i.e. without staging anything).
36 -
37 - * "git revert" did not properly fail when attempting to run with a
38 - dirty index.
39 -
40 - * "git merge --no-commit --no-ff <other>" incorrectly made commits.
41 -
42 - * "git merge --squash --no-ff <other>", which is a nonsense combination
43 - of options, was not rejected.
44 -
45 - * "git ls-remote" and "git remote show" against an empty repository
46 - failed, instead of just giving an empty result (regression).
47 -
48 - * "git fast-import" did not handle a renamed path whose name needs to be
49 - quoted, due to a bug in unquote_c_style() function.
50 -
51 - * "git cvsexportcommit" was confused when multiple files with the same
52 - basename needed to be pushed out in the same commit.
53 -
54 - * "git daemon" did not send early errors to syslog.
55 -
56 - * "git log --merge" did not work well with --left-right option.
57 -
58 - * "git svn" prompted for client cert password every time it accessed the
59 - server.
60 -
61 - * The reset command in "git fast-import" data stream was documented to
62 - end with an optional LF, but it actually required one.
63 -
64 - * "git svn dcommit/rebase" did not honor --rewrite-root option.
65 -
66 - Also included are a handful documentation updates.
deleted Documentation/RelNotes/1.5.4.5.adoc mode 100644
@@ -1,56 +0,0 @@
1 - GIT v1.5.4.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.4.4
5 - --------------------
6 -
7 - * "git fetch there" when the URL information came from the Cogito style
8 - branches/there file did not update refs/heads/there (regression in
9 - 1.5.4).
10 -
11 - * Bogus refspec configuration such as "remote.there.fetch = =" were not
12 - detected as errors (regression in 1.5.4).
13 -
14 - * You couldn't specify a custom editor whose path contains a whitespace
15 - via GIT_EDITOR (and core.editor).
16 -
17 - * The subdirectory filter to "git filter-branch" mishandled a history
18 - where the subdirectory becomes empty and then later becomes non-empty.
19 -
20 - * "git shortlog" gave an empty line if the original commit message was
21 - malformed (e.g. a botched import from foreign SCM). Now it finds the
22 - first non-empty line and uses it for better information.
23 -
24 - * When the user fails to give a revision parameter to "git svn", an error
25 - from the Perl interpreter was issued because the script lacked proper
26 - error checking.
27 -
28 - * After "git rebase" stopped due to conflicts, if the user played with
29 - "git reset" and friends, "git rebase --abort" failed to go back to the
30 - correct commit.
31 -
32 - * Additional work trees prepared with git-new-workdir (in contrib/) did
33 - not share git-svn metadata directory .git/svn with the original.
34 -
35 - * "git-merge-recursive" did not mark addition of the same path with
36 - different filemodes correctly as a conflict.
37 -
38 - * "gitweb" gave malformed URL when pathinfo stype paths are in use.
39 -
40 - * "-n" stands for "--no-tags" again for "git fetch".
41 -
42 - * "git format-patch" did not detect the need to add 8-bit MIME header
43 - when the user used format.header configuration.
44 -
45 - * "rev~" revision specifier used to mean "rev", which was inconsistent
46 - with how "rev^" worked. Now "rev~" is the same as "rev~1" (hence it
47 - also is the same as "rev^1"), and "rev~0" is the same as "rev^0"
48 - (i.e. it has to be a commit).
49 -
50 - * "git quiltimport" did not grok empty lines, lines in "file -pNNN"
51 - format to specify the prefix levels and lines with trailing comments.
52 -
53 - * "git rebase -m" triggered pre-commit verification, which made
54 - "rebase --continue" impossible.
55 -
56 - As usual, it also comes with many documentation fixes and clarifications.
deleted Documentation/RelNotes/1.5.4.6.adoc mode 100644
@@ -1,43 +0,0 @@
1 - GIT v1.5.4.6 Release Notes
2 - ==========================
3 -
4 - I personally do not think there is any reason anybody should want to
5 - run v1.5.4.X series these days, because 'master' version is always
6 - more stable than any tagged released version of git.
7 -
8 - This is primarily to futureproof "git-shell" to accept requests
9 - without a dash between "git" and subcommand name (e.g. "git
10 - upload-pack") which the newer client will start to make sometime in
11 - the future.
12 -
13 - Fixes since v1.5.4.5
14 - --------------------
15 -
16 - * Command line option "-n" to "git-repack" was not correctly parsed.
17 -
18 - * Error messages from "git-apply" when the patchfile cannot be opened
19 - have been improved.
20 -
21 - * Error messages from "git-bisect" when given nonsense revisions have
22 - been improved.
23 -
24 - * reflog syntax that uses time e.g. "HEAD@{10 seconds ago}:path" did not
25 - stop parsing at the closing "}".
26 -
27 - * "git rev-parse --symbolic-full-name ^master^2" printed solitary "^",
28 - but it should print nothing.
29 -
30 - * "git apply" did not enforce "match at the beginning" correctly.
31 -
32 - * a path specification "a/b" in .gitattributes file should not match
33 - "sub/a/b", but it did.
34 -
35 - * "git log --date-order --topo-order" did not override the earlier
36 - date-order with topo-order as expected.
37 -
38 - * "git fast-export" did not export octopus merges correctly.
39 -
40 - * "git archive --prefix=$path/" mishandled gitattributes.
41 -
42 - As usual, it also comes with many documentation fixes and clarifications.
43 -
deleted Documentation/RelNotes/1.5.4.7.adoc mode 100644
@@ -1,10 +0,0 @@
1 - GIT v1.5.4.7 Release Notes
2 - ==========================
3 -
4 - Fixes since 1.5.4.7
5 - -------------------
6 -
7 - * Removed support for an obsolete gitweb request URI, whose
8 - implementation ran "git diff" Porcelain, instead of using plumbing,
9 - which would have run an external diff command specified in the
10 - repository configuration as the gitweb user.
deleted Documentation/RelNotes/1.5.4.adoc mode 100644
@@ -1,377 +0,0 @@
1 - GIT v1.5.4 Release Notes
2 - ========================
3 -
4 - Removal
5 - -------
6 -
7 - * "git svnimport" was removed in favor of "git svn". It is still there
8 - in the source tree (contrib/examples) but unsupported.
9 -
10 - * As git-commit and git-status have been rewritten, "git runstatus"
11 - helper script lost all its users and has been removed.
12 -
13 -
14 - Temporarily disabled
15 - --------------------
16 -
17 - * "git http-push" is known not to work well with cURL library older
18 - than 7.16, and we had reports of repository corruption. It is
19 - disabled on such platforms for now. Unfortunately, 1.5.3.8 shares
20 - the same issue. In other words, this does not mean you will be
21 - fine if you stick to an older git release. For now, please do not
22 - use http-push from older git with cURL older than 7.16 if you
23 - value your data. A proper fix will hopefully materialize in
24 - later versions.
25 -
26 -
27 - Deprecation notices
28 - -------------------
29 -
30 - * From v1.6.0, git will by default install dashed form of commands
31 - (e.g. "git-commit") outside of users' normal $PATH, and will install
32 - only selected commands ("git" itself, and "gitk") in $PATH. This
33 - implies:
34 -
35 - - Using dashed forms of git commands (e.g. "git-commit") from the
36 - command line has been informally deprecated since early 2006, but
37 - now it officially is, and will be removed in the future. Use
38 - dash-less forms (e.g. "git commit") instead.
39 -
40 - - Using dashed forms from your scripts, without first prepending the
41 - return value from "git --exec-path" to the scripts' PATH, has been
42 - informally deprecated since early 2006, but now it officially is.
43 -
44 - - Use of dashed forms with "PATH=$(git --exec-path):$PATH; export
45 - PATH" early in your script is not deprecated with this change.
46 -
47 - Users are strongly encouraged to adjust their habits and scripts now
48 - to prepare for this change.
49 -
50 - * The post-receive hook was introduced in March 2007 to supersede
51 - the post-update hook, primarily to overcome the command line length
52 - limitation of the latter. Use of post-update hook will be deprecated
53 - in future versions of git, starting from v1.6.0.
54 -
55 - * "git lost-found" was deprecated in favor of "git fsck"'s --lost-found
56 - option, and will be removed in the future.
57 -
58 - * "git peek-remote" is deprecated, as "git ls-remote" was written in C
59 - and works for all transports; "git peek-remote" will be removed in
60 - the future.
61 -
62 - * "git repo-config" which was an old name for "git config" command
63 - has been supported without being advertised for a long time. The
64 - next feature release will remove it.
65 -
66 - * From v1.6.0, the repack.usedeltabaseoffset config option will default
67 - to true, which will give denser packfiles (i.e. more efficient storage).
68 - The downside is that git older than version 1.4.4 will not be able
69 - to directly use a repository packed using this setting.
70 -
71 - * From v1.6.0, the pack.indexversion config option will default to 2,
72 - which is slightly more efficient, and makes repacking more immune to
73 - data corruptions. Git older than version 1.5.2 may revert to version 1
74 - of the pack index with a manual "git index-pack" to be able to directly
75 - access corresponding pack files.
76 -
77 -
78 - Updates since v1.5.3
79 - --------------------
80 -
81 - * Comes with much improved gitk, with i18n.
82 -
83 - * Comes with git-gui 0.9.2 with i18n.
84 -
85 - * gitk is now merged as a subdirectory of git.git project, in
86 - preparation for its i18n.
87 -
88 - * progress displays from many commands are a lot nicer to the eye.
89 - Transfer commands show throughput data.
90 -
91 - * many commands that pay attention to per-directory .gitignore now do
92 - so lazily, which makes the usual case go much faster.
93 -
94 - * Output processing for '--pretty=format:<user format>' has been
95 - optimized.
96 -
97 - * Rename detection of diff family while detecting exact matches has
98 - been greatly optimized.
99 -
100 - * Rename detection of diff family tries to make more natural looking
101 - pairing. Earlier, if multiple identical rename sources were
102 - found in the preimage, the source used was picked pretty much at random.
103 -
104 - * Value "true" for color.diff and color.status configuration used to
105 - mean "always" (even when the output is not going to a terminal).
106 - This has been corrected to mean the same thing as "auto".
107 -
108 - * "git diff" Porcelain now respects diff.external configuration, which
109 - is another way to specify GIT_EXTERNAL_DIFF.
110 -
111 - * "git diff" can be told to use different prefixes other than
112 - "a/" and "b/" e.g. "git diff --src-prefix=l/ --dst-prefix=k/".
113 -
114 - * "git diff" sometimes did not quote paths with funny
115 - characters properly.
116 -
117 - * "git log" (and any revision traversal commands) misbehaved
118 - when --diff-filter is given but was not asked to actually
119 - produce diff.
120 -
121 - * HTTP proxy can be specified per remote repository using
122 - remote.*.httpproxy configuration, or global http.proxy configuration
123 - variable.
124 -
125 - * Various Perforce importer updates.
126 -
127 - * Example update and post-receive hooks have been improved.
128 -
129 - * Any command that wants to take a commit object name can now use
130 - ":/string" syntax to name a commit.
131 -
132 - * "git reset" is now built-in and its output can be squelched with -q.
133 -
134 - * "git reset --hard" does not make any sense in a bare
135 - repository, but did not error out; fixed.
136 -
137 - * "git send-email" can optionally talk over ssmtp and use SMTP-AUTH.
138 -
139 - * "git rebase" learned --whitespace option.
140 -
141 - * In "git rebase", when you decide not to replay a particular change
142 - after the command stopped with a conflict, you can say "git rebase
143 - --skip" without first running "git reset --hard", as the command now
144 - runs it for you.
145 -
146 - * "git rebase --interactive" mode can now work on detached HEAD.
147 -
148 - * Other minor to serious bugs in "git rebase -i" have been fixed.
149 -
150 - * "git rebase" now detaches head during its operation, so after a
151 - successful "git rebase" operation, the reflog entry branch@{1} for
152 - the current branch points at the commit before the rebase was
153 - started.
154 -
155 - * "git rebase -i" also triggers rerere to help your repeated merges.
156 -
157 - * "git merge" can call the "post-merge" hook.
158 -
159 - * "git pack-objects" can optionally run deltification with multiple
160 - threads.
161 -
162 - * "git archive" can optionally substitute keywords in files marked with
163 - export-subst attribute.
164 -
165 - * "git cherry-pick" made a misguided attempt to repeat the original
166 - command line in the generated log message, when told to cherry-pick a
167 - commit by naming a tag that points at it. It does not anymore.
168 -
169 - * "git for-each-ref" learned %(xxxdate:<date-format>) syntax to show the
170 - various date fields in different formats.
171 -
172 - * "git gc --auto" is a low-impact way to automatically run a variant of
173 - "git repack" that does not lose unreferenced objects (read: safer
174 - than the usual one) after the user accumulates too many loose
175 - objects.
176 -
177 - * "git clean" has been rewritten in C.
178 -
179 - * You need to explicitly set clean.requireForce to "false" to allow
180 - "git clean" without -f to do any damage (lack of the configuration
181 - variable used to mean "do not require -f option to lose untracked
182 - files", but we now use the safer default).
183 -
184 - * The kinds of whitespace errors "git diff" and "git apply" notice (and
185 - fix) can be controlled via 'core.whitespace' configuration variable
186 - and 'whitespace' attribute in .gitattributes file.
187 -
188 - * "git push" learned --dry-run option to show what would happen if a
189 - push is run.
190 -
191 - * "git push" does not update a tracking ref on the local side when the
192 - remote refused to update the corresponding ref.
193 -
194 - * "git push" learned --mirror option. This is to push the local refs
195 - one-to-one to the remote, and deletes refs from the remote that do
196 - not exist anymore in the repository on the pushing side.
197 -
198 - * "git push" can remove a corrupt ref at the remote site with the usual
199 - ":ref" refspec.
200 -
201 - * "git remote" knows --mirror mode. This is to set up configuration to
202 - push into a remote repository to store local branch heads to the same
203 - branch on the remote side, and remove branch heads locally removed
204 - from local repository at the same time. Suitable for pushing into a
205 - back-up repository.
206 -
207 - * "git remote" learned "rm" subcommand.
208 -
209 - * "git cvsserver" can be run via "git shell". Also, "cvs" is
210 - recognized as a synonym for "git cvsserver", so that CVS users
211 - can be switched to git just by changing their login shell.
212 -
213 - * "git cvsserver" acts more like receive-pack by running post-receive
214 - and post-update hooks.
215 -
216 - * "git am" and "git rebase" are far less verbose.
217 -
218 - * "git pull" learned to pass --[no-]ff option to underlying "git
219 - merge".
220 -
221 - * "git pull --rebase" is a different way to integrate what you fetched
222 - into your current branch.
223 -
224 - * "git fast-export" produces data-stream that can be fed to fast-import
225 - to reproduce the history recorded in a git repository.
226 -
227 - * "git add -i" takes pathspecs to limit the set of files to work on.
228 -
229 - * "git add -p" is a short-hand to go directly to the selective patch
230 - subcommand in the interactive command loop and to exit when done.
231 -
232 - * "git add -i" UI has been colorized. The interactive prompt
233 - and menu can be colored by setting color.interactive
234 - configuration. The diff output (including the hunk picker)
235 - are colored with color.diff configuration.
236 -
237 - * "git commit --allow-empty" allows you to create a single-parent
238 - commit that records the same tree as its parent, overriding the usual
239 - safety valve.
240 -
241 - * "git commit --amend" can amend a merge that does not change the tree
242 - from its first parent.
243 -
244 - * "git commit" used to unconditionally strip comment lines that
245 - began with '#' and removed excess blank lines. This behavior has
246 - been made configurable.
247 -
248 - * "git commit" has been rewritten in C.
249 -
250 - * "git stash random-text" does not create a new stash anymore. It was
251 - a UI mistake. Use "git stash save random-text", or "git stash"
252 - (without extra args) for that.
253 -
254 - * "git stash clear extra-text" does not clear the whole stash
255 - anymore. It is tempting to expect "git stash clear stash@{2}"
256 - to drop only a single named stash entry, and it is rude to
257 - discard everything when that is asked (but not provided).
258 -
259 - * "git prune --expire <time>" can exempt young loose objects from
260 - getting pruned.
261 -
262 - * "git branch --contains <commit>" can list branches that are
263 - descendants of a given commit.
264 -
265 - * "git log" learned --early-output option to help interactive GUI
266 - implementations.
267 -
268 - * "git bisect" learned "skip" action to mark untestable commits.
269 -
270 - * "git bisect visualize" learned a shorter synonym "git bisect view".
271 -
272 - * "git bisect visualize" runs "git log" in a non-windowed
273 - environments. It also can be told what command to run (e.g. "git
274 - bisect visualize tig").
275 -
276 - * "git format-patch" learned "format.numbered" configuration variable
277 - to automatically turn --numbered option on when more than one commits
278 - are formatted.
279 -
280 - * "git ls-files" learned "--exclude-standard" to use the canned set of
281 - exclude files.
282 -
283 - * "git tag -a -f existing" begins the editor session using the existing
284 - annotation message.
285 -
286 - * "git tag -m one -m bar" (multiple -m options) behaves similarly to
287 - "git commit"; the parameters to -m options are formatted as separate
288 - paragraphs.
289 -
290 - * The format "git show" outputs an annotated tag has been updated to
291 - include "Tagger: " and "Date: " lines from the tag itself. Strictly
292 - speaking this is a backward incompatible change, but this is a
293 - reasonable usability fix and people's scripts shouldn't have been
294 - relying on the exact output from "git show" Porcelain anyway.
295 -
296 - * "git cvsimport" did not notice errors from underlying "cvsps"
297 - and produced a corrupt import silently.
298 -
299 - * "git cvsexportcommit" learned -w option to specify and switch to the
300 - CVS working directory.
301 -
302 - * "git checkout" from a subdirectory learned to use "../path" to allow
303 - checking out a path outside the current directory without cd'ing up.
304 -
305 - * "git checkout" from and to detached HEAD leaves a bit more
306 - information in the reflog.
307 -
308 - * "git send-email --dry-run" shows full headers for easier diagnosis.
309 -
310 - * "git merge-ours" is now built-in.
311 -
312 - * "git svn" learned "info" and "show-externals" subcommands.
313 -
314 - * "git svn" run from a subdirectory failed to read settings from the
315 - .git/config.
316 -
317 - * "git svn" learned --use-log-author option, which picks up more
318 - descriptive name from From: and Signed-off-by: lines in the commit
319 - message.
320 -
321 - * "git svn" wasted way too much disk to record revision mappings
322 - between svn and git; a new representation that is much more compact
323 - for this information has been introduced to correct this.
324 -
325 - * "git svn" left temporary index files it used without cleaning them
326 - up; this was corrected.
327 -
328 - * "git status" from a subdirectory now shows relative paths, which
329 - makes copy-and-pasting for git-checkout/git-add/git-rm easier. The
330 - traditional behavior to show the full path relative to the top of
331 - the work tree can be had by setting status.relativepaths
332 - configuration variable to false.
333 -
334 - * "git blame" kept text for each annotated revision in core needlessly;
335 - this has been corrected.
336 -
337 - * "git shortlog" learned to default to HEAD when the standard input is
338 - a terminal and the user did not give any revision parameter.
339 -
340 - * "git shortlog" learned "-e" option to show e-mail addresses as well as
341 - authors' names.
342 -
343 - * "git help" learned "-w" option to show documentation in browsers.
344 -
345 - * In addition there are quite a few internal clean-ups. Notably:
346 -
347 - - many fork/exec have been replaced with run-command API,
348 - brought from the msysgit effort.
349 -
350 - - introduction and more use of the option parser API.
351 -
352 - - enhancement and more use of the strbuf API.
353 -
354 - * Makefile tweaks to support HP-UX is in.
355 -
356 - Fixes since v1.5.3
357 - ------------------
358 -
359 - All of the fixes in v1.5.3 maintenance series are included in
360 - this release, unless otherwise noted.
361 -
362 - These fixes are only in v1.5.4 and not backported to v1.5.3 maintenance
363 - series.
364 -
365 - * The way "git diff --check" behaves is much more consistent with the way
366 - "git apply --whitespace=warn" works.
367 -
368 - * "git svn" talking with the SVN over HTTP will correctly quote branch
369 - and project names.
370 -
371 - * "git config" did not work correctly on platforms that define
372 - REG_NOMATCH to an even number.
373 -
374 - * Recent versions of AsciiDoc 8 has a change to break our
375 - documentation; a workaround has been implemented.
376 -
377 - * "git diff --color-words" colored context lines in a wrong color.
deleted Documentation/RelNotes/1.5.5.1.adoc mode 100644
@@ -1,44 +0,0 @@
1 - GIT v1.5.5.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.5
5 - ------------------
6 -
7 - * "git archive --prefix=$path/" mishandled gitattributes.
8 -
9 - * "git fetch -v" that fetches into FETCH_HEAD did not report the summary
10 - the same way as done for updating the tracking refs.
11 -
12 - * "git svn" misbehaved when the configuration file customized the "git
13 - log" output format using format.pretty.
14 -
15 - * "git submodule status" leaked an unnecessary error message.
16 -
17 - * "git log --date-order --topo-order" did not override the earlier
18 - date-order with topo-order as expected.
19 -
20 - * "git bisect good $this" did not check the validity of the revision
21 - given properly.
22 -
23 - * "url.<there>.insteadOf" did not work correctly.
24 -
25 - * "git clean" ran inside subdirectory behaved as if the directory was
26 - explicitly specified for removal by the end user from the top level.
27 -
28 - * "git bisect" from a detached head leaked an unnecessary error message.
29 -
30 - * "git bisect good $a $b" when $a is Ok but $b is bogus should have
31 - atomically failed before marking $a as good.
32 -
33 - * "git fmt-merge-msg" did not clean up leading empty lines from commit
34 - log messages like "git log" family does.
35 -
36 - * "git am" recorded a commit with empty Subject: line without
37 - complaining.
38 -
39 - * when given a commit log message whose first paragraph consists of
40 - multiple lines, "git rebase" squashed it into a single line.
41 -
42 - * "git remote add $bogus_name $url" did not complain properly.
43 -
44 - Also comes with various documentation updates.
deleted Documentation/RelNotes/1.5.5.2.adoc mode 100644
@@ -1,27 +0,0 @@
1 - GIT v1.5.5.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.5.1
5 - --------------------
6 -
7 - * "git repack -n" was mistakenly made no-op earlier.
8 -
9 - * "git imap-send" wanted to always have imap.host even when use of
10 - imap.tunnel made it unnecessary.
11 -
12 - * reflog syntax that uses time e.g. "HEAD@{10 seconds ago}:path" did not
13 - stop parsing at the closing "}".
14 -
15 - * "git rev-parse --symbolic-full-name ^master^2" printed solitary "^",
16 - but it should print nothing.
17 -
18 - * "git commit" did not detect when it failed to write tree objects.
19 -
20 - * "git fetch" sometimes transferred too many objects unnecessarily.
21 -
22 - * a path specification "a/b" in .gitattributes file should not match
23 - "sub/a/b".
24 -
25 - * various gitweb fixes.
26 -
27 - Also comes with various documentation updates.
deleted Documentation/RelNotes/1.5.5.3.adoc mode 100644
@@ -1,12 +0,0 @@
1 - GIT v1.5.5.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.5.2
5 - --------------------
6 -
7 - * "git send-email --compose" did not notice that non-ascii contents
8 - needed some MIME magic.
9 -
10 - * "git fast-export" did not export octopus merges correctly.
11 -
12 - Also comes with various documentation updates.
deleted Documentation/RelNotes/1.5.5.4.adoc mode 100644
@@ -1,7 +0,0 @@
1 - GIT v1.5.5.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.5.4
5 - --------------------
6 -
7 - * "git name-rev --all" used to segfault.
deleted Documentation/RelNotes/1.5.5.5.adoc mode 100644
@@ -1,11 +0,0 @@
1 - GIT v1.5.5.5 Release Notes
2 - ==========================
3 -
4 - I personally do not think there is any reason anybody should want to
5 - run v1.5.5.X series these days, because 'master' version is always
6 - more stable than any tagged released version of git.
7 -
8 - This is primarily to futureproof "git-shell" to accept requests
9 - without a dash between "git" and subcommand name (e.g. "git
10 - upload-pack") which the newer client will start to make sometime in
11 - the future.
deleted Documentation/RelNotes/1.5.5.6.adoc mode 100644
@@ -1,10 +0,0 @@
1 - GIT v1.5.5.6 Release Notes
2 - ==========================
3 -
4 - Fixes since 1.5.5.5
5 - -------------------
6 -
7 - * Removed support for an obsolete gitweb request URI, whose
8 - implementation ran "git diff" Porcelain, instead of using plumbing,
9 - which would have run an external diff command specified in the
10 - repository configuration as the gitweb user.
deleted Documentation/RelNotes/1.5.5.adoc mode 100644
@@ -1,207 +0,0 @@
1 - GIT v1.5.5 Release Notes
2 - ========================
3 -
4 - Updates since v1.5.4
5 - --------------------
6 -
7 - (subsystems)
8 -
9 - * Comes with git-gui 0.10.1
10 -
11 - (portability)
12 -
13 - * We shouldn't ask for BSD group ownership semantics by setting g+s bit
14 - on directories on older BSD systems that refuses chmod() by non root
15 - users. BSD semantics is the default there anyway.
16 -
17 - * Bunch of portability improvement patches coming from an effort to port
18 - to Solaris has been applied.
19 -
20 - (performance)
21 -
22 - * On platforms with suboptimal qsort(3) implementation, there
23 - is an option to use more reasonable substitute we ship with
24 - our software.
25 -
26 - * New configuration variable "pack.packsizelimit" can be used
27 - in place of command line option --max-pack-size.
28 -
29 - * "git fetch" over the native git protocol used to make a
30 - connection to find out the set of current remote refs and
31 - another to actually download the pack data. We now use only
32 - one connection for these tasks.
33 -
34 - * "git commit" does not run lstat(2) more than necessary
35 - anymore.
36 -
37 - (usability, bells and whistles)
38 -
39 - * Bash completion script (in contrib) are aware of more commands and
40 - options.
41 -
42 - * You can be warned when core.autocrlf conversion is applied in
43 - such a way that results in an irreversible conversion.
44 -
45 - * A catch-all "color.ui" configuration variable can be used to
46 - enable coloring of all color-capable commands, instead of
47 - individual ones such as "color.status" and "color.branch".
48 -
49 - * The commands refused to take absolute pathnames where they
50 - require pathnames relative to the work tree or the current
51 - subdirectory. They now can take absolute pathnames in such a
52 - case as long as the pathnames do not refer outside of the
53 - work tree. E.g. "git add $(pwd)/foo" now works.
54 -
55 - * Error messages used to be sent to stderr, only to get hidden,
56 - when $PAGER was in use. They now are sent to stdout along
57 - with the command output to be shown in the $PAGER.
58 -
59 - * A pattern "foo/" in .gitignore file now matches a directory
60 - "foo". Pattern "foo" also matches as before.
61 -
62 - * bash completion's prompt helper function can talk about
63 - operation in-progress (e.g. merge, rebase, etc.).
64 -
65 - * Configuration variables "url.<usethis>.insteadof = <otherurl>" can be
66 - used to tell "git-fetch" and "git-push" to use different URL than what
67 - is given from the command line.
68 -
69 - * "git add -i" behaves better even before you make an initial commit.
70 -
71 - * "git am" refused to run from a subdirectory without a good reason.
72 -
73 - * After "git apply --whitespace=fix" fixes whitespace errors in a patch,
74 - a line before the fix can appear as a context or preimage line in a
75 - later patch, causing the patch not to apply. The command now knows to
76 - see through whitespace fixes done to context lines to successfully
77 - apply such a patch series.
78 -
79 - * "git branch" (and "git checkout -b") to branch from a local branch can
80 - optionally set "branch.<name>.merge" to mark the new branch to build on
81 - the other local branch, when "branch.autosetupmerge" is set to
82 - "always", or when passing the command line option "--track" (this option
83 - was ignored when branching from local branches). By default, this does
84 - not happen when branching from a local branch.
85 -
86 - * "git checkout" to switch to a branch that has "branch.<name>.merge" set
87 - (i.e. marked to build on another branch) reports how much the branch
88 - and the other branch diverged.
89 -
90 - * When "git checkout" has to update a lot of paths, it used to be silent
91 - for 4 seconds before it showed any progress report. It is now a bit
92 - more impatient and starts showing progress report early.
93 -
94 - * "git commit" learned a new hook "prepare-commit-msg" that can
95 - inspect what is going to be committed and prepare the commit
96 - log message template to be edited.
97 -
98 - * "git cvsimport" can now take more than one -M options.
99 -
100 - * "git describe" learned to limit the tags to be used for
101 - naming with --match option.
102 -
103 - * "git describe --contains" now barfs when the named commit
104 - cannot be described.
105 -
106 - * "git describe --exact-match" describes only commits that are tagged.
107 -
108 - * "git describe --long" describes a tagged commit as $tag-0-$sha1,
109 - instead of just showing the exact tagname.
110 -
111 - * "git describe" warns when using a tag whose name and path contradict
112 - with each other.
113 -
114 - * "git diff" learned "--relative" option to limit and output paths
115 - relative to the current directory when working in a subdirectory.
116 -
117 - * "git diff" learned "--dirstat" option to show birds-eye-summary of
118 - changes more concisely than "--diffstat".
119 -
120 - * "git format-patch" learned --cover-letter option to generate a cover
121 - letter template.
122 -
123 - * "git gc" learned --quiet option.
124 -
125 - * "git gc" now automatically prunes unreachable objects that are two
126 - weeks old or older.
127 -
128 - * "git gc --auto" can be disabled more easily by just setting gc.auto
129 - to zero. It also tolerates more packfiles by default.
130 -
131 - * "git grep" now knows "--name-only" is a synonym for the "-l" option.
132 -
133 - * "git help <alias>" now reports "'git <alias>' is alias to <what>",
134 - instead of saying "No manual entry for git-<alias>".
135 -
136 - * "git help" can use different backends to show manual pages and this can
137 - be configured using "man.viewer" configuration.
138 -
139 - * "gitk" does not restore window position from $HOME/.gitk anymore (it
140 - still restores the size).
141 -
142 - * "git log --grep=<what>" learned "--fixed-strings" option to look for
143 - <what> without treating it as a regular expression.
144 -
145 - * "git gui" learned an auto-spell checking.
146 -
147 - * "git push <somewhere> HEAD" and "git push <somewhere> +HEAD" works as
148 - expected; they push the current branch (and only the current branch).
149 - In addition, HEAD can be written as the value of "remote.<there>.push"
150 - configuration variable.
151 -
152 - * When the configuration variable "pack.threads" is set to 0, "git
153 - repack" auto detects the number of CPUs and uses that many threads.
154 -
155 - * "git send-email" learned to prompt for passwords
156 - interactively.
157 -
158 - * "git send-email" learned an easier way to suppress CC
159 - recipients.
160 -
161 - * "git stash" learned "pop" command, that applies the latest stash and
162 - removes it from the stash, and "drop" command to discard the named
163 - stash entry.
164 -
165 - * "git submodule" learned a new subcommand "summary" to show the
166 - symmetric difference between the HEAD version and the work tree version
167 - of the submodule commits.
168 -
169 - * Various "git cvsimport", "git cvsexportcommit", "git cvsserver",
170 - "git svn" and "git p4" improvements.
171 -
172 - (internal)
173 -
174 - * Duplicated code between git-help and git-instaweb that
175 - launches user's preferred browser has been refactored.
176 -
177 - * It is now easier to write test scripts that records known
178 - breakages.
179 -
180 - * "git checkout" is rewritten in C.
181 -
182 - * "git remote" is rewritten in C.
183 -
184 - * Two conflict hunks that are separated by a very short span of common
185 - lines are now coalesced into one larger hunk, to make the result easier
186 - to read.
187 -
188 - * Run-command API's use of file descriptors is documented clearer and
189 - is more consistent now.
190 -
191 - * diff output can be sent to FILE * that is different from stdout. This
192 - will help reimplementing more things in C.
193 -
194 - Fixes since v1.5.4
195 - ------------------
196 -
197 - All of the fixes in v1.5.4 maintenance series are included in
198 - this release, unless otherwise noted.
199 -
200 - * "git-http-push" did not allow deletion of remote ref with the usual
201 - "push <remote> :<branch>" syntax.
202 -
203 - * "git-rebase --abort" did not go back to the right location if
204 - "git-reset" was run during the "git-rebase" session.
205 -
206 - * "git imap-send" without setting imap.host did not error out but
207 - segfaulted.
deleted Documentation/RelNotes/1.5.6.1.adoc mode 100644
@@ -1,28 +0,0 @@
1 - GIT v1.5.6.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.6
5 - ------------------
6 -
7 - * Last minute change broke loose object creation on AIX.
8 -
9 - * (performance fix) We used to make $GIT_DIR absolute path early in the
10 - programs but keeping it relative to the current directory internally
11 - gives 1-3 per-cent performance boost.
12 -
13 - * bash completion knows the new --graph option to git-log family.
14 -
15 -
16 - * git-diff -c/--cc showed unnecessary "deletion" lines at the context
17 - boundary.
18 -
19 - * git-for-each-ref ignored %(object) and %(type) requests for tag
20 - objects.
21 -
22 - * git-merge usage had a typo.
23 -
24 - * Rebuilding of git-svn metainfo database did not take rewriteRoot
25 - option into account.
26 -
27 - * Running "git-rebase --continue/--skip/--abort" before starting a
28 - rebase gave nonsense error messages.
deleted Documentation/RelNotes/1.5.6.2.adoc mode 100644
@@ -1,40 +0,0 @@
1 - GIT v1.5.6.2 Release Notes
2 - ==========================
3 -
4 - Futureproof
5 - -----------
6 -
7 - * "git-shell" accepts requests without a dash between "git" and
8 - subcommand name (e.g. "git upload-pack") which the newer client will
9 - start to make sometime in the future.
10 -
11 - Fixes since v1.5.6.1
12 - --------------------
13 -
14 - * "git clone" from a remote that is named with url.insteadOf setting in
15 - $HOME/.gitconfig did not work well.
16 -
17 - * "git describe --long --tags" segfaulted when the described revision was
18 - tagged with a lightweight tag.
19 -
20 - * "git diff --check" did not report the result via its exit status
21 - reliably.
22 -
23 - * When remote side used to have branch 'foo' and git-fetch finds that now
24 - it has branch 'foo/bar', it refuses to lose the existing remote tracking
25 - branch and its reflog. The error message has been improved to suggest
26 - pruning the remote if the user wants to proceed and get the latest set
27 - of branches from the remote, including such 'foo/bar'.
28 -
29 - * "git reset file" should mean the same thing as "git reset HEAD file",
30 - but we required disambiguating -- even when "file" is not ambiguous.
31 -
32 - * "git show" segfaulted when an annotated tag that points at another
33 - annotated tag was given to it.
34 -
35 - * Optimization for a large import via "git-svn" introduced in v1.5.6 had a
36 - serious memory and temporary file leak, which made it unusable for
37 - moderately large import.
38 -
39 - * "git-svn" mangled remote nickname used in the configuration file
40 - unnecessarily.
deleted Documentation/RelNotes/1.5.6.3.adoc mode 100644
@@ -1,52 +0,0 @@
1 - GIT v1.5.6.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.6.2
5 - --------------------
6 -
7 - * Setting core.sharedrepository to traditional "true" value was supposed to make
8 - the repository group writable but should not affect permission for others.
9 - However, since 1.5.6, it was broken to drop permission for others when umask is
10 - 022, making the repository unreadable by others.
11 -
12 - * Setting GIT_TRACE will report spawning of external process via run_command().
13 -
14 - * Using an object with very deep delta chain pinned memory needed for extracting
15 - intermediate base objects unnecessarily long, leading to excess memory usage.
16 -
17 - * Bash completion script did not notice '--' marker on the command
18 - line and tried the relatively slow "ref completion" even when
19 - completing arguments after one.
20 -
21 - * Registering a non-empty blob racily and then truncating the working
22 - tree file for it confused "racy-git avoidance" logic into thinking
23 - that the path is now unchanged.
24 -
25 - * The section that describes attributes related to git-archive were placed
26 - in a wrong place in the gitattributes(5) manual page.
27 -
28 - * "git am" was not helpful to the users when it detected that the committer
29 - information is not set up properly yet.
30 -
31 - * "git clone" had a leftover debugging fprintf().
32 -
33 - * "git clone -q" was not quiet enough as it used to and gave object count
34 - and progress reports.
35 -
36 - * "git clone" marked downloaded packfile with .keep; this could be a
37 - good thing if the remote side is well packed but otherwise not,
38 - especially for a project that is not really big.
39 -
40 - * "git daemon" used to call syslog() from a signal handler, which
41 - could raise signals of its own but generally is not reentrant. This
42 - was fixed by restructuring the code to report syslog() after the handler
43 - returns.
44 -
45 - * When "git push" tries to remove a remote ref, and corresponding
46 - tracking ref is missing, we used to report error (i.e. failure to
47 - remove something that does not exist).
48 -
49 - * "git mailinfo" (hence "git am") did not handle commit log messages in a
50 - MIME multipart mail correctly.
51 -
52 - Contains other various documentation fixes.
deleted Documentation/RelNotes/1.5.6.4.adoc mode 100644
@@ -1,47 +0,0 @@
1 - GIT v1.5.6.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.6.3
5 - --------------------
6 -
7 - * Various commands could overflow its internal buffer on a platform
8 - with small PATH_MAX value in a repository that has contents with
9 - long pathnames.
10 -
11 - * There wasn't a way to make --pretty=format:%<> specifiers to honor
12 - .mailmap name rewriting for authors and committers. Now you can with
13 - %aN and %cN.
14 -
15 - * Bash completion wasted too many cycles; this has been optimized to be
16 - usable again.
17 -
18 - * Bash completion lost ref part when completing something like "git show
19 - pu:Makefile".
20 -
21 - * "git-cvsserver" did not clean up its temporary working area after annotate
22 - request.
23 -
24 - * "git-daemon" called syslog() from its signal handler, which was a
25 - no-no.
26 -
27 - * "git-fetch" into an empty repository used to remind that the fetch will
28 - be huge by saying "no common commits", but this was an unnecessary
29 - noise; it is already known by the user anyway.
30 -
31 - * "git-http-fetch" would have segfaulted when pack idx file retrieved
32 - from the other side was corrupt.
33 -
34 - * "git-index-pack" used too much memory when dealing with a deep delta chain.
35 -
36 - * "git-mailinfo" (hence "git-am") did not correctly handle in-body [PATCH]
37 - line to override the commit title taken from the mail Subject header.
38 -
39 - * "git-rebase -i -p" lost parents that are not involved in the history
40 - being rewritten.
41 -
42 - * "git-rm" lost track of where the index file was when GIT_DIR was
43 - specified as a relative path.
44 -
45 - * "git-rev-list --quiet" was not quiet as advertised.
46 -
47 - Contains other various documentation fixes.
deleted Documentation/RelNotes/1.5.6.5.adoc mode 100644
@@ -1,29 +0,0 @@
1 - GIT v1.5.6.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.5.6.4
5 - --------------------
6 -
7 - * "git cvsimport" used to spit out "UNKNOWN LINE..." diagnostics to stdout.
8 -
9 - * "git commit -F filename" and "git tag -F filename" run from subdirectories
10 - did not read the right file.
11 -
12 - * "git init --template=" with blank "template" parameter linked files
13 - under root directories to .git, which was a total nonsense. Instead, it
14 - means "I do not want to use anything from the template directory".
15 -
16 - * "git diff-tree" and other diff plumbing ignored diff.renamelimit configuration
17 - variable when the user explicitly asked for rename detection.
18 -
19 - * "git name-rev --name-only" did not work when "--stdin" option was in effect.
20 -
21 - * "git show-branch" mishandled its 8th branch.
22 -
23 - * Addition of "git update-index --ignore-submodules" that happened during
24 - 1.5.6 cycle broke "git update-index --ignore-missing".
25 -
26 - * "git send-email" did not parse charset from an existing Content-type:
27 - header properly.
28 -
29 - Contains other various documentation fixes.
deleted Documentation/RelNotes/1.5.6.6.adoc mode 100644
@@ -1,10 +0,0 @@
1 - GIT v1.5.6.6 Release Notes
2 - ==========================
3 -
4 - Fixes since 1.5.6.5
5 - -------------------
6 -
7 - * Removed support for an obsolete gitweb request URI, whose
8 - implementation ran "git diff" Porcelain, instead of using plumbing,
9 - which would have run an external diff command specified in the
10 - repository configuration as the gitweb user.
deleted Documentation/RelNotes/1.5.6.adoc mode 100644
@@ -1,115 +0,0 @@
1 - GIT v1.5.6 Release Notes
2 - ========================
3 -
4 - Updates since v1.5.5
5 - --------------------
6 -
7 - (subsystems)
8 -
9 - * Comes with updated gitk and git-gui.
10 -
11 - (portability)
12 -
13 - * git will build on AIX better than before now.
14 -
15 - * core.ignorecase configuration variable can be used to work better on
16 - filesystems that are not case sensitive.
17 -
18 - * "git init" now autodetects the case sensitivity of the filesystem and
19 - sets core.ignorecase accordingly.
20 -
21 - * cpio is no longer used; neither "curl" binary (libcurl is still used).
22 -
23 - (documentation)
24 -
25 - * Many freestanding documentation pages have been converted and made
26 - available to "git help" (aka "man git<something>") as section 7 of
27 - the manual pages. This means bookmarks to some HTML documentation
28 - files may need to be updated (eg "tutorial.html" became
29 - "gittutorial.html").
30 -
31 - (performance)
32 -
33 - * "git clone" was rewritten in C. This will hopefully help cloning a
34 - repository with insane number of refs.
35 -
36 - * "git rebase --onto $there $from $branch" used to switch to the tip of
37 - $branch only to immediately reset back to $from, smudging work tree
38 - files unnecessarily. This has been optimized.
39 -
40 - * Object creation codepath in "git-svn" has been optimized by enhancing
41 - plumbing commands git-cat-file and git-hash-object.
42 -
43 - (usability, bells and whistles)
44 -
45 - * "git add -p" (and the "patch" subcommand of "git add -i") can choose to
46 - apply (or not apply) mode changes independently from contents changes.
47 -
48 - * "git bisect help" gives longer and more helpful usage information.
49 -
50 - * "git bisect" does not use a special branch "bisect" anymore; instead, it
51 - does its work on a detached HEAD.
52 -
53 - * "git branch" (and "git checkout -b") can be told to set up
54 - branch.<name>.rebase automatically, so that later you can say "git pull"
55 - and magically cause "git pull --rebase" to happen.
56 -
57 - * "git branch --merged" and "git branch --no-merged" can be used to list
58 - branches that have already been merged (or not yet merged) to the
59 - current branch.
60 -
61 - * "git cherry-pick" and "git revert" can add a sign-off.
62 -
63 - * "git commit" mentions the author identity when you are committing
64 - somebody else's changes.
65 -
66 - * "git diff/log --dirstat" output is consistent between binary and textual
67 - changes.
68 -
69 - * "git filter-branch" rewrites signed tags by demoting them to annotated.
70 -
71 - * "git format-patch --no-binary" can produce a patch that lack binary
72 - changes (i.e. cannot be used to propagate the whole changes) meant only
73 - for reviewing.
74 -
75 - * "git init --bare" is a synonym for "git --bare init" now.
76 -
77 - * "git gc --auto" honors a new pre-auto-gc hook to temporarily disable it.
78 -
79 - * "git log --pretty=tformat:<custom format>" gives a LF after each entry,
80 - instead of giving a LF between each pair of entries which is how
81 - "git log --pretty=format:<custom format>" works.
82 -
83 - * "git log" and friends learned the "--graph" option to show the ancestry
84 - graph at the left margin of the output.
85 -
86 - * "git log" and friends can be told to use date format that is different
87 - from the default via 'log.date' configuration variable.
88 -
89 - * "git send-email" now can send out messages outside a git repository.
90 -
91 - * "git send-email --compose" was made aware of rfc2047 quoting.
92 -
93 - * "git status" can optionally include output from "git submodule
94 - summary".
95 -
96 - * "git svn" learned --add-author-from option to propagate the authorship
97 - by munging the commit log message.
98 -
99 - * new object creation and looking up in "git svn" has been optimized.
100 -
101 - * "gitweb" can read from a system-wide configuration file.
102 -
103 - (internal)
104 -
105 - * "git unpack-objects" and "git receive-pack" is now more strict about
106 - detecting breakage in the objects they receive over the wire.
107 -
108 -
109 - Fixes since v1.5.5
110 - ------------------
111 -
112 - All of the fixes in v1.5.5 maintenance series are included in
113 - this release, unless otherwise noted.
114 -
115 - And there are too numerous small fixes to otherwise note here ;-)
deleted Documentation/RelNotes/1.6.0.1.adoc mode 100644
@@ -1,36 +0,0 @@
1 - GIT v1.6.0.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.0
5 - ------------------
6 -
7 - * "git diff --cc" did not honor content mangling specified by
8 - gitattributes and core.autocrlf when reading from the work tree.
9 -
10 - * "git diff --check" incorrectly detected new trailing blank lines when
11 - whitespace check was in effect.
12 -
13 - * "git for-each-ref" tried to dereference NULL when asked for '%(body)" on
14 - a tag with a single incomplete line as its payload.
15 -
16 - * "git format-patch" peeked before the beginning of a string when
17 - "format.headers" variable is empty (a misconfiguration).
18 -
19 - * "git help help" did not work correctly.
20 -
21 - * "git mailinfo" (hence "git am") was unhappy when MIME multipart message
22 - contained garbage after the finishing boundary.
23 -
24 - * "git mailinfo" also was unhappy when the "From: " line only had a bare
25 - e-mail address.
26 -
27 - * "git merge" did not refresh the index correctly when a merge resulted in
28 - a fast-forward.
29 -
30 - * "git merge" did not resolve a truly trivial merges that can be done
31 - without content level merges.
32 -
33 - * "git svn dcommit" to a repository with URL that has embedded usernames
34 - did not work correctly.
35 -
36 - Contains other various documentation fixes.
deleted Documentation/RelNotes/1.6.0.2.adoc mode 100644
@@ -1,81 +0,0 @@
1 - GIT v1.6.0.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.0.1
5 - --------------------
6 -
7 - * Installation on platforms that needs .exe suffix to git-* programs were
8 - broken in 1.6.0.1.
9 -
10 - * Installation on filesystems without symbolic links support did not
11 - work well.
12 -
13 - * In-tree documentations and test scripts now use "git foo" form to set a
14 - better example, instead of the "git-foo" form (which is an acceptable
15 - form if you have "PATH=$(git --exec-path):$PATH" in your script)
16 -
17 - * Many commands did not use the correct working tree location when used
18 - with GIT_WORK_TREE environment settings.
19 -
20 - * Some systems need to use compatibility fnmatch and regex libraries
21 - independent from each other; the compat/ area has been reorganized to
22 - allow this.
23 -
24 -
25 - * "git apply --unidiff-zero" incorrectly applied a -U0 patch that inserts
26 - a new line before the second line.
27 -
28 - * "git blame -c" did not exactly work like "git annotate" when range
29 - boundaries are involved.
30 -
31 - * "git checkout file" when file is still unmerged checked out contents from
32 - a random high order stage, which was confusing.
33 -
34 - * "git clone $there $here/" with extra trailing slashes after explicit
35 - local directory name $here did not work as expected.
36 -
37 - * "git diff" on tracked contents with CRLF line endings did not drive "less"
38 - intelligently when showing added or removed lines.
39 -
40 - * "git diff --dirstat -M" did not add changes in subdirectories up
41 - correctly for renamed paths.
42 -
43 - * "git diff --cumulative" did not imply "--dirstat".
44 -
45 - * "git for-each-ref refs/heads/" did not work as expected.
46 -
47 - * "git gui" allowed users to feed patch without any context to be applied.
48 -
49 - * "git gui" botched parsing "diff" output when a line that begins with two
50 - dashes and a space gets removed or a line that begins with two pluses
51 - and a space gets added.
52 -
53 - * "git gui" translation updates and i18n fixes.
54 -
55 - * "git index-pack" is more careful against disk corruption while completing
56 - a thin pack.
57 -
58 - * "git log -i --grep=pattern" did not ignore case; neither "git log -E
59 - --grep=pattern" triggered extended regexp.
60 -
61 - * "git log --pretty="%ad" --date=short" did not use short format when
62 - showing the timestamp.
63 -
64 - * "git log --author=author" match incorrectly matched with the
65 - timestamp part of "author " line in commit objects.
66 -
67 - * "git log -F --author=author" did not work at all.
68 -
69 - * Build procedure for "git shell" that used stub versions of some
70 - functions and globals was not understood by linkers on some platforms.
71 -
72 - * "git stash" was fooled by a stat-dirty but otherwise unmodified paths
73 - and refused to work until the user refreshed the index.
74 -
75 - * "git svn" was broken on Perl before 5.8 with recent fixes to reduce
76 - use of temporary files.
77 -
78 - * "git verify-pack -v" did not work correctly when given more than one
79 - packfile.
80 -
81 - Also contains many documentation updates.
deleted Documentation/RelNotes/1.6.0.3.adoc mode 100644
@@ -1,117 +0,0 @@
1 - GIT v1.6.0.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.0.2
5 - --------------------
6 -
7 - * "git archive --format=zip" did not honor core.autocrlf while
8 - --format=tar did.
9 -
10 - * Continuing "git rebase -i" was very confused when the user left modified
11 - files in the working tree while resolving conflicts.
12 -
13 - * Continuing "git rebase -i" was also very confused when the user left
14 - some staged changes in the index after "edit".
15 -
16 - * "git rebase -i" now honors the pre-rebase hook, just like the
17 - other rebase implementations "git rebase" and "git rebase -m".
18 -
19 - * "git rebase -i" incorrectly aborted when there is no commit to replay.
20 -
21 - * Behaviour of "git diff --quiet" was inconsistent with "diff --exit-code"
22 - with the output redirected to /dev/null.
23 -
24 - * "git diff --no-index" on binary files no longer outputs a bogus
25 - "diff --git" header line.
26 -
27 - * "git diff" hunk header patterns with multiple elements separated by LF
28 - were not used correctly.
29 -
30 - * Hunk headers in "git diff" default to using extended regular
31 - expressions, fixing some of the internal patterns on non-GNU
32 - platforms.
33 -
34 - * New config "diff.*.xfuncname" exposes extended regular expressions
35 - for user specified hunk header patterns.
36 -
37 - * "git gc" when ejecting otherwise unreachable objects from packfiles into
38 - loose form leaked memory.
39 -
40 - * "git index-pack" was recently broken and mishandled objects added by
41 - thin-pack completion processing under memory pressure.
42 -
43 - * "git index-pack" was recently broken and misbehaved when run from inside
44 - .git/objects/pack/ directory.
45 -
46 - * "git stash apply sash@{1}" was fixed to error out. Prior versions
47 - would have applied stash@{0} incorrectly.
48 -
49 - * "git stash apply" now offers a better suggestion on how to continue
50 - if the working tree is currently dirty.
51 -
52 - * "git for-each-ref --format=%(subject)" fixed for commits with no
53 - newline in the message body.
54 -
55 - * "git remote" fixed to protect printf from user input.
56 -
57 - * "git remote show -v" now displays all URLs of a remote.
58 -
59 - * "git checkout -b branch" was confused when branch already existed.
60 -
61 - * "git checkout -q" once again suppresses the locally modified file list.
62 -
63 - * "git clone -q", "git fetch -q" asks remote side to not send
64 - progress messages, actually making their output quiet.
65 -
66 - * Cross-directory renames are no longer used when creating packs. This
67 - allows more graceful behavior on filesystems like sshfs.
68 -
69 - * Stale temporary files under $GIT_DIR/objects/pack are now cleaned up
70 - automatically by "git prune".
71 -
72 - * "git merge" once again removes directories after the last file has
73 - been removed from it during the merge.
74 -
75 - * "git merge" did not allocate enough memory for the structure itself when
76 - enumerating the parents of the resulting commit.
77 -
78 - * "git blame -C -C" no longer segfaults while trying to pass blame if
79 - it encounters a submodule reference.
80 -
81 - * "git rm" incorrectly claimed that you have local modifications when a
82 - path was merely stat-dirty.
83 -
84 - * "git svn" fixed to display an error message when 'set-tree' failed,
85 - instead of a Perl compile error.
86 -
87 - * "git submodule" fixed to handle checking out a different commit
88 - than HEAD after initializing the submodule.
89 -
90 - * The "git commit" error message when there are still unmerged
91 - files present was clarified to match "git write-tree".
92 -
93 - * "git init" was confused when core.bare or core.sharedRepository are set
94 - in system or user global configuration file by mistake. When --bare or
95 - --shared is given from the command line, these now override such
96 - settings made outside the repositories.
97 -
98 - * Some segfaults due to uncaught NULL pointers were fixed in multiple
99 - tools such as apply, reset, update-index.
100 -
101 - * Solaris builds now default to OLD_ICONV=1 to avoid compile warnings;
102 - Solaris 8 does not define NEEDS_LIBICONV by default.
103 -
104 - * "Git.pm" tests relied on unnecessarily more recent version of Perl.
105 -
106 - * "gitweb" triggered undef warning on commits without log messages.
107 -
108 - * "gitweb" triggered undef warnings on missing trees.
109 -
110 - * "gitweb" now removes PATH_INFO from its URLs so users don't have
111 - to manually set the URL in the gitweb configuration.
112 -
113 - * Bash completion removed support for legacy "git-fetch", "git-push"
114 - and "git-pull" as these are no longer installed. Dashless form
115 - ("git fetch") is still however supported.
116 -
117 - Many other documentation updates.
deleted Documentation/RelNotes/1.6.0.4.adoc mode 100644
@@ -1,39 +0,0 @@
1 - GIT v1.6.0.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.0.3
5 - --------------------
6 -
7 - * 'git add -p' said "No changes" when only binary files were changed.
8 -
9 - * 'git archive' did not work correctly in bare repositories.
10 -
11 - * 'git checkout -t -b newbranch' when you are on detached HEAD was broken.
12 -
13 - * when we refuse to detect renames because there are too many new or
14 - deleted files, 'git diff' did not say how many there are.
15 -
16 - * 'git push --mirror' tried and failed to push the stash; there is no
17 - point in sending it to begin with.
18 -
19 - * 'git push' did not update the remote tracking reference if the corresponding
20 - ref on the remote end happened to be already up to date.
21 -
22 - * 'git pull $there $branch:$current_branch' did not work when you were on
23 - a branch yet to be born.
24 -
25 - * when giving up resolving a conflicted merge, 'git reset --hard' failed
26 - to remove new paths from the working tree.
27 -
28 - * 'git send-email' had a small fd leak while scanning directory.
29 -
30 - * 'git status' incorrectly reported a submodule directory as an untracked
31 - directory.
32 -
33 - * 'git svn' used deprecated 'git-foo' form of subcommand invocation.
34 -
35 - * 'git update-ref -d' to remove a reference did not honor --no-deref option.
36 -
37 - * Plugged small memleaks here and there.
38 -
39 - * Also contains many documentation updates.
deleted Documentation/RelNotes/1.6.0.5.adoc mode 100644
@@ -1,56 +0,0 @@
1 - GIT v1.6.0.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.0.4
5 - --------------------
6 -
7 - * "git checkout" used to crash when your HEAD was pointing at a deleted
8 - branch.
9 -
10 - * "git checkout" from an un-checked-out state did not allow switching out
11 - of the current branch.
12 -
13 - * "git diff" always allowed GIT_EXTERNAL_DIFF and --no-ext-diff was no-op for
14 - the command.
15 -
16 - * Giving 3 or more tree-ish to "git diff" is supposed to show the combined
17 - diff from second and subsequent trees to the first one, but the order was
18 - screwed up.
19 -
20 - * "git fast-export" did not export all tags.
21 -
22 - * "git ls-files --with-tree=<tree>" did not work with options other
23 - than -c, most notably with -m.
24 -
25 - * "git pack-objects" did not make its best effort to honor --max-pack-size
26 - option when a single first object already busted the given limit and
27 - placed many objects in a single pack.
28 -
29 - * "git-p4" fast import frontend was too eager to trigger its keyword expansion
30 - logic, even on a keyword-looking string that does not have closing '$' on the
31 - same line.
32 -
33 - * "git push $there" when the remote $there is defined in $GIT_DIR/branches/$there
34 - behaves more like what cg-push from Cogito used to work.
35 -
36 - * when giving up resolving a conflicted merge, "git reset --hard" failed
37 - to remove new paths from the working tree.
38 -
39 - * "git tag" did not complain when given mutually incompatible set of options.
40 -
41 - * The message constructed in the internal editor was discarded when "git
42 - tag -s" failed to sign the message, which was often caused by the user
43 - not configuring GPG correctly.
44 -
45 - * "make check" cannot be run without sparse; people may have meant to say
46 - "make test" instead, so suggest that.
47 -
48 - * Internal diff machinery had a corner case performance bug that choked on
49 - a large file with many repeated contents.
50 -
51 - * "git repack" used to grab objects out of packs marked with .keep
52 - into a new pack.
53 -
54 - * Many unsafe call to sprintf() style varargs functions are corrected.
55 -
56 - * Also contains quite a few documentation updates.
deleted Documentation/RelNotes/1.6.0.6.adoc mode 100644
@@ -1,33 +0,0 @@
1 - GIT v1.6.0.6 Release Notes
2 - ==========================
3 -
4 - Fixes since 1.6.0.5
5 - -------------------
6 -
7 - * "git fsck" had a deep recursion that wasted stack space.
8 -
9 - * "git fast-export" and "git fast-import" choked on an old style
10 - annotated tag that lack the tagger information.
11 -
12 - * "git mergetool -- file" did not correctly skip "--" marker that
13 - signals the end of options list.
14 -
15 - * "git show $tag" segfaulted when an annotated $tag pointed at a
16 - nonexistent object.
17 -
18 - * "git show 2>error" when the standard output is automatically redirected
19 - to the pager redirected the standard error to the pager as well; there
20 - was no need to.
21 -
22 - * "git send-email" did not correctly handle list of addresses when
23 - they had quoted comma (e.g. "Lastname, Givenname" <mail@addre.ss>).
24 -
25 - * Logic to discover branch ancestry in "git svn" was unreliable when
26 - the process to fetch history was interrupted.
27 -
28 - * Removed support for an obsolete gitweb request URI, whose
29 - implementation ran "git diff" Porcelain, instead of using plumbing,
30 - which would have run an external diff command specified in the
31 - repository configuration as the gitweb user.
32 -
33 - Also contains numerous documentation typofixes.
deleted Documentation/RelNotes/1.6.0.adoc mode 100644
@@ -1,258 +0,0 @@
1 - GIT v1.6.0 Release Notes
2 - ========================
3 -
4 - User visible changes
5 - --------------------
6 -
7 - With the default Makefile settings, most of the programs are now
8 - installed outside your $PATH, except for "git", "gitk" and
9 - some server side programs that need to be accessible for technical
10 - reasons. Invoking a git subcommand as "git-xyzzy" from the command
11 - line has been deprecated since early 2006 (and officially announced in
12 - 1.5.4 release notes); use of them from your scripts after adding
13 - output from "git --exec-path" to the $PATH is still supported in this
14 - release, but users are again strongly encouraged to adjust their
15 - scripts to use "git xyzzy" form, as we will stop installing
16 - "git-xyzzy" hardlinks for built-in commands in later releases.
17 -
18 - An earlier change to page "git status" output was overwhelmingly unpopular
19 - and has been reverted.
20 -
21 - Source changes needed for porting to MinGW environment are now all in the
22 - main git.git codebase.
23 -
24 - By default, packfiles created with this version uses delta-base-offset
25 - encoding introduced in v1.4.4. Pack idx files are using version 2 that
26 - allows larger packs and added robustness thanks to its CRC checking,
27 - introduced in v1.5.2 and v1.4.4.5. If you want to keep your repositories
28 - backwards compatible past these versions, set repack.useDeltaBaseOffset
29 - to false or pack.indexVersion to 1, respectively.
30 -
31 - We used to prevent sample hook scripts shipped in templates/ from
32 - triggering by default by relying on the fact that we install them as
33 - unexecutable, but on some filesystems, this approach does not work.
34 - They are now shipped with ".sample" suffix. If you want to activate
35 - any of these samples as-is, rename them to drop the ".sample" suffix,
36 - instead of running "chmod +x" on them. For example, you can rename
37 - hooks/post-update.sample to hooks/post-update to enable the sample
38 - hook that runs update-server-info, in order to make repositories
39 - friendly to dumb protocols (i.e. HTTP).
40 -
41 - GIT_CONFIG, which was only documented as affecting "git config", but
42 - actually affected all git commands, now only affects "git config".
43 - GIT_LOCAL_CONFIG, also only documented as affecting "git config" and
44 - not different from GIT_CONFIG in a useful way, is removed.
45 -
46 - The ".dotest" temporary area "git am" and "git rebase" use is now moved
47 - inside the $GIT_DIR, to avoid mistakes of adding it to the project by
48 - accident.
49 -
50 - An ancient merge strategy "stupid" has been removed.
51 -
52 -
53 - Updates since v1.5.6
54 - --------------------
55 -
56 - (subsystems)
57 -
58 - * git-p4 in contrib learned "allowSubmit" configuration to control on
59 - which branch to allow "submit" subcommand.
60 -
61 - * git-gui learned to stage changes per-line.
62 -
63 - (portability)
64 -
65 - * Changes for MinGW port have been merged, thanks to Johannes Sixt and
66 - gangs.
67 -
68 - * Sample hook scripts shipped in templates/ are now suffixed with
69 - *.sample.
70 -
71 - * perl's in-place edit (-i) does not work well without backup files on Windows;
72 - some tests are rewritten to cope with this.
73 -
74 - (documentation)
75 -
76 - * Updated howto/update-hook-example
77 -
78 - * Got rid of usage of "git-foo" from the tutorial and made typography
79 - more consistent.
80 -
81 - * Disambiguating "--" between revs and paths is finally documented.
82 -
83 - (performance, robustness, sanity etc.)
84 -
85 - * index-pack used too much memory when dealing with a deep delta chain.
86 - This has been optimized.
87 -
88 - * reduced excessive inlining to shrink size of the "git" binary.
89 -
90 - * verify-pack checks the object CRC when using version 2 idx files.
91 -
92 - * When an object is corrupt in a pack, the object became unusable even
93 - when the same object is available in a loose form, We now try harder to
94 - fall back to these redundant objects when able. In particular, "git
95 - repack -a -f" can be used to fix such a corruption as long as necessary
96 - objects are available.
97 -
98 - * Performance of "git-blame -C -C" operation is vastly improved.
99 -
100 - * git-clone does not create refs in loose form anymore (it behaves as
101 - if you immediately ran git-pack-refs after cloning). This will help
102 - repositories with insanely large number of refs.
103 -
104 - * core.fsyncobjectfiles configuration can be used to ensure that the loose
105 - objects created will be fsync'ed (this is only useful on filesystems
106 - that does not order data writes properly).
107 -
108 - * "git commit-tree" plumbing can make Octopus with more than 16 parents.
109 - "git commit" has been capable of this for quite some time.
110 -
111 - (usability, bells and whistles)
112 -
113 - * even more documentation pages are now accessible via "man" and "git help".
114 -
115 - * A new environment variable GIT_CEILING_DIRECTORIES can be used to stop
116 - the discovery process of the toplevel of working tree; this may be useful
117 - when you are working in a slow network disk and are outside any working tree,
118 - as bash-completion and "git help" may still need to run in these places.
119 -
120 - * By default, stash entries never expire. Set reflogexpire in [gc
121 - "refs/stash"] to a reasonable value to get traditional auto-expiration
122 - behaviour back
123 -
124 - * Longstanding latency issue with bash completion script has been
125 - addressed. This will need to be backmerged to 'maint' later.
126 -
127 - * pager.<cmd> configuration variable can be used to enable/disable the
128 - default paging behaviour per command.
129 -
130 - * "git-add -i" has a new action 'e/dit' to allow you edit the patch hunk
131 - manually.
132 -
133 - * git-am records the original tip of the branch in ORIG_HEAD before it
134 - starts applying patches.
135 -
136 - * git-apply can handle a patch that touches the same path more than once
137 - much better than before.
138 -
139 - * git-apply can be told not to trust the line counts recorded in the input
140 - patch but recount, with the new --recount option.
141 -
142 - * git-apply can be told to apply a patch to a path deeper than what the
143 - patch records with --directory option.
144 -
145 - * git-archive can be told to omit certain paths from its output using
146 - export-ignore attributes.
147 -
148 - * git-archive uses the zlib default compression level when creating
149 - zip archive.
150 -
151 - * git-archive's command line options --exec and --remote can take their
152 - parameters as separate command line arguments, similar to other commands.
153 - IOW, both "--exec=path" and "--exec path" are now supported.
154 -
155 - * With -v option, git-branch describes the remote tracking statistics
156 - similar to the way git-checkout reports by how many commits your branch
157 - is ahead/behind.
158 -
159 - * git-branch's --contains option used to always require a commit parameter
160 - to limit the branches with; it now defaults to list branches that
161 - contains HEAD if this parameter is omitted.
162 -
163 - * git-branch's --merged and --no-merged option used to always limit the
164 - branches relative to the HEAD, but they can now take an optional commit
165 - argument that is used in place of HEAD.
166 -
167 - * git-bundle can read the revision arguments from the standard input.
168 -
169 - * git-cherry-pick can replay a root commit now.
170 -
171 - * git-clone can clone from a remote whose URL would be rewritten by
172 - configuration stored in $HOME/.gitconfig now.
173 -
174 - * "git-clone --mirror" is a handy way to set up a bare mirror repository.
175 -
176 - * git-cvsserver learned to respond to "cvs co -c".
177 -
178 - * git-diff --check now checks leftover merge conflict markers.
179 -
180 - * "git-diff -p" learned to grab a better hunk header lines in
181 - BibTex, Pascal/Delphi, and Ruby files and also pays attention to
182 - chapter and part boundary in TeX documents.
183 -
184 - * When remote side used to have branch 'foo' and git-fetch finds that now
185 - it has branch 'foo/bar', it refuses to lose the existing remote tracking
186 - branch and its reflog. The error message has been improved to suggest
187 - pruning the remote if the user wants to proceed and get the latest set
188 - of branches from the remote, including such 'foo/bar'.
189 -
190 - * fast-export learned to export and import marks file; this can be used to
191 - interface with fast-import incrementally.
192 -
193 - * fast-import and fast-export learned to export and import gitlinks.
194 -
195 - * "gitk" left background process behind after being asked to dig very deep
196 - history and the user killed the UI; the process is killed when the UI goes
197 - away now.
198 -
199 - * git-rebase records the original tip of branch in ORIG_HEAD before it is
200 - rewound.
201 -
202 - * "git rerere" can be told to update the index with auto-reused resolution
203 - with rerere.autoupdate configuration variable.
204 -
205 - * git-rev-parse learned $commit^! and $commit^@ notations used in "log"
206 - family. These notations are available in gitk as well, because the gitk
207 - command internally uses rev-parse to interpret its arguments.
208 -
209 - * git-rev-list learned --children option to show child commits it
210 - encountered during the traversal, instead of showing parent commits.
211 -
212 - * git-send-mail can talk not just over SSL but over TLS now.
213 -
214 - * git-shortlog honors custom output format specified with "--pretty=format:".
215 -
216 - * "git-stash save" learned --keep-index option. This lets you stash away the
217 - local changes and bring the changes staged in the index to your working
218 - tree for examination and testing.
219 -
220 - * git-stash also learned branch subcommand to create a new branch out of
221 - stashed changes.
222 -
223 - * git-status gives the remote tracking statistics similar to the way
224 - git-checkout reports by how many commits your branch is ahead/behind.
225 -
226 - * "git-svn dcommit" is now aware of auto-props setting the subversion user
227 - has.
228 -
229 - * You can tell "git status -u" to even more aggressively omit checking
230 - untracked files with --untracked-files=no.
231 -
232 - * Original SHA-1 value for "update-ref -d" is optional now.
233 -
234 - * Error codes from gitweb are made more descriptive where possible, rather
235 - than "403 forbidden" as we used to issue everywhere.
236 -
237 - (internal)
238 -
239 - * git-merge has been reimplemented in C.
240 -
241 -
242 - Fixes since v1.5.6
243 - ------------------
244 -
245 - All of the fixes in v1.5.6 maintenance series are included in
246 - this release, unless otherwise noted.
247 -
248 - * git-clone ignored its -u option; the fix needs to be backported to
249 - 'maint';
250 -
251 - * git-mv used to lose the distinction between changes that are staged
252 - and that are only in the working tree, by staging both in the index
253 - after moving such a path.
254 -
255 - * "git-rebase -i -p" rewrote the parents to wrong ones when amending
256 - (either edit or squash) was involved, and did not work correctly
257 - when fast forwarding.
258 -
deleted Documentation/RelNotes/1.6.1.1.adoc mode 100644
@@ -1,59 +0,0 @@
1 - GIT v1.6.1.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.1
5 - ------------------
6 -
7 - * "git add frotz/nitfol" when "frotz" is a submodule should have errored
8 - out, but it didn't.
9 -
10 - * "git apply" took file modes from the patch text and updated the mode
11 - bits of the target tree even when the patch was not about mode changes.
12 -
13 - * "git bisect view" on Cygwin did not launch gitk
14 -
15 - * "git checkout $tree" did not trigger an error.
16 -
17 - * "git commit" tried to remove COMMIT_EDITMSG from the work tree by mistake.
18 -
19 - * "git describe --all" complained when a commit is described with a tag,
20 - which was nonsense.
21 -
22 - * "git diff --no-index --" did not trigger no-index (aka "use git-diff as
23 - a replacement of diff on untracked files") behaviour.
24 -
25 - * "git format-patch -1 HEAD" on a root commit failed to produce patch
26 - text.
27 -
28 - * "git fsck branch" did not work as advertised; instead it behaved the same
29 - way as "git fsck".
30 -
31 - * "git log --pretty=format:%s" did not handle a multi-line subject the
32 - same way as built-in log listers (i.e. shortlog, --pretty=oneline, etc.)
33 -
34 - * "git daemon", and "git merge-file" are more careful when freopen fails
35 - and barf, instead of going on and writing to unopened filehandle.
36 -
37 - * "git http-push" did not like some RFC 4918 compliant DAV server
38 - responses.
39 -
40 - * "git merge -s recursive" mistakenly overwritten an untracked file in the
41 - work tree upon delete/modify conflict.
42 -
43 - * "git merge -s recursive" didn't leave the index unmerged for entries with
44 - rename/delete conflicts.
45 -
46 - * "git merge -s recursive" clobbered untracked files in the work tree.
47 -
48 - * "git mv -k" with more than one erroneous paths misbehaved.
49 -
50 - * "git read-tree -m -u" hence branch switching incorrectly lost a
51 - subdirectory in rare cases.
52 -
53 - * "git rebase -i" issued an unnecessary error message upon a user error of
54 - marking the first commit to be "squash"ed.
55 -
56 - * "git shortlog" did not format a commit message with multi-line
57 - subject correctly.
58 -
59 - Many documentation updates.
deleted Documentation/RelNotes/1.6.1.2.adoc mode 100644
@@ -1,39 +0,0 @@
1 - GIT v1.6.1.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.1.1
5 - --------------------
6 -
7 - * The logic for rename detection in internal diff used by commands like
8 - "git diff" and "git blame" has been optimized to avoid loading the same
9 - blob repeatedly.
10 -
11 - * We did not allow writing out a blob that is larger than 2GB for no good
12 - reason.
13 -
14 - * "git format-patch -o $dir", when $dir is a relative directory, used it
15 - as relative to the root of the work tree, not relative to the current
16 - directory.
17 -
18 - * v1.6.1 introduced an optimization for "git push" into a repository (A)
19 - that borrows its objects from another repository (B) to avoid sending
20 - objects that are available in repository B, when they are not yet used
21 - by repository A. However the code on the "git push" sender side was
22 - buggy and did not work when repository B had new objects that are not
23 - known by the sender. This caused pushing into a "forked" repository
24 - served by v1.6.1 software using "git push" from v1.6.1 sometimes did not
25 - work. The bug was purely on the "git push" sender side, and has been
26 - corrected.
27 -
28 - * "git status -v" did not paint its diff output in colour even when
29 - color.ui configuration was set.
30 -
31 - * "git ls-tree" learned --full-tree option to help Porcelain scripts that
32 - want to always see the full path regardless of the current working
33 - directory.
34 -
35 - * "git grep" incorrectly searched in work tree paths even when they are
36 - marked as assume-unchanged. It now searches in the index entries.
37 -
38 - * "git gc" with no grace period needlessly ejected packed but unreachable
39 - objects in their loose form, only to delete them right away.
deleted Documentation/RelNotes/1.6.1.3.adoc mode 100644
@@ -1,28 +0,0 @@
1 - GIT v1.6.1.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.1.2
5 - --------------------
6 -
7 - * "git diff --binary | git apply" pipeline did not work well when
8 - a binary blob is changed to a symbolic link.
9 -
10 - * Some combinations of -b/-w/--ignore-space-at-eol to "git diff" did
11 - not work as expected.
12 -
13 - * "git grep" did not pass the -I (ignore binary) option when
14 - calling out an external grep program.
15 -
16 - * "git log" and friends include HEAD to the set of starting points
17 - when --all is given. This makes a difference when you are not
18 - on any branch.
19 -
20 - * "git mv" to move an untracked file to overwrite a tracked
21 - contents misbehaved.
22 -
23 - * "git merge -s octopus" with many potential merge bases did not
24 - work correctly.
25 -
26 - * RPM binary package installed the html manpages in a wrong place.
27 -
28 - Also includes minor documentation fixes and updates.
deleted Documentation/RelNotes/1.6.1.4.adoc mode 100644
@@ -1,41 +0,0 @@
1 - GIT v1.6.1.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.1.3
5 - --------------------
6 -
7 - * .gitignore learned to handle backslash as a quoting mechanism for
8 - comment introduction character "#".
9 - This fix was first merged to 1.6.2.1.
10 -
11 - * "git fast-export" produced wrong output with some parents missing from
12 - commits, when the history is clock-skewed.
13 -
14 - * "git fast-import" sometimes failed to read back objects it just wrote
15 - out and aborted, because it failed to flush stale cached data.
16 -
17 - * "git-ls-tree" and "git-diff-tree" used a pathspec correctly when
18 - deciding to descend into a subdirectory but they did not match the
19 - individual paths correctly. This caused pathspecs "abc/d ab" to match
20 - "abc/0" ("abc/d" made them decide to descend into the directory "abc/",
21 - and then "ab" incorrectly matched "abc/0" when it shouldn't).
22 - This fix was first merged to 1.6.2.3.
23 -
24 - * import-zips script (in contrib) did not compute the common directory
25 - prefix correctly.
26 - This fix was first merged to 1.6.2.2.
27 -
28 - * "git init" segfaulted when given an overlong template location via
29 - the --template= option.
30 - This fix was first merged to 1.6.2.4.
31 -
32 - * "git repack" did not error out when necessary object was missing in the
33 - repository.
34 -
35 - * git-repack (invoked from git-gc) did not work as nicely as it should in
36 - a repository that borrows objects from neighbours via alternates
37 - mechanism especially when some packs are marked with the ".keep" flag
38 - to prevent them from being repacked.
39 - This fix was first merged to 1.6.2.3.
40 -
41 - Also includes minor documentation fixes and updates.
deleted Documentation/RelNotes/1.6.1.adoc mode 100644
@@ -1,280 +0,0 @@
1 - GIT v1.6.1 Release Notes
2 - ========================
3 -
4 - Updates since v1.6.0
5 - --------------------
6 -
7 - When some commands (e.g. "git log", "git diff") spawn pager internally, we
8 - used to make the pager the parent process of the git command that produces
9 - output. This meant that the exit status of the whole thing comes from the
10 - pager, not the underlying git command. We swapped the order of the
11 - processes around and you will see the exit code from the command from now
12 - on.
13 -
14 - (subsystems)
15 -
16 - * gitk can call out to git-gui to view "git blame" output; git-gui in turn
17 - can run gitk from its blame view.
18 -
19 - * Various git-gui updates including updated translations.
20 -
21 - * Various gitweb updates from repo.or.cz installation.
22 -
23 - * Updates to emacs bindings.
24 -
25 - (portability)
26 -
27 - * A few test scripts used nonportable "grep" that did not work well on
28 - some platforms, e.g. Solaris.
29 -
30 - * Sample pre-auto-gc script has OS X support.
31 -
32 - * Makefile has support for (ancient) FreeBSD 4.9.
33 -
34 - (performance)
35 -
36 - * Many operations that are lstat(3) heavy can be told to pre-execute
37 - necessary lstat(3) in parallel before their main operations, which
38 - potentially gives much improved performance for cold-cache cases or in
39 - environments with weak metadata caching (e.g. NFS).
40 -
41 - * The underlying diff machinery to produce textual output has been
42 - optimized, which would result in faster "git blame" processing.
43 -
44 - * Most of the test scripts (but not the ones that try to run servers)
45 - can be run in parallel.
46 -
47 - * Bash completion of refnames in a repository with massive number of
48 - refs has been optimized.
49 -
50 - * Cygwin port uses native stat/lstat implementations when applicable,
51 - which leads to improved performance.
52 -
53 - * "git push" pays attention to alternate repositories to avoid sending
54 - unnecessary objects.
55 -
56 - * "git svn" can rebuild an out-of-date rev_map file.
57 -
58 - (usability, bells and whistles)
59 -
60 - * When you mistype a command name, git helpfully suggests what it guesses
61 - you might have meant to say. help.autocorrect configuration can be set
62 - to a non-zero value to accept the suggestion when git can uniquely
63 - guess.
64 -
65 - * The packfile machinery hopefully is more robust when dealing with
66 - corrupt packs if redundant objects involved in the corruption are
67 - available elsewhere.
68 -
69 - * "git add -N path..." adds the named paths as an empty blob, so that
70 - subsequent "git diff" will show a diff as if they are creation events.
71 -
72 - * "git add" gained a built-in synonym for people who want to say "stage
73 - changes" instead of "add contents to the staging area" which amounts
74 - to the same thing.
75 -
76 - * "git apply" learned --include=paths option, similar to the existing
77 - --exclude=paths option.
78 -
79 - * "git bisect" is careful about a user mistake and suggests testing of
80 - merge base first when good is not a strict ancestor of bad.
81 -
82 - * "git bisect skip" can take a range of commits.
83 -
84 - * "git blame" re-encodes the commit metainfo to UTF-8 from i18n.commitEncoding
85 - by default.
86 -
87 - * "git check-attr --stdin" can check attributes for multiple paths.
88 -
89 - * "git checkout --track origin/hack" used to be a syntax error. It now
90 - DWIMs to create a corresponding local branch "hack", i.e. acts as if you
91 - said "git checkout --track -b hack origin/hack".
92 -
93 - * "git checkout --ours/--theirs" can be used to check out one side of a
94 - conflicting merge during conflict resolution.
95 -
96 - * "git checkout -m" can be used to recreate the initial conflicted state
97 - during conflict resolution.
98 -
99 - * "git cherry-pick" can also utilize rerere for conflict resolution.
100 -
101 - * "git clone" learned to be verbose with -v
102 -
103 - * "git commit --author=$name" can look up author name from existing
104 - commits.
105 -
106 - * output from "git commit" has been reworded in a more concise and yet
107 - more informative way.
108 -
109 - * "git count-objects" reports the on-disk footprint for packfiles and
110 - their corresponding idx files.
111 -
112 - * "git daemon" learned --max-connections=<count> option.
113 -
114 - * "git daemon" exports REMOTE_ADDR to record client address, so that
115 - spawned programs can act differently on it.
116 -
117 - * "git describe --tags" favours closer lightweight tags than farther
118 - annotated tags now.
119 -
120 - * "git diff" learned to mimic --suppress-blank-empty from GNU diff via a
121 - configuration option.
122 -
123 - * "git diff" learned to put more sensible hunk headers for Python,
124 - HTML and ObjC contents.
125 -
126 - * "git diff" learned to vary the a/ vs b/ prefix depending on what are
127 - being compared, controlled by diff.mnemonicprefix configuration.
128 -
129 - * "git diff" learned --dirstat-by-file to count changed files, not number
130 - of lines, when summarizing the global picture.
131 -
132 - * "git diff" learned "textconv" filters --- a binary or hard-to-read
133 - contents can be munged into human readable form and the difference
134 - between the results of the conversion can be viewed (obviously this
135 - cannot produce a patch that can be applied, so this is disabled in
136 - format-patch among other things).
137 -
138 - * "--cached" option to "git diff has an easier to remember synonym "--staged",
139 - to ask "what is the difference between the given commit and the
140 - contents staged in the index?"
141 -
142 - * "git for-each-ref" learned "refname:short" token that gives an
143 - unambiguously abbreviated refname.
144 -
145 - * Auto-numbering of the subject lines is the default for "git
146 - format-patch" now.
147 -
148 - * "git grep" learned to accept -z similar to GNU grep.
149 -
150 - * "git help" learned to use GIT_MAN_VIEWER environment variable before
151 - using "man" program.
152 -
153 - * "git imap-send" can optionally talk SSL.
154 -
155 - * "git index-pack" is more careful against disk corruption while
156 - completing a thin pack.
157 -
158 - * "git log --check" and "git log --exit-code" passes their underlying diff
159 - status with their exit status code.
160 -
161 - * "git log" learned --simplify-merges, a milder variant of --full-history;
162 - "gitk --simplify-merges" is easier to view than with --full-history.
163 -
164 - * "git log" learned "--source" to show what ref each commit was reached
165 - from.
166 -
167 - * "git log" also learned "--simplify-by-decoration" to show the
168 - birds-eye-view of the topology of the history.
169 -
170 - * "git log --pretty=format:" learned "%d" format element that inserts
171 - names of tags that point at the commit.
172 -
173 - * "git merge --squash" and "git merge --no-ff" into an unborn branch are
174 - noticed as user errors.
175 -
176 - * "git merge -s $strategy" can use a custom built strategy if you have a
177 - command "git-merge-$strategy" on your $PATH.
178 -
179 - * "git pull" (and "git fetch") can be told to operate "-v"erbosely or
180 - "-q"uietly.
181 -
182 - * "git push" can be told to reject deletion of refs with receive.denyDeletes
183 - configuration.
184 -
185 - * "git rebase" honours pre-rebase hook; use --no-verify to bypass it.
186 -
187 - * "git rebase -p" uses interactive rebase machinery now to preserve the merges.
188 -
189 - * "git reflog expire branch" can be used in place of "git reflog expire
190 - refs/heads/branch".
191 -
192 - * "git remote show $remote" lists remote branches one-per-line now.
193 -
194 - * "git send-email" can be given revision range instead of files and
195 - maildirs on the command line, and automatically runs format-patch to
196 - generate patches for the given revision range.
197 -
198 - * "git submodule foreach" subcommand allows you to iterate over checked
199 - out submodules.
200 -
201 - * "git submodule sync" subcommands allows you to update the origin URL
202 - recorded in submodule directories from the toplevel .gitmodules file.
203 -
204 - * "git svn branch" can create new branches on the other end.
205 -
206 - * "gitweb" can use more saner PATH_INFO based URL.
207 -
208 - (internal)
209 -
210 - * "git hash-object" learned to lie about the path being hashed, so that
211 - correct gitattributes processing can be done while hashing contents
212 - stored in a temporary file.
213 -
214 - * various callers of git-merge-recursive avoid forking it as an external
215 - process.
216 -
217 - * Git class defined in "Git.pm" can be subclasses a bit more easily.
218 -
219 - * We used to link GNU regex library as a compatibility layer for some
220 - platforms, but it turns out it is not necessary on most of them.
221 -
222 - * Some path handling routines used fixed number of buffers used alternately
223 - but depending on the call depth, this arrangement led to hard to track
224 - bugs. This issue is being addressed.
225 -
226 -
227 - Fixes since v1.6.0
228 - ------------------
229 -
230 - All of the fixes in v1.6.0.X maintenance series are included in this
231 - release, unless otherwise noted.
232 -
233 - * Porcelains implemented as shell scripts were utterly confused when you
234 - entered to a subdirectory of a work tree from sideways, following a
235 - symbolic link (this may need to be backported to older releases later).
236 -
237 - * Tracking symbolic links would work better on filesystems whose lstat()
238 - returns incorrect st_size value for them.
239 -
240 - * "git add" and "git update-index" incorrectly allowed adding S/F when S
241 - is a tracked symlink that points at a directory D that has a path F in
242 - it (we still need to fix a similar nonsense when S is a submodule and F
243 - is a path in it).
244 -
245 - * "git am" after stopping at a broken patch lost --whitespace, -C, -p and
246 - --3way options given from the command line initially.
247 -
248 - * "git diff --stdin" used to take two trees on a line and compared them,
249 - but we dropped support for such a use case long time ago. This has
250 - been resurrected.
251 -
252 - * "git filter-branch" failed to rewrite a tag name with slashes in it.
253 -
254 - * "git http-push" did not understand URI scheme other than opaquelocktoken
255 - when acquiring a lock from the server (this may need to be backported to
256 - older releases later).
257 -
258 - * After "git rebase -p" stopped with conflicts while replaying a merge,
259 - "git rebase --continue" did not work (may need to be backported to older
260 - releases).
261 -
262 - * "git revert" records relative to which parent a revert was made when
263 - reverting a merge. Together with new documentation that explains issues
264 - around reverting a merge and merging from the updated branch later, this
265 - hopefully will reduce user confusion (this may need to be backported to
266 - older releases later).
267 -
268 - * "git rm --cached" used to allow an empty blob that was added earlier to
269 - be removed without --force, even when the file in the work tree has
270 - since been modified.
271 -
272 - * "git push --tags --all $there" failed with generic usage message without
273 - telling saying these two options are incompatible.
274 -
275 - * "git log --author/--committer" match used to potentially match the
276 - timestamp part, exposing internal implementation detail. Also these did
277 - not work with --fixed-strings match at all.
278 -
279 - * "gitweb" did not mark non-ASCII characters imported from external HTML fragments
280 - correctly.
deleted Documentation/RelNotes/1.6.2.1.adoc mode 100644
@@ -1,19 +0,0 @@
1 - GIT v1.6.2.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.2
5 - ------------------
6 -
7 - * .gitignore learned to handle backslash as a quoting mechanism for
8 - comment introduction character "#".
9 -
10 - * timestamp output in --date=relative mode used to display timestamps that
11 - are long time ago in the default mode; it now uses "N years M months
12 - ago", and "N years ago".
13 -
14 - * git-add -i/-p now works with non-ASCII pathnames.
15 -
16 - * "git hash-object -w" did not read from the configuration file from the
17 - correct .git directory.
18 -
19 - * git-send-email learned to correctly handle multiple Cc: addresses.
deleted Documentation/RelNotes/1.6.2.2.adoc mode 100644
@@ -1,45 +0,0 @@
1 - GIT v1.6.2.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.2.1
5 - --------------------
6 -
7 - * A longstanding confusing description of what --pickaxe option of
8 - git-diff does has been clarified in the documentation.
9 -
10 - * "git-blame -S" did not quite work near the commits that were given
11 - on the command line correctly.
12 -
13 - * "git diff --pickaxe-regexp" did not count overlapping matches
14 - correctly.
15 -
16 - * "git diff" did not feed files in work-tree representation to external
17 - diff and textconv.
18 -
19 - * "git-fetch" in a repository that was not cloned from anywhere said
20 - it cannot find 'origin', which was hard to understand for new people.
21 -
22 - * "git-format-patch --numbered-files --stdout" did not have to die of
23 - incompatible options; it now simply ignores --numbered-files as no files
24 - are produced anyway.
25 -
26 - * "git-ls-files --deleted" did not work well with GIT_DIR&GIT_WORK_TREE.
27 -
28 - * "git-read-tree A B C..." without -m option has been broken for a long
29 - time.
30 -
31 - * git-send-email ignored --in-reply-to when --no-thread was given.
32 -
33 - * 'git-submodule add' did not tolerate extra slashes and ./ in the path it
34 - accepted from the command line; it now is more lenient.
35 -
36 - * git-svn misbehaved when the project contained a path that began with
37 - two dashes.
38 -
39 - * import-zips script (in contrib) did not compute the common directory
40 - prefix correctly.
41 -
42 - * miscompilation of negated enum constants by old gcc (2.9) affected the
43 - codepaths to spawn subprocesses.
44 -
45 - Many small documentation updates are included as well.
deleted Documentation/RelNotes/1.6.2.3.adoc mode 100644
@@ -1,22 +0,0 @@
1 - GIT v1.6.2.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.2.2
5 - --------------------
6 -
7 - * Setting an octal mode value to core.sharedrepository configuration to
8 - restrict access to the repository to group members did not work as
9 - advertised.
10 -
11 - * A fairly large and trivial memory leak while rev-list shows list of
12 - reachable objects has been identified and plugged.
13 -
14 - * "git-commit --interactive" did not abort when underlying "git-add -i"
15 - signaled a failure.
16 -
17 - * git-repack (invoked from git-gc) did not work as nicely as it should in
18 - a repository that borrows objects from neighbours via alternates
19 - mechanism especially when some packs are marked with the ".keep" flag
20 - to prevent them from being repacked.
21 -
22 - Many small documentation updates are included as well.
deleted Documentation/RelNotes/1.6.2.4.adoc mode 100644
@@ -1,40 +0,0 @@
1 - GIT v1.6.2.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.2.3
5 - --------------------
6 -
7 - * The configuration parser had a buffer overflow while parsing an overlong
8 - value.
9 -
10 - * pruning reflog entries that are unreachable from the tip of the ref
11 - during "git reflog prune" (hence "git gc") was very inefficient.
12 -
13 - * "git-add -p" lacked a way to say "q"uit to refuse staging any hunks for
14 - the remaining paths. You had to say "d" and then ^C.
15 -
16 - * "git-checkout <tree-ish> <submodule>" did not update the index entry at
17 - the named path; it now does.
18 -
19 - * "git-fast-export" choked when seeing a tag that does not point at commit.
20 -
21 - * "git init" segfaulted when given an overlong template location via
22 - the --template= option.
23 -
24 - * "git-ls-tree" and "git-diff-tree" used a pathspec correctly when
25 - deciding to descend into a subdirectory but they did not match the
26 - individual paths correctly. This caused pathspecs "abc/d ab" to match
27 - "abc/0" ("abc/d" made them decide to descend into the directory "abc/",
28 - and then "ab" incorrectly matched "abc/0" when it shouldn't).
29 -
30 - * "git-merge-recursive" was broken when a submodule entry was involved in
31 - a criss-cross merge situation.
32 -
33 - Many small documentation updates are included as well.
34 -
35 - ---
36 - exec >/var/tmp/1
37 - echo O=$(git describe maint)
38 - O=v1.6.2.3-38-g318b847
39 - git shortlog --no-merges $O..maint
40 - ---
deleted Documentation/RelNotes/1.6.2.5.adoc mode 100644
@@ -1,21 +0,0 @@
1 - GIT v1.6.2.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.2.4
5 - --------------------
6 -
7 - * "git apply" mishandled if you fed a git generated patch that renames
8 - file A to B and file B to A at the same time.
9 -
10 - * "git diff -c -p" (and "diff --cc") did not expect to see submodule
11 - differences and instead refused to work.
12 -
13 - * "git grep -e '('" segfaulted, instead of diagnosing a mismatched
14 - parentheses error.
15 -
16 - * "git fetch" generated packs with offset-delta encoding when both ends of
17 - the connection are capable of producing one; this cannot be read by
18 - ancient git and the user should be able to disable this by setting
19 - repack.usedeltabaseoffset configuration to false.
20 -
21 -
deleted Documentation/RelNotes/1.6.2.adoc mode 100644
@@ -1,164 +0,0 @@
1 - GIT v1.6.2 Release Notes
2 - ========================
3 -
4 - With the next major release, "git push" into a branch that is
5 - currently checked out will be refused by default. You can choose
6 - what should happen upon such a push by setting the configuration
7 - variable receive.denyCurrentBranch in the receiving repository.
8 -
9 - To ease the transition plan, the receiving repository of such a
10 - push running this release will issue a big warning when the
11 - configuration variable is missing. Please refer to:
12 -
13 - https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare
14 - https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/
15 -
16 - for more details on the reason why this change is needed and the
17 - transition plan.
18 -
19 - For a similar reason, "git push $there :$killed" to delete the branch
20 - $killed in a remote repository $there, if $killed branch is the current
21 - branch pointed at by its HEAD, gets a large warning. You can choose what
22 - should happen upon such a push by setting the configuration variable
23 - receive.denyDeleteCurrent in the receiving repository.
24 -
25 -
26 - Updates since v1.6.1
27 - --------------------
28 -
29 - (subsystems)
30 -
31 - * git-svn updates.
32 -
33 - * gitweb updates, including a new patch view and RSS/Atom feed
34 - improvements.
35 -
36 - * (contrib/emacs) git.el now has commands for checking out a branch,
37 - creating a branch, cherry-picking and reverting commits; vc-git.el
38 - is not shipped with git anymore (it is part of official Emacs).
39 -
40 - (performance)
41 -
42 - * pack-objects autodetects the number of CPUs available and uses threaded
43 - version.
44 -
45 - (usability, bells and whistles)
46 -
47 - * automatic typo correction works on aliases as well
48 -
49 - * @{-1} is a way to refer to the last branch you were on. This is
50 - accepted not only where an object name is expected, but anywhere
51 - a branch name is expected and acts as if you typed the branch name.
52 - E.g. "git branch --track mybranch @{-1}", "git merge @{-1}", and
53 - "git rev-parse --symbolic-full-name @{-1}" would work as expected.
54 -
55 - * When refs/remotes/origin/HEAD points at a remote tracking branch that
56 - has been pruned away, many git operations issued warning when they
57 - internally enumerated the refs. We now warn only when you say "origin"
58 - to refer to that pruned branch.
59 -
60 - * The location of .mailmap file can be configured, and its file format was
61 - enhanced to allow mapping an incorrect e-mail field as well.
62 -
63 - * "git add -p" learned 'g'oto action to jump directly to a hunk.
64 -
65 - * "git add -p" learned to find a hunk with given text with '/'.
66 -
67 - * "git add -p" optionally can be told to work with just the command letter
68 - without Enter.
69 -
70 - * when "git am" stops upon a patch that does not apply, it shows the
71 - title of the offending patch.
72 -
73 - * "git am --directory=<dir>" and "git am --reject" passes these options
74 - to underlying "git apply".
75 -
76 - * "git am" learned --ignore-date option.
77 -
78 - * "git blame" aligns author names better when they are spelled in
79 - non US-ASCII encoding.
80 -
81 - * "git clone" now makes its best effort when cloning from an empty
82 - repository to set up configuration variables to refer to the remote
83 - repository.
84 -
85 - * "git checkout -" is a shorthand for "git checkout @{-1}".
86 -
87 - * "git cherry" defaults to whatever the current branch is tracking (if
88 - exists) when the <upstream> argument is not given.
89 -
90 - * "git cvsserver" can be told not to add extra "via git-CVS emulator" to
91 - the commit log message it serves via gitcvs.commitmsgannotation
92 - configuration.
93 -
94 - * "git cvsserver" learned to handle 'noop' command some CVS clients seem
95 - to expect to work.
96 -
97 - * "git diff" learned a new option --inter-hunk-context to coalesce close
98 - hunks together and show context between them.
99 -
100 - * The definition of what constitutes a word for "git diff --color-words"
101 - can be customized via gitattributes, command line or a configuration.
102 -
103 - * "git diff" learned --patience to run "patience diff" algorithm.
104 -
105 - * "git filter-branch" learned --prune-empty option that discards commits
106 - that do not change the contents.
107 -
108 - * "git fsck" now checks loose objects in alternate object stores, instead
109 - of misreporting them as missing.
110 -
111 - * "git gc --prune" was resurrected to allow "git gc --no-prune" and
112 - giving non-default expiration period e.g. "git gc --prune=now".
113 -
114 - * "git grep -w" and "git grep" for fixed strings have been optimized.
115 -
116 - * "git mergetool" learned -y(--no-prompt) option to disable prompting.
117 -
118 - * "git rebase -i" can transplant a history down to root to elsewhere
119 - with --root option.
120 -
121 - * "git reset --merge" is a new mode that works similar to the way
122 - "git checkout" switches branches, taking the local changes while
123 - switching to another commit.
124 -
125 - * "git submodule update" learned --no-fetch option.
126 -
127 - * "git tag" learned --contains that works the same way as the same option
128 - from "git branch".
129 -
130 -
131 - Fixes since v1.6.1
132 - ------------------
133 -
134 - All of the fixes in v1.6.1.X maintenance series are included in this
135 - release, unless otherwise noted.
136 -
137 - Here are fixes that this release has, but have not been backported to
138 - v1.6.1.X series.
139 -
140 - * "git-add sub/file" when sub is a submodule incorrectly added the path to
141 - the superproject.
142 -
143 - * "git bundle" did not exclude annotated tags even when a range given
144 - from the command line wanted to.
145 -
146 - * "git filter-branch" unnecessarily refused to work when you had
147 - checked out a different commit from what is recorded in the superproject
148 - index in a submodule.
149 -
150 - * "git filter-branch" incorrectly tried to update a nonexistent work tree
151 - at the end when it is run in a bare repository.
152 -
153 - * "git gc" did not work if your repository was created with an ancient git
154 - and never had any pack files in it before.
155 -
156 - * "git mergetool" used to ignore autocrlf and other attributes
157 - based content rewriting.
158 -
159 - * branch switching and merges had a silly bug that did not validate
160 - the correct directory when making sure an existing subdirectory is
161 - clean.
162 -
163 - * "git -p cmd" when cmd is not a built-in one left the display in funny state
164 - when killed in the middle.
deleted Documentation/RelNotes/1.6.3.1.adoc mode 100644
@@ -1,10 +0,0 @@
1 - GIT v1.6.3.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.3
5 - ------------------
6 -
7 - * "git checkout -b new-branch" with a staged change in the index
8 - incorrectly primed the in-index cache-tree, resulting a wrong tree
9 - object to be written out of the index. This is a grave regression
10 - since the last 1.6.2.X maintenance release.
deleted Documentation/RelNotes/1.6.3.2.adoc mode 100644
@@ -1,61 +0,0 @@
1 - GIT v1.6.3.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.3.1
5 - --------------------
6 -
7 - * A few codepaths picked up the first few bytes from an sha1[] by
8 - casting the (char *) pointer to (int *); GCC 4.4 did not like this,
9 - and aborted compilation.
10 -
11 - * Some unlink(2) failures went undiagnosed.
12 -
13 - * The "recursive" merge strategy misbehaved when faced rename/delete
14 - conflicts while coming up with an intermediate merge base.
15 -
16 - * The low-level merge algorithm did not handle a degenerate case of
17 - merging a file with itself using itself as the common ancestor
18 - gracefully. It should produce the file itself, but instead
19 - produced an empty result.
20 -
21 - * GIT_TRACE mechanism segfaulted when tracing a shell-quoted aliases.
22 -
23 - * OpenBSD also uses st_ctimspec in "struct stat", instead of "st_ctim".
24 -
25 - * With NO_CROSS_DIRECTORY_HARDLINKS, "make install" can be told not to
26 - create hardlinks between $(gitexecdir)/git-$builtin_commands and
27 - $(bindir)/git.
28 -
29 - * command completion code in bash did not reliably detect that we are
30 - in a bare repository.
31 -
32 - * "git add ." in an empty directory complained that pathspec "." did not
33 - match anything, which may be technically correct, but not useful. We
34 - silently make it a no-op now.
35 -
36 - * "git add -p" (and "patch" action in "git add -i") was broken when
37 - the first hunk that adds a line at the top was split into two and
38 - both halves are marked to be used.
39 -
40 - * "git blame path" misbehaved at the commit where path became file
41 - from a directory with some files in it.
42 -
43 - * "git for-each-ref" had a segfaulting bug when dealing with a tag object
44 - created by an ancient git.
45 -
46 - * "git format-patch -k" still added patch numbers if format.numbered
47 - configuration was set.
48 -
49 - * "git grep --color ''" did not terminate. The command also had
50 - subtle bugs with its -w option.
51 -
52 - * http-push had a small use-after-free bug.
53 -
54 - * "git push" was converting OFS_DELTA pack representation into less
55 - efficient REF_DELTA representation unconditionally upon transfer,
56 - making the transferred data unnecessarily larger.
57 -
58 - * "git remote show origin" segfaulted when origin was still empty.
59 -
60 - Many other general usability updates around help text, diagnostic messages
61 - and documentation are included as well.
deleted Documentation/RelNotes/1.6.3.3.adoc mode 100644
@@ -1,38 +0,0 @@
1 - GIT v1.6.3.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.3.2
5 - --------------------
6 -
7 - * "git archive" running on Cygwin can get stuck in an infinite loop.
8 -
9 - * "git daemon" did not correctly parse the initial line that carries
10 - virtual host request information.
11 -
12 - * "git diff --textconv" leaked memory badly when the textconv filter
13 - errored out.
14 -
15 - * The built-in regular expressions to pick function names to put on
16 - hunk header lines for java and objc were very inefficiently written.
17 -
18 - * in certain error situations git-fetch (and git-clone) on Windows didn't
19 - detect connection abort and ended up waiting indefinitely.
20 -
21 - * import-tars script (in contrib) did not import symbolic links correctly.
22 -
23 - * http.c used CURLOPT_SSLKEY even on libcURL version 7.9.2, even though
24 - it was only available starting 7.9.3.
25 -
26 - * low-level filelevel merge driver used return value from strdup()
27 - without checking if we ran out of memory.
28 -
29 - * "git rebase -i" left stray closing parenthesis in its reflog message.
30 -
31 - * "git remote show" did not show all the URLs associated with the named
32 - remote, even though "git remote -v" did. Made them consistent by
33 - making the former show all URLs.
34 -
35 - * "whitespace" attribute that is set was meant to detect all errors known
36 - to git, but it told git to ignore trailing carriage-returns.
37 -
38 - Includes other documentation fixes.
deleted Documentation/RelNotes/1.6.3.4.adoc mode 100644
@@ -1,36 +0,0 @@
1 - GIT v1.6.3.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.3.3
5 - --------------------
6 -
7 - * "git add --no-ignore-errors" did not override configured
8 - add.ignore-errors configuration.
9 -
10 - * "git apply --whitespace=fix" did not fix trailing whitespace on an
11 - incomplete line.
12 -
13 - * "git branch" opened too many commit objects unnecessarily.
14 -
15 - * "git checkout -f $commit" with a path that is a file (or a symlink) in
16 - the work tree to a commit that has a directory at the path issued an
17 - unnecessary error message.
18 -
19 - * "git diff -c/--cc" was very inefficient in coalescing the removed lines
20 - shared between parents.
21 -
22 - * "git diff -c/--cc" showed removed lines at the beginning of a file
23 - incorrectly.
24 -
25 - * "git remote show nickname" did not honor configured
26 - remote.nickname.uploadpack when inspecting the branches at the remote.
27 -
28 - * "git request-pull" when talking to the terminal for a preview
29 - showed some of the output in the pager.
30 -
31 - * "git request-pull start nickname [end]" did not honor configured
32 - remote.nickname.uploadpack when it ran git-ls-remote against the remote
33 - repository to learn the current tip of branches.
34 -
35 - Includes other documentation updates and minor fixes.
36 -
deleted Documentation/RelNotes/1.6.3.adoc mode 100644
@@ -1,182 +0,0 @@
1 - GIT v1.6.3 Release Notes
2 - ========================
3 -
4 - With the next major release, "git push" into a branch that is
5 - currently checked out will be refused by default. You can choose
6 - what should happen upon such a push by setting the configuration
7 - variable receive.denyCurrentBranch in the receiving repository.
8 -
9 - To ease the transition plan, the receiving repository of such a
10 - push running this release will issue a big warning when the
11 - configuration variable is missing. Please refer to:
12 -
13 - https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare
14 - https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/
15 -
16 - for more details on the reason why this change is needed and the
17 - transition plan.
18 -
19 - For a similar reason, "git push $there :$killed" to delete the branch
20 - $killed in a remote repository $there, if $killed branch is the current
21 - branch pointed at by its HEAD, gets a large warning. You can choose what
22 - should happen upon such a push by setting the configuration variable
23 - receive.denyDeleteCurrent in the receiving repository.
24 -
25 - When the user does not tell "git push" what to push, it has always
26 - pushed matching refs. For some people it is unexpected, and a new
27 - configuration variable push.default has been introduced to allow
28 - changing a different default behaviour. To advertise the new feature,
29 - a big warning is issued if this is not configured and a git push without
30 - arguments is attempted.
31 -
32 -
33 - Updates since v1.6.2
34 - --------------------
35 -
36 - (subsystems)
37 -
38 - * various git-svn updates.
39 -
40 - * git-gui updates, including an update to Russian translation, and a
41 - fix to an infinite loop when showing an empty diff.
42 -
43 - * gitk updates, including an update to Russian translation and improved Windows
44 - support.
45 -
46 - (performance)
47 -
48 - * many uses of lstat(2) in the codepath for "git checkout" have been
49 - optimized out.
50 -
51 - (usability, bells and whistles)
52 -
53 - * Boolean configuration variable yes/no can be written as on/off.
54 -
55 - * rsync:/path/to/repo can be used to run git over rsync for local
56 - repositories. It may not be useful in practice; meant primarily for
57 - testing.
58 -
59 - * http transport learned to prompt and use password when fetching from or
60 - pushing to http://user@host.xz/ URL.
61 -
62 - * (msysgit) progress output that is sent over the sideband protocol can
63 - be handled appropriately in Windows console.
64 -
65 - * "--pretty=<style>" option to the log family of commands can now be
66 - spelled as "--format=<style>". In addition, --format=%formatstring
67 - is a short-hand for --pretty=tformat:%formatstring.
68 -
69 - * "--oneline" is a synonym for "--pretty=oneline --abbrev-commit".
70 -
71 - * "--graph" to the "git log" family can draw the commit ancestry graph
72 - in colors.
73 -
74 - * If you realize that you botched the patch when you are editing hunks
75 - with the 'edit' action in git-add -i/-p, you can abort the editor to
76 - tell git not to apply it.
77 -
78 - * @{-1} is a new way to refer to the last branch you were on introduced in
79 - 1.6.2, but the initial implementation did not teach this to a few
80 - commands. Now the syntax works with "branch -m @{-1} newname".
81 -
82 - * git-archive learned --output=<file> option.
83 -
84 - * git-archive takes attributes from the tree being archived; strictly
85 - speaking, this is an incompatible behaviour change, but is a good one.
86 - Use --worktree-attributes option to allow it to read attributes from
87 - the work tree as before (deprecated git-tar tree command always reads
88 - attributes from the work tree).
89 -
90 - * git-bisect shows not just the number of remaining commits whose goodness
91 - is unknown, but also shows the estimated number of remaining rounds.
92 -
93 - * You can give --date=<format> option to git-blame.
94 -
95 - * "git-branch -r" shows HEAD symref that points at a remote branch in
96 - interest of each tracked remote repository.
97 -
98 - * "git-branch -v -v" is a new way to get list of names for branches and the
99 - "upstream" branch for them.
100 -
101 - * git-config learned -e option to open an editor to edit the config file
102 - directly.
103 -
104 - * git-clone runs post-checkout hook when run without --no-checkout.
105 -
106 - * git-difftool is now part of the officially supported command, primarily
107 - maintained by David Aguilar.
108 -
109 - * git-for-each-ref learned a new "upstream" token.
110 -
111 - * git-format-patch can be told to use attachment with a new configuration,
112 - format.attach.
113 -
114 - * git-format-patch can be told to produce deep or shallow message threads.
115 -
116 - * git-format-patch can be told to always add sign-off with a configuration
117 - variable.
118 -
119 - * git-format-patch learned format.headers configuration to add extra
120 - header fields to the output. This behaviour is similar to the existing
121 - --add-header=<header> option of the command.
122 -
123 - * git-format-patch gives human readable names to the attached files, when
124 - told to send patches as attachments.
125 -
126 - * git-grep learned to highlight the found substrings in color.
127 -
128 - * git-imap-send learned to work around Thunderbird's inability to easily
129 - disable format=flowed with a new configuration, imap.preformattedHTML.
130 -
131 - * git-rebase can be told to rebase the series even if your branch is a
132 - descendant of the commit you are rebasing onto with --force-rebase
133 - option.
134 -
135 - * git-rebase can be told to report diffstat with the --stat option.
136 -
137 - * Output from git-remote command has been vastly improved.
138 -
139 - * "git remote update --prune $remote" updates from the named remote and
140 - then prunes stale tracking branches.
141 -
142 - * git-send-email learned --confirm option to review the Cc: list before
143 - sending the messages out.
144 -
145 - (developers)
146 -
147 - * Test scripts can be run under valgrind.
148 -
149 - * Test scripts can be run with installed git.
150 -
151 - * Makefile learned 'coverage' option to run the test suites with
152 - coverage tracking enabled.
153 -
154 - * Building the manpages with docbook-xsl between 1.69.1 and 1.71.1 now
155 - requires setting DOCBOOK_SUPPRESS_SP to work around a docbook-xsl bug.
156 - This workaround used to be enabled by default, but causes problems
157 - with newer versions of docbook-xsl. In addition, there are a few more
158 - knobs you can tweak to work around issues with various versions of the
159 - docbook-xsl package. See comments in Documentation/Makefile for details.
160 -
161 - * Support for building and testing a subset of git on a system without a
162 - working perl has been improved.
163 -
164 -
165 - Fixes since v1.6.2
166 - ------------------
167 -
168 - All of the fixes in v1.6.2.X maintenance series are included in this
169 - release, unless otherwise noted.
170 -
171 - Here are fixes that this release has, but have not been backported to
172 - v1.6.2.X series.
173 -
174 - * "git-apply" rejected a patch that swaps two files (i.e. renames A to B
175 - and B to A at the same time). May need to be backported by cherry
176 - picking d8c81df and then 7fac0ee).
177 -
178 - * The initial checkout did not read the attributes from the .gitattribute
179 - file that is being checked out.
180 -
181 - * git-gc spent excessive amount of time to decide if an object appears
182 - in a locally existing pack (if needed, backport by merging 69e020a).
deleted Documentation/RelNotes/1.6.4.1.adoc mode 100644
@@ -1,46 +0,0 @@
1 - GIT v1.6.4.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.4
5 - ------------------
6 -
7 - * An unquoted value in the configuration file, when it contains more than
8 - one whitespaces in a row, got them replaced with a single space.
9 -
10 - * "git am" used to accept a single piece of e-mail per file (not a mbox)
11 - as its input, but multiple input format support in v1.6.4 broke it.
12 - Apparently many people have been depending on this feature.
13 -
14 - * The short help text for "git filter-branch" command was a single long
15 - line, wrapped by terminals, and was hard to read.
16 -
17 - * The "recursive" strategy of "git merge" segfaulted when a merge has
18 - more than one merge-bases, and merging of these merge-bases involves
19 - a rename/rename or a rename/add conflict.
20 -
21 - * "git pull --rebase" did not use the right fork point when the
22 - repository has already fetched from the upstream that rewinds the
23 - branch it is based on in an earlier fetch.
24 -
25 - * Explain the concept of fast-forward more fully in "git push"
26 - documentation, and hint to refer to it from an error message when the
27 - command refuses an update to protect the user.
28 -
29 - * The default value for pack.deltacachesize, used by "git repack", is now
30 - 256M, instead of unbounded. Otherwise a repack of a moderately sized
31 - repository would needlessly eat into swap.
32 -
33 - * Document how "git repack" (hence "git gc") interacts with a repository
34 - that borrows its objects from other repositories (e.g. ones created by
35 - "git clone -s").
36 -
37 - * "git show" on an annotated tag lacked a delimiting blank line between
38 - the tag itself and the contents of the object it tags.
39 -
40 - * "git verify-pack -v" erroneously reported number of objects with too
41 - deep delta depths as "chain length 0" objects.
42 -
43 - * Long names of authors and committers outside US-ASCII were sometimes
44 - incorrectly shown in "gitweb".
45 -
46 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.4.2.adoc mode 100644
@@ -1,32 +0,0 @@
1 - GIT v1.6.4.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.4.1
5 - --------------------
6 -
7 - * --date=relative output between 1 and 5 years ago rounded the number of
8 - years when saying X years Y months ago, instead of rounding it down.
9 -
10 - * "git add -p" did not handle changes in executable bits correctly
11 - (a regression around 1.6.3).
12 -
13 - * "git apply" did not honor GNU diff's convention to mark the creation/deletion
14 - event with UNIX epoch timestamp on missing side.
15 -
16 - * "git checkout" incorrectly removed files in a directory pointed by a
17 - symbolic link during a branch switch that replaces a directory with
18 - a symbolic link.
19 -
20 - * "git clean -d -f" happily descended into a subdirectory that is managed by a
21 - separate git repository. It now requires two -f options for safety.
22 -
23 - * "git fetch/push" over http transports had two rather grave bugs.
24 -
25 - * "git format-patch --cover-letter" did not prepare the cover letter file
26 - for use with non-ASCII strings when there are the series contributors with
27 - non-ASCII names.
28 -
29 - * "git pull origin branch" and "git fetch origin && git merge origin/branch"
30 - left different merge messages in the resulting commit.
31 -
32 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.4.3.adoc mode 100644
@@ -1,29 +0,0 @@
1 - GIT v1.6.4.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.4.2
5 - --------------------
6 -
7 - * "git clone" from an empty repository gave unnecessary error message,
8 - even though it did everything else correctly.
9 -
10 - * "git cvsserver" invoked git commands via "git-foo" style, which has long
11 - been deprecated.
12 -
13 - * "git fetch" and "git clone" had an extra sanity check to verify the
14 - presence of the corresponding *.pack file before downloading *.idx
15 - file by issuing a HEAD request. Github server however sometimes
16 - gave 500 (Internal server error) response to HEAD even if a GET
17 - request for *.pack file to the same URL would have succeeded, and broke
18 - clone over HTTP from some of their repositories. As a workaround, this
19 - verification has been removed (as it is not absolutely necessary).
20 -
21 - * "git grep" did not like relative pathname to refer outside the current
22 - directory when run from a subdirectory.
23 -
24 - * an error message from "git push" was formatted in a very ugly way.
25 -
26 - * "git svn" did not quote the subversion user name correctly when
27 - running its author-prog helper program.
28 -
29 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.4.4.adoc mode 100644
@@ -1,26 +0,0 @@
1 - GIT v1.6.4.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.4.4
5 - --------------------
6 -
7 - * The workaround for Github server that sometimes gave 500 (Internal server
8 - error) response to HEAD requests in 1.6.4.3 introduced a regression that
9 - caused re-fetching projects over http to segfault in certain cases due
10 - to uninitialized pointer being freed.
11 -
12 - * "git pull" on an unborn branch used to consider anything in the work
13 - tree and the index discardable.
14 -
15 - * "git diff -b/w" did not work well on the incomplete line at the end of
16 - the file, due to an incorrect hashing of lines in the low-level xdiff
17 - routines.
18 -
19 - * "git checkout-index --prefix=$somewhere" used to work when $somewhere is
20 - a symbolic link to a directory elsewhere, but v1.6.4.2 broke it.
21 -
22 - * "git unpack-objects --strict", invoked when receive.fsckobjects
23 - configuration is set in the receiving repository of "git push", did not
24 - properly check the objects, especially the submodule links, it received.
25 -
26 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.4.5.adoc mode 100644
@@ -1,20 +0,0 @@
1 - Git v1.6.4.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.4.4
5 - --------------------
6 -
7 - * Simplified base85 implementation.
8 -
9 - * An overlong line after ".gitdir: " in a git file caused out of bounds
10 - access to an array on the stack.
11 -
12 - * "git count-objects" did not handle packs larger than 4G.
13 -
14 - * "git rev-parse --parseopt --stop-at-non-option" did not stop at non option
15 - when --keep-dashdash was in effect.
16 -
17 - * "gitweb" can sometimes be tricked into parrotting a filename argument
18 - given in a request without properly quoting.
19 -
20 - Other minor fixes and documentation updates are included.
deleted Documentation/RelNotes/1.6.4.adoc mode 100644
@@ -1,147 +0,0 @@
1 - GIT v1.6.4 Release Notes
2 - ========================
3 -
4 - With the next major release, "git push" into a branch that is
5 - currently checked out will be refused by default. You can choose
6 - what should happen upon such a push by setting the configuration
7 - variable receive.denyCurrentBranch in the receiving repository.
8 -
9 - To ease the transition plan, the receiving repository of such a
10 - push running this release will issue a big warning when the
11 - configuration variable is missing. Please refer to:
12 -
13 - https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare
14 - https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/
15 -
16 - for more details on the reason why this change is needed and the
17 - transition plan.
18 -
19 - For a similar reason, "git push $there :$killed" to delete the branch
20 - $killed in a remote repository $there, if $killed branch is the current
21 - branch pointed at by its HEAD, gets a large warning. You can choose what
22 - should happen upon such a push by setting the configuration variable
23 - receive.denyDeleteCurrent in the receiving repository.
24 -
25 -
26 - Updates since v1.6.3
27 - --------------------
28 -
29 - (subsystems)
30 -
31 - * gitweb Perl style clean-up.
32 -
33 - * git-svn updates, including a new --authors-prog option to map author
34 - names by invoking an external program, 'git svn reset' to unwind
35 - 'git svn fetch', support for more than one branches, documenting
36 - of the useful --minimize-url feature, new "git svn gc" command, etc.
37 -
38 - (portability)
39 -
40 - * We feed iconv with "UTF-8" instead of "utf8"; the former is
41 - understood more widely. Similarly updated test scripts to use
42 - encoding names more widely understood (e.g. use "ISO8859-1" instead
43 - of "ISO-8859-1").
44 -
45 - * Various portability fixes/workarounds for different vintages of
46 - SunOS, IRIX, and Windows.
47 -
48 - * Git-over-ssh transport on Windows supports PuTTY plink and TortoisePlink.
49 -
50 - (performance)
51 -
52 - * Many repeated use of lstat() are optimized out in "checkout" codepath.
53 -
54 - * git-status (and underlying git-diff-index --cached) are optimized
55 - to take advantage of cache-tree information in the index.
56 -
57 - (usability, bells and whistles)
58 -
59 - * "git add --edit" lets users edit the whole patch text to fine-tune what
60 - is added to the index.
61 -
62 - * "git am" accepts StGIT series file as its input.
63 -
64 - * "git bisect skip" skips to a more randomly chosen place in the hope
65 - to avoid testing a commit that is too close to a commit that is
66 - already known to be untestable.
67 -
68 - * "git cvsexportcommit" learned -k option to stop CVS keywords expansion
69 -
70 - * "git fast-export" learned to handle history simplification more
71 - gracefully.
72 -
73 - * "git fast-export" learned an option --tag-of-filtered-object to handle
74 - dangling tags resulting from history simplification more usefully.
75 -
76 - * "git grep" learned -p option to show the location of the match using the
77 - same context hunk marker "git diff" uses.
78 -
79 - * https transport can optionally be told that the used client
80 - certificate is password protected, in which case it asks the
81 - password only once.
82 -
83 - * "git imap-send" is IPv6 aware.
84 -
85 - * "git log --graph" draws graphs more compactly by using horizontal lines
86 - when able.
87 -
88 - * "git log --decorate" shows shorter refnames by stripping well-known
89 - refs/* prefix.
90 -
91 - * "git push $name" honors remote.$name.pushurl if present before
92 - using remote.$name.url. In other words, the URL used for fetching
93 - and pushing can be different.
94 -
95 - * "git send-email" understands quoted aliases in .mailrc files (might
96 - have to be backported to 1.6.3.X).
97 -
98 - * "git send-email" can fetch the sender address from the configuration
99 - variable "sendmail.from" (and "sendmail.<identity>.from").
100 -
101 - * "git show-branch" can color its output.
102 -
103 - * "add" and "update" subcommands to "git submodule" learned --reference
104 - option to use local clone with references.
105 -
106 - * "git submodule update" learned --rebase option to update checked
107 - out submodules by rebasing the local changes.
108 -
109 - * "gitweb" can optionally use gravatar to adorn author/committer names.
110 -
111 - (developers)
112 -
113 - * A major part of the "git bisect" wrapper has moved to C.
114 -
115 - * Formatting with the new version of AsciiDoc 8.4.1 is now supported.
116 -
117 - Fixes since v1.6.3
118 - ------------------
119 -
120 - All of the fixes in v1.6.3.X maintenance series are included in this
121 - release, unless otherwise noted.
122 -
123 - Here are fixes that this release has, but have not been backported to
124 - v1.6.3.X series.
125 -
126 - * "git diff-tree -r -t" used to omit new or removed directories from
127 - the output. df533f3 (diff-tree -r -t: include added/removed
128 - directories in the output, 2009-06-13) may need to be cherry-picked
129 - to backport this fix.
130 -
131 - * The way Git.pm sets up a Repository object was not friendly to callers
132 - that chdir around. It now internally records the repository location
133 - as an absolute path when autodetected.
134 -
135 - * Removing a section with "git config --remove-section", when its
136 - section header has a variable definition on the same line, lost
137 - that variable definition.
138 -
139 - * "git rebase -p --onto" used to always leave side branches of a merge
140 - intact, even when both branches are subject to rewriting.
141 -
142 - * "git repack" used to faithfully follow grafts and considered true
143 - parents recorded in the commit object unreachable from the commit.
144 - After such a repacking, you cannot remove grafts without corrupting
145 - the repository.
146 -
147 - * "git send-email" did not detect erroneous loops in alias expansion.
deleted Documentation/RelNotes/1.6.5.1.adoc mode 100644
@@ -1,20 +0,0 @@
1 - GIT v1.6.5.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.5
5 - ------------------
6 -
7 - * An corrupt pack could make codepath to read objects into an
8 - infinite loop.
9 -
10 - * Download throughput display was always shown in KiB/s but on fast links
11 - it is more appropriate to show it in MiB/s.
12 -
13 - * "git grep -f filename" used uninitialized variable and segfaulted.
14 -
15 - * "git clone -b branch" gave a wrong commit object name to post-checkout
16 - hook.
17 -
18 - * "git pull" over http did not work on msys.
19 -
20 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.5.2.adoc mode 100644
@@ -1,19 +0,0 @@
1 - GIT v1.6.5.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.5.1
5 - --------------------
6 -
7 - * Installation of templates triggered a bug in busybox when using tar
8 - implementation from it.
9 -
10 - * "git add -i" incorrectly ignored paths that are already in the index
11 - if they matched .gitignore patterns.
12 -
13 - * "git describe --always" should have produced some output even there
14 - were no tags in the repository, but it didn't.
15 -
16 - * "git ls-files" when showing tracked files incorrectly paid attention
17 - to the exclude patterns.
18 -
19 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.5.3.adoc mode 100644
@@ -1,63 +0,0 @@
1 - Git v1.6.5.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.5.2
5 - --------------------
6 -
7 - * info/grafts file didn't ignore trailing CR at the end of lines.
8 -
9 - * Packages generated on newer FC were unreadable by older versions of
10 - RPM as the new default is to use stronger hash.
11 -
12 - * output from "git blame" was unreadable when the file ended in an
13 - incomplete line.
14 -
15 - * "git add -i/-p" didn't handle deletion of empty files correctly.
16 -
17 - * "git clone" takes up to two parameters, but did not complain when
18 - given more arguments than necessary and silently ignored them.
19 -
20 - * "git cvsimport" did not read files given as command line arguments
21 - correctly when it is run from a subdirectory.
22 -
23 - * "git diff --color-words -U0" didn't work correctly.
24 -
25 - * The handling of blank lines at the end of file by "git diff/apply
26 - --whitespace" was inconsistent with the other kinds of errors.
27 - They are now colored, warned against, and fixed the same way as others.
28 -
29 - * There was no way to allow blank lines at the end of file without
30 - allowing extra blanks at the end of lines. You can use blank-at-eof
31 - and blank-at-eol whitespace error class to specify them separately.
32 - The old trailing-space error class is now a short-hand to set both.
33 -
34 - * "-p" option to "git format-patch" was supposed to suppress diffstat
35 - generation, but it was broken since 1.6.1.
36 -
37 - * "git imap-send" did not compile cleanly with newer OpenSSL.
38 -
39 - * "git help -a" outside of a git repository was broken.
40 -
41 - * "git ls-files -i" was supposed to be inverse of "git ls-files" without -i
42 - with respect to exclude patterns, but it was broken since 1.6.5.2.
43 -
44 - * "git ls-remote" outside of a git repository over http was broken.
45 -
46 - * "git rebase -i" gave bogus error message when the command word was
47 - misspelled.
48 -
49 - * "git receive-pack" that is run in response to "git push" did not run
50 - garbage collection nor update-server-info, but in larger hosting sites,
51 - these almost always need to be run. To help site administrators, the
52 - command now runs "gc --auto" and "u-s-i" by setting receive.autogc
53 - and receive.updateserverinfo configuration variables, respectively.
54 -
55 - * Release notes spelled the package name with incorrect capitalization.
56 -
57 - * "gitweb" did not escape non-ascii characters correctly in the URL.
58 -
59 - * "gitweb" showed "patch" link even for merge commits.
60 -
61 - * "gitweb" showed incorrect links for blob line numbers in pathinfo mode.
62 -
63 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.5.4.adoc mode 100644
@@ -1,32 +0,0 @@
1 - Git v1.6.5.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.5.3
5 - --------------------
6 -
7 - * "git help" (without argument) used to check if you are in a directory
8 - under git control. There was no breakage in behaviour per-se, but this
9 - was unnecessary.
10 -
11 - * "git prune-packed" gave progress output even when its standard error is
12 - not connected to a terminal; this caused cron jobs that run it to
13 - produce cruft.
14 -
15 - * "git pack-objects --all-progress" is an option to ask progress output
16 - from write-object phase _if_ progress output were to be produced, and
17 - shouldn't have forced the progress output.
18 -
19 - * "git apply -p<n> --directory=<elsewhere>" did not work well for a
20 - non-default value of n.
21 -
22 - * "git merge foo HEAD" was misparsed as an old-style invocation of the
23 - command and produced a confusing error message. As it does not specify
24 - any other branch to merge, it shouldn't be mistaken as such. We will
25 - remove the old style "git merge <message> HEAD <commit>..." syntax in
26 - future versions, but not in this release,
27 -
28 - * "git merge -m <message> <branch>..." added the standard merge message
29 - on its own after user-supplied message, which should have overridden the
30 - standard one.
31 -
32 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.5.5.adoc mode 100644
@@ -1,49 +0,0 @@
1 - Git v1.6.5.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.5.4
5 - --------------------
6 -
7 - * Manual pages can be formatted with older xmlto again.
8 -
9 - * GREP_OPTIONS exported from user's environment could have broken
10 - our scripted commands.
11 -
12 - * In configuration files, a few variables that name paths can begin with
13 - ~/ and ~username/ and they are expanded as expected. This is not a
14 - bugfix but 1.6.6 will have this and without backporting users cannot
15 - easily use the same ~/.gitconfig across versions.
16 -
17 - * "git diff -B -M" did the same computation to hash lines of contents
18 - twice, and held onto memory after it has used the data in it
19 - unnecessarily before it freed.
20 -
21 - * "git diff -B" and "git diff --dirstat" was not counting newly added
22 - contents correctly.
23 -
24 - * "git format-patch revisions... -- path" issued an incorrect error
25 - message that suggested to use "--" on the command line when path
26 - does not exist in the current work tree (it is a separate matter if
27 - it makes sense to limit format-patch with pathspecs like that
28 - without using the --full-diff option).
29 -
30 - * "git grep -F -i StRiNg" did not work as expected.
31 -
32 - * Enumeration of available merge strategies iterated over the list of
33 - commands in a wrong way, sometimes producing an incorrect result.
34 -
35 - * "git shortlog" did not honor the "encoding" header embedded in the
36 - commit object like "git log" did.
37 -
38 - * Reading progress messages that come from the remote side while running
39 - "git pull" is given precedence over reading the actual pack data to
40 - prevent garbled progress message on the user's terminal.
41 -
42 - * "git rebase" got confused when the log message began with certain
43 - strings that looked like Subject:, Date: or From: header.
44 -
45 - * "git reset" accidentally run in .git/ directory checked out the
46 - work tree contents in there.
47 -
48 -
49 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.5.6.adoc mode 100644
@@ -1,23 +0,0 @@
1 - Git v1.6.5.6 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.5.5
5 - --------------------
6 -
7 - * "git add -p" had a regression since v1.6.5.3 that broke deletion of
8 - non-empty files.
9 -
10 - * "git archive -o o.zip -- Makefile" produced an archive in o.zip
11 - but in POSIX tar format.
12 -
13 - * Error message given to "git pull --rebase" when the user didn't give
14 - enough clue as to what branch to integrate with still talked about
15 - "merging with" the branch.
16 -
17 - * Error messages given by "git merge" when the merge resulted in a
18 - fast-forward still were in plumbing lingo, even though in v1.6.5
19 - we reworded messages in other cases.
20 -
21 - * The post-upload-hook run by upload-pack in response to "git fetch" has
22 - been removed, due to security concerns (the hook first appeared in
23 - 1.6.5).
deleted Documentation/RelNotes/1.6.5.7.adoc mode 100644
@@ -1,19 +0,0 @@
1 - Git v1.6.5.7 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.5.6
5 - --------------------
6 -
7 - * If a user specifies a color for a <slot> (i.e. a class of things to show
8 - in a particular color) that is known only by newer versions of git
9 - (e.g. "color.diff.func" was recently added for upcoming 1.6.6 release),
10 - an older version of git should just ignore them. Instead we diagnosed
11 - it as an error.
12 -
13 - * With help.autocorrect set to non-zero value, the logic to guess typos
14 - in the subcommand name misfired and ran a random nonsense command.
15 -
16 - * If a command is run with an absolute path as a pathspec inside a bare
17 - repository, e.g. "rev-list HEAD -- /home", the code tried to run
18 - strlen() on NULL, which is the result of get_git_work_tree(), and
19 - segfaulted.
deleted Documentation/RelNotes/1.6.5.8.adoc mode 100644
@@ -1,28 +0,0 @@
1 - Git v1.6.5.8 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.5.7
5 - --------------------
6 -
7 - * "git count-objects" did not handle packfiles that are bigger than 4G on
8 - platforms with 32-bit off_t.
9 -
10 - * "git rebase -i" did not abort cleanly if it failed to launch the editor.
11 -
12 - * "git blame" did not work well when commit lacked the author name.
13 -
14 - * "git fast-import" choked when handling a tag that points at an object
15 - that is not a commit.
16 -
17 - * "git reset --hard" did not work correctly when GIT_WORK_TREE environment
18 - variable is used to point at the root of the true work tree.
19 -
20 - * "git grep" fed a buffer that is not NUL-terminated to underlying
21 - regexec().
22 -
23 - * "git checkout -m other" while on a branch that does not have any commit
24 - segfaulted, instead of failing.
25 -
26 - * "git branch -a other" should have diagnosed the command as an error.
27 -
28 - Other minor documentation updates are also included.
deleted Documentation/RelNotes/1.6.5.9.adoc mode 100644
@@ -1,18 +0,0 @@
1 - Git v1.6.5.9 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.5.8
5 - --------------------
6 -
7 - * An overlong line after ".gitdir: " in a git file caused out of bounds
8 - access to an array on the stack.
9 -
10 - * "git blame -L $start,$end" segfaulted when too large $start was given.
11 -
12 - * "git rev-parse --parseopt --stop-at-non-option" did not stop at non option
13 - when --keep-dashdash was in effect.
14 -
15 - * "gitweb" can sometimes be tricked into parrotting a filename argument
16 - given in a request without properly quoting.
17 -
18 - Other minor fixes and documentation updates are included.
deleted Documentation/RelNotes/1.6.5.adoc mode 100644
@@ -1,169 +0,0 @@
1 - GIT v1.6.5 Release Notes
2 - ========================
3 -
4 - In git 1.7.0, which was planned to be the release after 1.6.5, "git
5 - push" into a branch that is currently checked out will be refused by
6 - default.
7 -
8 - You can choose what should happen upon such a push by setting the
9 - configuration variable receive.denyCurrentBranch in the receiving
10 - repository.
11 -
12 - Also, "git push $there :$killed" to delete the branch $killed in a remote
13 - repository $there, when $killed branch is the current branch pointed at by
14 - its HEAD, will be refused by default.
15 -
16 - You can choose what should happen upon such a push by setting the
17 - configuration variable receive.denyDeleteCurrent in the receiving
18 - repository.
19 -
20 - To ease the transition plan, the receiving repository of such a
21 - push running this release will issue a big warning when the
22 - configuration variable is missing. Please refer to:
23 -
24 - https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare
25 - https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/
26 -
27 - for more details on the reason why this change is needed and the
28 - transition plan.
29 -
30 - Updates since v1.6.4
31 - --------------------
32 -
33 - (subsystems)
34 -
35 - * various updates to gitk, git-svn and gitweb.
36 -
37 - (portability)
38 -
39 - * more improvements on mingw port.
40 -
41 - * mingw will also give FRSX as the default value for the LESS
42 - environment variable when the user does not have one.
43 -
44 - * initial support to compile git on Windows with MSVC.
45 -
46 - (performance)
47 -
48 - * On major platforms, the system can be compiled to use with Linus's
49 - block-sha1 implementation of the SHA-1 hash algorithm, which
50 - outperforms the default fallback implementation we borrowed from
51 - Mozilla.
52 -
53 - * Unnecessary inefficiency in deepening of a shallow repository has
54 - been removed.
55 -
56 - * "git clone" does not grab objects that it does not need (i.e.
57 - referenced only from refs outside refs/heads and refs/tags
58 - hierarchy) anymore.
59 -
60 - * The "git" main binary used to link with libcurl, which then dragged
61 - in a large number of external libraries. When using basic plumbing
62 - commands in scripts, this unnecessarily slowed things down. We now
63 - implement http/https/ftp transfer as a separate executable as we
64 - used to.
65 -
66 - * "git clone" run locally hardlinks or copies the files in .git/ to
67 - newly created repository. It used to give new mtime to copied files,
68 - but this delayed garbage collection to trigger unnecessarily in the
69 - cloned repository. We now preserve mtime for these files to avoid
70 - this issue.
71 -
72 - (usability, bells and whistles)
73 -
74 - * Human writable date format to various options, e.g. --since=yesterday,
75 - master@{2000.09.17}, are taught to infer some omitted input properly.
76 -
77 - * A few programs gave verbose "advice" messages to help uninitiated
78 - people when issuing error messages. An infrastructure to allow
79 - users to squelch them has been introduced, and a few such messages
80 - can be silenced now.
81 -
82 - * refs/replace/ hierarchy is designed to be usable as a replacement
83 - of the "grafts" mechanism, with the added advantage that it can be
84 - transferred across repositories.
85 -
86 - * "git am" learned to optionally ignore whitespace differences.
87 -
88 - * "git am" handles input e-mail files that has CRLF line endings sensibly.
89 -
90 - * "git am" learned "--scissors" option to allow you to discard early part
91 - of an incoming e-mail.
92 -
93 - * "git archive -o output.zip" works without being told what format to
94 - use with an explicit "--format=zip".option.
95 -
96 - * "git checkout", "git reset" and "git stash" learned to pick and
97 - choose to use selected changes you made, similar to "git add -p".
98 -
99 - * "git clone" learned a "-b" option to pick a HEAD to check out
100 - different from the remote's default branch.
101 -
102 - * "git clone" learned --recursive option.
103 -
104 - * "git clone" from a local repository on a different filesystem used to
105 - copy individual object files without preserving the old timestamp, giving
106 - them extra lifetime in the new repository until they gc'ed.
107 -
108 - * "git commit --dry-run $args" is a new recommended way to ask "what would
109 - happen if I try to commit with these arguments."
110 -
111 - * "git commit --dry-run" and "git status" shows conflicted paths in a
112 - separate section to make them easier to spot during a merge.
113 -
114 - * "git cvsimport" now supports password-protected pserver access even
115 - when the password is not taken from ~/.cvspass file.
116 -
117 - * "git fast-export" learned --no-data option that can be useful when
118 - reordering commits and trees without touching the contents of
119 - blobs.
120 -
121 - * "git fast-import" has a pair of new front-end in contrib/ area.
122 -
123 - * "git init" learned to mkdir/chdir into a directory when given an
124 - extra argument (i.e. "git init this").
125 -
126 - * "git instaweb" optionally can use mongoose as the web server.
127 -
128 - * "git log --decorate" can optionally be told with --decorate=full to
129 - give the reference name in full.
130 -
131 - * "git merge" issued an unnecessarily scary message when it detected
132 - that the merge may have to touch the path that the user has local
133 - uncommitted changes to. The message has been reworded to make it
134 - clear that the command aborted, without doing any harm.
135 -
136 - * "git push" can be told to be --quiet.
137 -
138 - * "git push" pays attention to url.$base.pushInsteadOf and uses a URL
139 - that is derived from the URL used for fetching.
140 -
141 - * informational output from "git reset" that lists the locally modified
142 - paths is made consistent with that of "git checkout $another_branch".
143 -
144 - * "git submodule" learned to give submodule name to scripts run with
145 - "foreach" subcommand.
146 -
147 - * various subcommands to "git submodule" learned --recursive option.
148 -
149 - * "git submodule summary" learned --files option to compare the work
150 - tree vs the commit bound at submodule path, instead of comparing
151 - the index.
152 -
153 - * "git upload-pack", which is the server side support for "git clone" and
154 - "git fetch", can call a new post-upload-pack hook for statistics purposes.
155 -
156 - (developers)
157 -
158 - * With GIT_TEST_OPTS="--root=/p/a/t/h", tests can be run outside the
159 - source directory; using tmpfs may give faster turnaround.
160 -
161 - * With NO_PERL_MAKEMAKER set, DESTDIR= is now honoured, so you can
162 - build for one location, and install into another location to tar it
163 - up.
164 -
165 - Fixes since v1.6.4
166 - ------------------
167 -
168 - All of the fixes in v1.6.4.X maintenance series are included in this
169 - release, unless otherwise noted.
deleted Documentation/RelNotes/1.6.6.1.adoc mode 100644
@@ -1,37 +0,0 @@
1 - Git v1.6.6.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.6
5 - ------------------
6 -
7 - * "git blame" did not work well when commit lacked the author name.
8 -
9 - * "git branch -a name" wasn't diagnosed as an error.
10 -
11 - * "git count-objects" did not handle packfiles that are bigger than 4G on
12 - platforms with 32-bit off_t.
13 -
14 - * "git checkout -m other" while on a branch that does not have any commit
15 - segfaulted, instead of failing.
16 -
17 - * "git fast-import" choked when fed a tag that do not point at a
18 - commit.
19 -
20 - * "git grep" finding from work tree files could have fed garbage to
21 - the underlying regexec(3).
22 -
23 - * "git grep -L" didn't show empty files (they should never match, and
24 - they should always appear in -L output as unmatching).
25 -
26 - * "git rebase -i" did not abort cleanly if it failed to launch the editor.
27 -
28 - * "git reset --hard" did not work correctly when GIT_WORK_TREE environment
29 - variable is used to point at the root of the true work tree.
30 -
31 - * http-backend was not listed in the command list in the documentation.
32 -
33 - * Building on FreeBSD (both 7 and 8) needs OLD_ICONV set in the Makefile
34 -
35 - * "git checkout -m some-branch" while on an unborn branch crashed.
36 -
37 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.6.2.adoc mode 100644
@@ -1,46 +0,0 @@
1 - Git v1.6.6.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.6.1
5 - --------------------
6 -
7 - * recursive merge didn't correctly diagnose its own programming errors,
8 - and instead caused the caller to segfault.
9 -
10 - * The new "smart http" aware clients probed the web servers to see if
11 - they support smart http, but did not fall back to dumb http transport
12 - correctly with some servers.
13 -
14 - * Time based reflog syntax e.g. "@{yesterday}" didn't diagnose a misspelled
15 - time specification and instead assumed "@{now}".
16 -
17 - * "git archive HEAD -- no-such-directory" produced an empty archive
18 - without complaining.
19 -
20 - * "git blame -L start,end -- file" misbehaved when given a start that is
21 - larger than the number of lines in the file.
22 -
23 - * "git checkout -m" didn't correctly call custom merge backend supplied
24 - by the end user.
25 -
26 - * "git config -f <file>" misbehaved when run from a subdirectory.
27 -
28 - * "git cvsserver" didn't like having regex metacharacters (e.g. '+') in
29 - CVSROOT environment.
30 -
31 - * "git fast-import" did not correctly handle large blobs that may
32 - bust the pack size limit.
33 -
34 - * "git gui" is supposed to work even when launched from inside a .git
35 - directory.
36 -
37 - * "git gui" misbehaved when applying a hunk that ends with deletion.
38 -
39 - * "git imap-send" did not honor imap.preformattedHTML as documented.
40 -
41 - * "git log" family incorrectly showed the commit notes unconditionally by
42 - mistake, which was especially irritating when running "git log --oneline".
43 -
44 - * "git status" shouldn't require an write access to the repository.
45 -
46 - Other minor documentation updates are included.
deleted Documentation/RelNotes/1.6.6.3.adoc mode 100644
@@ -1,23 +0,0 @@
1 - Git v1.6.6.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.6.6.2
5 - --------------------
6 -
7 - * An overlong line after ".gitdir: " in a git file caused out of bounds
8 - access to an array on the stack.
9 -
10 - * "git bisect $path" did not correctly diagnose an error when given a
11 - non-existent path.
12 -
13 - * "git blame -L $start,$end" segfaulted when too large $start was given.
14 -
15 - * "git imap-send" did not write draft box with CRLF line endings per RFC.
16 -
17 - * "git rev-parse --parseopt --stop-at-non-option" did not stop at non option
18 - when --keep-dashdash was in effect.
19 -
20 - * "gitweb" can sometimes be tricked into parrotting a filename argument
21 - given in a request without properly quoting.
22 -
23 - Other minor fixes and documentation updates are included.
deleted Documentation/RelNotes/1.6.6.adoc mode 100644
@@ -1,224 +0,0 @@
1 - Git v1.6.6 Release Notes
2 - ========================
3 -
4 - Notes on behaviour change
5 - -------------------------
6 -
7 - * In this release, "git fsck" defaults to "git fsck --full" and
8 - checks packfiles, and because of this it will take much longer to
9 - complete than before. If you prefer a quicker check only on loose
10 - objects (the old default), you can say "git fsck --no-full". This
11 - has been supported by 1.5.4 and newer versions of git, so it is
12 - safe to write it in your script even if you use slightly older git
13 - on some of your machines.
14 -
15 - Preparing yourselves for compatibility issues in 1.7.0
16 - ------------------------------------------------------
17 -
18 - In git 1.7.0, which is planned to be the release after 1.6.6, there will
19 - be a handful of behaviour changes that will break backward compatibility.
20 -
21 - These changes were discussed long time ago and existing behaviours have
22 - been identified as more problematic to the userbase than keeping them for
23 - the sake of backward compatibility.
24 -
25 - When necessary, a transition strategy for existing users has been designed
26 - not to force them running around setting configuration variables and
27 - updating their scripts in order to either keep the traditional behaviour
28 - or adjust to the new behaviour, on the day their sysadmin decides to install
29 - the new version of git. When we switched from "git-foo" to "git foo" in
30 - 1.6.0, even though the change had been advertised and the transition
31 - guide had been provided for a very long time, the users procrastinated
32 - during the entire transition period, and ended up panicking on the day
33 - their sysadmins updated their git installation. We are trying to avoid
34 - repeating that unpleasantness in the 1.7.0 release.
35 -
36 - For changes decided to be in 1.7.0, commands that will be affected
37 - have been much louder to strongly discourage such procrastination, and
38 - they continue to be in this release. If you have been using recent
39 - versions of git, you would have seen warnings issued when you used
40 - features whose behaviour will change, with a clear instruction on how
41 - to keep the existing behaviour if you want to. You hopefully are
42 - already well prepared.
43 -
44 - Of course, we have also been giving "this and that will change in
45 - 1.7.0; prepare yourselves" warnings in the release notes and
46 - announcement messages for the past few releases. Let's see how well
47 - users will fare this time.
48 -
49 - * "git push" into a branch that is currently checked out (i.e. pointed by
50 - HEAD in a repository that is not bare) will be refused by default.
51 -
52 - Similarly, "git push $there :$killed" to delete the branch $killed
53 - in a remote repository $there, when $killed branch is the current
54 - branch pointed at by its HEAD, will be refused by default.
55 -
56 - Setting the configuration variables receive.denyCurrentBranch and
57 - receive.denyDeleteCurrent to 'ignore' in the receiving repository
58 - can be used to override these safety features. Versions of git
59 - since 1.6.2 have issued a loud warning when you tried to do these
60 - operations without setting the configuration, so repositories of
61 - people who still need to be able to perform such a push should
62 - already have been future proofed.
63 -
64 - Please refer to:
65 -
66 - https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare
67 - https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/
68 -
69 - for more details on the reason why this change is needed and the
70 - transition process that already took place so far.
71 -
72 - * "git send-email" will not make deep threads by default when sending a
73 - patch series with more than two messages. All messages will be sent
74 - as a reply to the first message, i.e. cover letter. Git 1.6.6 (this
75 - release) will issue a warning about the upcoming default change, when
76 - it uses the traditional "deep threading" behaviour as the built-in
77 - default. To squelch the warning but still use the "deep threading"
78 - behaviour, give --chain-reply-to option or set sendemail.chainreplyto
79 - to true.
80 -
81 - It has been possible to configure send-email to send "shallow thread"
82 - by setting sendemail.chainreplyto configuration variable to false.
83 - The only thing 1.7.0 release will do is to change the default when
84 - you haven't configured that variable.
85 -
86 - * "git status" will not be "git commit --dry-run". This change does not
87 - affect you if you run the command without pathspec.
88 -
89 - Nobody sane found the current behaviour of "git status Makefile" useful
90 - nor meaningful, and it confused users. "git commit --dry-run" has been
91 - provided as a way to get the current behaviour of this command since
92 - 1.6.5.
93 -
94 - * "git diff" traditionally treated various "ignore whitespace" options
95 - only as a way to filter the patch output. "git diff --exit-code -b"
96 - exited with non-zero status even if all changes were about changing the
97 - amount of whitespace and nothing else. and "git diff -b" showed the
98 - "diff --git" header line for such a change without patch text.
99 -
100 - In 1.7.0, the "ignore whitespaces" will affect the semantics of the
101 - diff operation itself. A change that does not affect anything but
102 - whitespaces will be reported with zero exit status when run with
103 - --exit-code, and there will not be "diff --git" header for such a
104 - change.
105 -
106 -
107 - Updates since v1.6.5
108 - --------------------
109 -
110 - (subsystems)
111 -
112 - * various gitk updates including use of themed widgets under Tk 8.5,
113 - Japanese translation, a fix to a bug when running "gui blame" from
114 - a subdirectory, etc.
115 -
116 - * various git-gui updates including new translations, wm states fixes,
117 - Tk bug workaround after quitting, improved heuristics to trigger gc,
118 - etc.
119 -
120 - * various git-svn updates.
121 -
122 - * "git fetch" over http learned a new mode that is different from the
123 - traditional "dumb commit walker".
124 -
125 - (portability)
126 -
127 - * imap-send can be built on mingw port.
128 -
129 - (performance)
130 -
131 - * "git diff -B" has smaller memory footprint.
132 -
133 - (usability, bells and whistles)
134 -
135 - * The object replace mechanism can be bypassed with --no-replace-objects
136 - global option given to the "git" program.
137 -
138 - * In configuration files, a few variables that name paths can begin with ~/
139 - and ~username/ and they are expanded as expected.
140 -
141 - * "git subcmd -h" now shows short usage help for many more subcommands.
142 -
143 - * "git bisect reset" can reset to an arbitrary commit.
144 -
145 - * "git checkout frotz" when there is no local branch "frotz" but there
146 - is only one remote tracking branch "frotz" is taken as a request to
147 - start the named branch at the corresponding remote tracking branch.
148 -
149 - * "git commit -c/-C/--amend" can be told with a new "--reset-author" option
150 - to ignore authorship information in the commit it is taking the message
151 - from.
152 -
153 - * "git describe" can be told to add "-dirty" suffix with "--dirty" option.
154 -
155 - * "git diff" learned --submodule option to show a list of one-line logs
156 - instead of differences between the commit object names.
157 -
158 - * "git diff" learned to honor diff.color.func configuration to paint
159 - function name hint printed on the hunk header "@@ -j,k +l,m @@" line
160 - in the specified color.
161 -
162 - * "git fetch" learned --all and --multiple options, to run fetch from
163 - many repositories, and --prune option to remove remote tracking
164 - branches that went stale. These make "git remote update" and "git
165 - remote prune" less necessary (there is no plan to remove "remote
166 - update" nor "remote prune", though).
167 -
168 - * "git fsck" by default checks the packfiles (i.e. "--full" is the
169 - default); you can turn it off with "git fsck --no-full".
170 -
171 - * "git grep" can use -F (fixed strings) and -i (ignore case) together.
172 -
173 - * import-tars contributed fast-import frontend learned more types of
174 - compressed tarballs.
175 -
176 - * "git instaweb" knows how to talk with mod_cgid to apache2.
177 -
178 - * "git log --decorate" shows the location of HEAD as well.
179 -
180 - * "git log" and "git rev-list" learned to take revs and pathspecs from
181 - the standard input with the new "--stdin" option.
182 -
183 - * "--pretty=format" option to "log" family of commands learned:
184 -
185 - . to wrap text with the "%w()" specifier.
186 - . to show reflog information with "%g[sdD]" specifier.
187 -
188 - * "git notes" command to annotate existing commits.
189 -
190 - * "git merge" (and "git pull") learned --ff-only option to make it fail
191 - if the merge does not result in a fast-forward.
192 -
193 - * "git mergetool" learned to use p4merge.
194 -
195 - * "git rebase -i" learned "reword" that acts like "edit" but immediately
196 - starts an editor to tweak the log message without returning control to
197 - the shell, which is done by "edit" to give an opportunity to tweak the
198 - contents.
199 -
200 - * "git send-email" can be told with "--envelope-sender=auto" to use the
201 - same address as "From:" address as the envelope sender address.
202 -
203 - * "git send-email" will issue a warning when it defaults to the
204 - --chain-reply-to behaviour without being told by the user and
205 - instructs to prepare for the change of the default in 1.7.0 release.
206 -
207 - * In "git submodule add <repository> <path>", <path> is now optional and
208 - inferred from <repository> the same way "git clone <repository>" does.
209 -
210 - * "git svn" learned to read SVN 1.5+ and SVK merge tickets.
211 -
212 - * "git svn" learned to recreate empty directories tracked only by SVN.
213 -
214 - * "gitweb" can optionally render its "blame" output incrementally (this
215 - requires JavaScript on the client side).
216 -
217 - * Author names shown in gitweb output are links to search commits by the
218 - author.
219 -
220 - Fixes since v1.6.5
221 - ------------------
222 -
223 - All of the fixes in v1.6.5.X maintenance series are included in this
224 - release, unless otherwise noted.
deleted Documentation/RelNotes/1.7.0.1.adoc mode 100644
@@ -1,35 +0,0 @@
1 - Git v1.7.0.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.0
5 - ------------------
6 -
7 - * In a freshly created repository "rev-parse HEAD^0" complained that
8 - it is dangling symref, even though "rev-parse HEAD" didn't.
9 -
10 - * "git show :no-such-name" tried to access the index without bounds
11 - check, leading to a potential segfault.
12 -
13 - * Message from "git cherry-pick" was harder to read and use than necessary
14 - when it stopped due to conflicting changes.
15 -
16 - * We referred to ".git/refs/" throughout the documentation when we
17 - meant to talk about abstract notion of "ref namespace". Because
18 - people's repositories often have packed refs these days, this was
19 - confusing.
20 -
21 - * "git diff --output=/path/that/cannot/be/written" did not correctly
22 - error out.
23 -
24 - * "git grep -e -pattern-that-begin-with-dash paths..." could not be
25 - spelled as "git grep -- -pattern-that-begin-with-dash paths..." which
26 - would be a GNU way to use "--" as "end of options".
27 -
28 - * "git grep" compiled with threading support tried to access an
29 - uninitialized mutex on boxes with a single CPU.
30 -
31 - * "git stash pop -q --index" failed because the unnecessary --index
32 - option was propagated to "git stash drop" that is internally run at the
33 - end.
34 -
35 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.0.2.adoc mode 100644
@@ -1,40 +0,0 @@
1 - Git v1.7.0.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.0.1
5 - --------------------
6 -
7 - * GIT_PAGER was not honored consistently by some scripted Porcelains, most
8 - notably "git am".
9 -
10 - * updating working tree files after telling git to add them to the
11 - index and while it is still working created garbage object files in
12 - the repository without diagnosing it as an error.
13 -
14 - * "git bisect -- pathspec..." did not diagnose an error condition properly when
15 - the simplification with given pathspec made the history empty.
16 -
17 - * "git rev-list --cherry-pick A...B" now has an obvious optimization when the
18 - histories haven't diverged (i.e. when one end is an ancestor of the other).
19 -
20 - * "git diff --quiet -w" did not work as expected.
21 -
22 - * "git fast-import" didn't work with a large input, as it lacked support
23 - for producing the pack index in v2 format.
24 -
25 - * "git imap-send" didn't use CRLF line endings over the imap protocol
26 - when storing its payload to the draft box, violating RFC 3501.
27 -
28 - * "git log --format='%w(x,y,z)%b'" and friends that rewrap message
29 - has been optimized for utf-8 payload.
30 -
31 - * Error messages generated on the receiving end did not come back to "git
32 - push".
33 -
34 - * "git status" in 1.7.0 lacked the optimization we used to have in 1.6.X series
35 - to speed up scanning of large working tree.
36 -
37 - * "gitweb" did not diagnose parsing errors properly while reading its configuration
38 - file.
39 -
40 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.0.3.adoc mode 100644
@@ -1,34 +0,0 @@
1 - Git v1.7.0.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.0.2
5 - --------------------
6 -
7 - * Object files are created in a more ACL friendly way in repositories
8 - where group permission is ACL controlled.
9 -
10 - * "git add -i" didn't handle a deleted path very well.
11 -
12 - * "git blame" padded line numbers with one extra SP when the total number
13 - of lines was one less than multiple of ten due to an off-by-one error.
14 -
15 - * "git fetch --all/--multi" used to discard information for remotes that
16 - are fetched earlier.
17 -
18 - * "git log --author=me --grep=it" tried to find commits that have "it"
19 - or are written by "me", instead of the ones that have "it" _and_ are
20 - written by "me".
21 -
22 - * "git log -g branch" misbehaved when there was no entries in the reflog
23 - for the named branch.
24 -
25 - * "git mailinfo" (hence "git am") incorrectly removed initial indent from
26 - paragraphs.
27 -
28 - * "git prune" and "git reflog" (hence "git gc" as well) didn't honor
29 - an instruction never to expire by setting gc.reflogexpire to never.
30 -
31 - * "git push" misbehaved when branch.<name>.merge was configured without
32 - matching branch.<name>.remote.
33 -
34 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.0.4.adoc mode 100644
@@ -1,27 +0,0 @@
1 - Git v1.7.0.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.0.3
5 - --------------------
6 -
7 - * Optimized ntohl/htonl on big-endian machines were broken.
8 -
9 - * Color values given to "color.<cmd>.<slot>" configuration can now have
10 - more than one attributes (e.g. "bold ul").
11 -
12 - * "git add -u nonexistent-path" did not complain.
13 -
14 - * "git apply --whitespace=fix" didn't work well when an early patch in
15 - a patch series adds trailing blank lines and a later one depended on
16 - such a block of blank lines at the end.
17 -
18 - * "git fast-export" didn't check error status and stop when marks file
19 - cannot be opened.
20 -
21 - * "git format-patch --ignore-if-in-upstream" gave unwarranted errors
22 - when the range was empty, instead of silently finishing.
23 -
24 - * "git remote prune" did not detect remote tracking refs that became
25 - dangling correctly.
26 -
27 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.0.5.adoc mode 100644
@@ -1,26 +0,0 @@
1 - Git v1.7.0.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.0.4
5 - --------------------
6 -
7 - * "git daemon" failed to compile on platforms without sockaddr_storage type.
8 -
9 - * Output from "git rev-list --pretty=oneline" was unparsable when a
10 - commit did not have any message, which is abnormal but possible in a
11 - repository converted from foreign scm.
12 -
13 - * "git stash show <commit-that-is-not-a-stash>" gave an error message
14 - that was not so useful. Reworded the message to "<it> is not a
15 - stash".
16 -
17 - * Python scripts in contrib/ area now start with "#!/usr/bin/env python"
18 - to honor user's PATH.
19 -
20 - * "git imap-send" used to mistake any line that begins with "From " as a
21 - message separator in format-patch output.
22 -
23 - * Smart http server backend failed to report an internal server error and
24 - infinitely looped instead after output pipe was closed.
25 -
26 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.0.6.adoc mode 100644
@@ -1,13 +0,0 @@
1 - Git v1.7.0.6 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.0.5
5 - --------------------
6 -
7 - * "git diff --stat" used "int" to count the size of differences,
8 - which could result in overflowing.
9 -
10 - * "git rev-list --abbrev-commit" defaulted to 40-byte abbreviations, unlike
11 - newer tools in the git toolset.
12 -
13 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.0.7.adoc mode 100644
@@ -1,16 +0,0 @@
1 - Git v1.7.0.7 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.0.6
5 - --------------------
6 -
7 - * "make NO_CURL=NoThanks install" was broken.
8 -
9 - * An overlong line after ".gitdir: " in a git file caused out of bounds
10 - access to an array on the stack.
11 -
12 - * "git config --path conf.var" to attempt to expand a variable conf.var
13 - that uses "~/" short-hand segfaulted when $HOME environment variable
14 - was not set.
15 -
16 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.0.8.adoc mode 100644
@@ -1,10 +0,0 @@
1 - Git v1.7.0.8 Release Notes
2 - ==========================
3 -
4 - This is primarily to backport support for the new "add.ignoreErrors"
5 - name given to the existing "add.ignore-errors" configuration variable.
6 -
7 - The next version, Git 1.7.4, and future versions, will support both
8 - old and incorrect name and the new corrected name, but without this
9 - backport, users who want to use the new name "add.ignoreErrors" in
10 - their repositories cannot use older versions of Git.
deleted Documentation/RelNotes/1.7.0.9.adoc mode 100644
@@ -1,8 +0,0 @@
1 - Git v1.7.0.9 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.0.8
5 - --------------------
6 -
7 - * "gitweb" can sometimes be tricked into parrotting a filename argument
8 - given in a request without properly quoting.
deleted Documentation/RelNotes/1.7.0.adoc mode 100644
@@ -1,214 +0,0 @@
1 - Git v1.7.0 Release Notes
2 - ========================
3 -
4 - Notes on behaviour change
5 - -------------------------
6 -
7 - * "git push" into a branch that is currently checked out (i.e. pointed at by
8 - HEAD in a repository that is not bare) is refused by default.
9 -
10 - Similarly, "git push $there :$killed" to delete the branch $killed
11 - in a remote repository $there, when $killed branch is the current
12 - branch pointed at by its HEAD, will be refused by default.
13 -
14 - Setting the configuration variables receive.denyCurrentBranch and
15 - receive.denyDeleteCurrent to 'ignore' in the receiving repository
16 - can be used to override these safety features.
17 -
18 - * "git send-email" does not make deep threads by default when sending a
19 - patch series with more than two messages. All messages will be sent
20 - as a reply to the first message, i.e. cover letter.
21 -
22 - It has been possible already to configure send-email to send "shallow thread"
23 - by setting sendemail.chainreplyto configuration variable to false. The
24 - only thing this release does is to change the default when you haven't
25 - configured that variable.
26 -
27 - * "git status" is not "git commit --dry-run" anymore. This change does
28 - not affect you if you run the command without argument.
29 -
30 - * "git diff" traditionally treated various "ignore whitespace" options
31 - only as a way to filter the patch output. "git diff --exit-code -b"
32 - exited with non-zero status even if all changes were about changing the
33 - amount of whitespace and nothing else; and "git diff -b" showed the
34 - "diff --git" header line for such a change without patch text.
35 -
36 - In this release, the "ignore whitespaces" options affect the semantics
37 - of the diff operation. A change that does not affect anything but
38 - whitespaces is reported with zero exit status when run with
39 - --exit-code, and there is no "diff --git" header for such a change.
40 -
41 - * External diff and textconv helpers are now executed using the shell.
42 - This makes them consistent with other programs executed by git, and
43 - allows you to pass command-line parameters to the helpers. Any helper
44 - paths containing spaces or other metacharacters now need to be
45 - shell-quoted. The affected helpers are GIT_EXTERNAL_DIFF in the
46 - environment, and diff.*.command and diff.*.textconv in the config
47 - file.
48 -
49 - * The --max-pack-size argument to 'git repack', 'git pack-objects', and
50 - 'git fast-import' was assuming the provided size to be expressed in MiB,
51 - unlike the corresponding config variable and other similar options accepting
52 - a size value. It is now expecting a size expressed in bytes, with a possible
53 - unit suffix of 'k', 'm', or 'g'.
54 -
55 - Updates since v1.6.6
56 - --------------------
57 -
58 - (subsystems)
59 -
60 - * "git fast-import" updates; adds "option" and "feature" to detect the
61 - mismatch between fast-import and the frontends that produce the input
62 - stream.
63 -
64 - * "git svn" support of subversion "merge tickets" and miscellaneous fixes.
65 -
66 - * "gitk" and "git gui" translation updates.
67 -
68 - * "gitweb" updates (code clean-up, load checking etc.)
69 -
70 - (portability)
71 -
72 - * Some more MSVC portability patches for msysgit port.
73 -
74 - * Minimum Pthreads emulation for msysgit port.
75 -
76 - (performance)
77 -
78 - * More performance improvement patches for msysgit port.
79 -
80 - (usability, bells and whistles)
81 -
82 - * More commands learned "--quiet" and "--[no-]progress" options.
83 -
84 - * Various commands given by the end user (e.g. diff.type.textconv,
85 - and GIT_EDITOR) can be specified with command line arguments. E.g. it
86 - is now possible to say "[diff "utf8doc"] textconv = nkf -w".
87 -
88 - * "sparse checkout" feature allows only part of the work tree to be
89 - checked out.
90 -
91 - * HTTP transfer can use authentication scheme other than basic
92 - (i.e./e.g. digest).
93 -
94 - * Switching from a version of superproject that used to have a submodule
95 - to another version of superproject that no longer has it did not remove
96 - the submodule directory when it should (namely, when you are not
97 - interested in the submodule at all and didn't clone/checkout).
98 -
99 - * A new attribute conflict-marker-size can be used to change the size of
100 - the conflict markers from the default 7; this is useful when tracked
101 - contents (e.g. git-merge documentation) have strings that resemble the
102 - conflict markers.
103 -
104 - * A new syntax "<branch>@{upstream}" can be used on the command line to
105 - substitute the name of the "upstream" of the branch. Missing branch
106 - defaults to the current branch, so "git fetch && git merge @{upstream}"
107 - will be equivalent to "git pull".
108 -
109 - * "git am --resolved" has a synonym "git am --continue".
110 -
111 - * "git branch --set-upstream" can be used to update the (surprise!) upstream,
112 - i.e. where the branch is supposed to pull and merge from (or rebase onto).
113 -
114 - * "git checkout A...B" is a way to detach HEAD at the merge base between
115 - A and B.
116 -
117 - * "git checkout -m path" to reset the work tree file back into the
118 - conflicted state works even when you already ran "git add path" and
119 - resolved the conflicts.
120 -
121 - * "git commit --date='<date>'" can be used to override the author date
122 - just like "git commit --author='<name> <email>'" can be used to
123 - override the author identity.
124 -
125 - * "git commit --no-status" can be used to omit the listing of the index
126 - and the work tree status in the editor used to prepare the log message.
127 -
128 - * "git commit" warns a bit more aggressively until you configure user.email,
129 - whose default value almost always is not (and fundamentally cannot be)
130 - what you want.
131 -
132 - * "git difftool" has been extended to make it easier to integrate it
133 - with gitk.
134 -
135 - * "git fetch --all" can now be used in place of "git remote update".
136 -
137 - * "git grep" does not rely on external grep anymore. It can use more than
138 - one thread to accelerate the operation.
139 -
140 - * "git grep" learned "--quiet" option.
141 -
142 - * "git log" and friends learned "--glob=heads/*" syntax that is a more
143 - flexible way to complement "--branches/--tags/--remotes".
144 -
145 - * "git merge" learned to pass options specific to strategy-backends. E.g.
146 -
147 - - "git merge -Xsubtree=path/to/directory" can be used to tell the subtree
148 - strategy how much to shift the trees explicitly.
149 -
150 - - "git merge -Xtheirs" can be used to auto-merge as much as possible,
151 - while discarding your own changes and taking merged version in
152 - conflicted regions.
153 -
154 - * "git push" learned "git push origin --delete branch", a syntactic sugar
155 - for "git push origin :branch".
156 -
157 - * "git push" learned "git push --set-upstream origin forker:forkee" that
158 - lets you configure your "forker" branch to later pull from "forkee"
159 - branch at "origin".
160 -
161 - * "git rebase --onto A...B" means the history is replayed on top of the
162 - merge base between A and B.
163 -
164 - * "git rebase -i" learned new action "fixup" that squashes the change
165 - but does not affect existing log message.
166 -
167 - * "git rebase -i" also learned --autosquash option that is useful
168 - together with the new "fixup" action.
169 -
170 - * "git remote" learned set-url subcommand that updates (surprise!) url
171 - for an existing remote nickname.
172 -
173 - * "git rerere" learned "forget path" subcommand. Together with "git
174 - checkout -m path" it will be useful when you recorded a wrong
175 - resolution.
176 -
177 - * Use of "git reset --merge" has become easier when resetting away a
178 - conflicted mess left in the work tree.
179 -
180 - * "git rerere" had rerere.autoupdate configuration but there was no way
181 - to countermand it from the command line; --no-rerere-autoupdate option
182 - given to "merge", "revert", etc. fixes this.
183 -
184 - * "git status" learned "-s(hort)" output format.
185 -
186 - (developers)
187 -
188 - * The infrastructure to build foreign SCM interface has been updated.
189 -
190 - * Many more commands are now built-in.
191 -
192 - * THREADED_DELTA_SEARCH is no more. If you build with threads, delta
193 - compression will always take advantage of it.
194 -
195 - Fixes since v1.6.6
196 - ------------------
197 -
198 - All of the fixes in v1.6.6.X maintenance series are included in this
199 - release, unless otherwise noted.
200 -
201 - * "git branch -d branch" used to refuse deleting the branch even when
202 - the branch is fully merged to its upstream branch if it is not merged
203 - to the current branch. It now deletes it in such a case.
204 -
205 - * "filter-branch" command incorrectly said --prune-empty and --filter-commit
206 - were incompatible; the latter should be read as --commit-filter.
207 -
208 - * When using "git status" or asking "git diff" to compare the work tree
209 - with something, they used to consider that a checked-out submodule with
210 - uncommitted changes is not modified; this could cause people to forget
211 - committing these changes in the submodule before committing in the
212 - superproject. They now consider such a change as a modification and
213 - "git diff" will append a "-dirty" to the work tree side when generating
214 - patch output or when used with the --submodule option.
deleted Documentation/RelNotes/1.7.1.1.adoc mode 100644
@@ -1,96 +0,0 @@
1 - Git v1.7.1.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.1
5 - ------------------
6 -
7 - * Authentication over http transport can now be made lazily, in that the
8 - request can first go to a URL without username, get a 401 response and
9 - then the client will ask for the username to use.
10 -
11 - * We used to mistakenly think "../work" is a subdirectory of the current
12 - directory when we are in "../work-xyz".
13 -
14 - * The attribute mechanism now allows an entry that uses an attribute
15 - macro that set/unset one attribute, immediately followed by an
16 - overriding setting; this makes attribute macros much easier to use.
17 -
18 - * We didn't recognize timezone "Z" as a synonym for "UTC" (75b37e70).
19 -
20 - * In 1.7.0, read-tree and user commands that use the mechanism such as
21 - checkout and merge were fixed to handle switching between branches one
22 - of which has a file while the other has a directory at the same path
23 - correctly even when there are some "confusing" pathnames in them. But
24 - the algorithm used for this fix was suboptimal and had a terrible
25 - performance degradation especially in larger trees.
26 -
27 - * "git am -3" did not show diagnosis when the patch in the message was corrupt.
28 -
29 - * After "git apply --whitespace=fix" removed trailing blank lines in an
30 - patch in a patch series, it failed to apply later patches that depend
31 - on the presence of such blank lines.
32 -
33 - * "git bundle --stdin" segfaulted.
34 -
35 - * "git checkout" and "git rebase" overwrote paths that are marked "assume
36 - unchanged".
37 -
38 - * "git commit --amend" on a commit with an invalid author-name line that
39 - lacks the display name didn't work.
40 -
41 - * "git describe" did not tie-break tags that point at the same commit
42 - correctly; newer ones are preferred by paying attention to the
43 - tagger date now.
44 -
45 - * "git diff" used to tell underlying xdiff machinery to work very hard to
46 - minimize the output, but this often was spending too many extra cycles
47 - for very little gain.
48 -
49 - * "git diff --color" did not paint extended diff headers per line
50 - (i.e. the coloring escape sequence didn't end at the end of line),
51 - which confused "less -R".
52 -
53 - * "git fetch" over HTTP verifies the downloaded packfiles more robustly.
54 -
55 - * The memory usage by "git index-pack" (run during "git fetch" and "git
56 - push") got leaner.
57 -
58 - * "GIT_DIR=foo.git git init --bare bar.git" created foo.git instead of bar.git.
59 -
60 - * "git log --abbrev=$num --format='%h' ignored --abbrev=$num.
61 -
62 - * "git ls-files ../out/side/cwd" refused to work.
63 -
64 - * "git merge --log" used to replace the custom message given by "-m" with
65 - the shortlog, instead of appending to it.
66 -
67 - * "git notes copy" without any other argument segfaulted.
68 -
69 - * "git pull" accepted "--dry-run", gave it to underlying "git fetch" but
70 - ignored the option itself, resulting in a bogus attempt to merge
71 - unrelated commit.
72 -
73 - * "git rebase" did not faithfully reproduce a malformed author ident, that
74 - is often seen in a repository converted from foreign SCMs.
75 -
76 - * "git reset --hard" started from a wrong directory and a working tree in
77 - a nonstandard location is in use got confused.
78 -
79 - * "git send-email" lacked a way to specify the domainname used in the
80 - EHLO/HELO exchange, causing rejected connection from picky servers.
81 - It learned --smtp-domain option to solve this issue.
82 -
83 - * "git send-email" did not declare a content-transfer-encoding and
84 - content-type even when its payload needs to be sent in 8-bit.
85 -
86 - * "git show -C -C" and other corner cases lost diff metainfo output
87 - in 1.7.0.
88 -
89 - * "git stash" incorrectly lost paths in the working tree that were
90 - previously removed from the index.
91 -
92 - * "git status" stopped refreshing the index by mistake in 1.7.1.
93 -
94 - * "git status" showed excess "hints" even when advice.statusHints is set to false.
95 -
96 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.1.2.adoc mode 100644
@@ -1,28 +0,0 @@
1 - Git v1.7.1.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.1.1
5 - --------------------
6 -
7 - * "git commit" did not honor GIT_REFLOG_ACTION environment variable, resulting
8 - reflog messages for cherry-pick and revert actions to be recorded as "commit".
9 -
10 - * "git clone/fetch/pull" issued an incorrect error message when a ref and
11 - a symref that points to the ref were updated at the same time. This
12 - obviously would update them to the same value, and should not result in
13 - an error condition.
14 -
15 - * "git diff" inside a tree with many pathnames that have certain
16 - characters has become very slow in 1.7.0 by mistake.
17 -
18 - * "git rev-parse --parseopt --stop-at-non-option" did not stop at non option
19 - when --keep-dashdash was in effect.
20 -
21 - * An overlong line after ".gitdir: " in a git file caused out of bounds
22 - access to an array on the stack.
23 -
24 - * "git config --path conf.var" to attempt to expand a variable conf.var
25 - that uses "~/" short-hand segfaulted when $HOME environment variable
26 - was not set.
27 -
28 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.1.3.adoc mode 100644
@@ -1,10 +0,0 @@
1 - Git v1.7.1.3 Release Notes
2 - ==========================
3 -
4 - This is primarily to backport support for the new "add.ignoreErrors"
5 - name given to the existing "add.ignore-errors" configuration variable.
6 -
7 - The next version, Git 1.7.4, and future versions, will support both
8 - old and incorrect name and the new corrected name, but without this
9 - backport, users who want to use the new name "add.ignoreErrors" in
10 - their repositories cannot use older versions of Git.
deleted Documentation/RelNotes/1.7.1.4.adoc mode 100644
@@ -1,8 +0,0 @@
1 - Git v1.7.1.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.1.3
5 - --------------------
6 -
7 - * "gitweb" can sometimes be tricked into parrotting a filename argument
8 - given in a request without properly quoting.
deleted Documentation/RelNotes/1.7.1.adoc mode 100644
@@ -1,89 +0,0 @@
1 - Git v1.7.1 Release Notes
2 - ========================
3 -
4 - Updates since v1.7.0
5 - --------------------
6 -
7 - * Eric Raymond is the maintainer of updated CIAbot scripts, in contrib/.
8 -
9 - * gitk updates.
10 -
11 - * Some commands (e.g. svn and http interfaces) that interactively ask
12 - for a password can be told to use an external program given via
13 - GIT_ASKPASS.
14 -
15 - * Conflict markers that lead the common ancestor in diff3-style output
16 - now have a label, which hopefully would help third-party tools that
17 - expect one.
18 -
19 - * Comes with an updated bash-completion script.
20 -
21 - * "git am" learned "--keep-cr" option to handle inputs that are
22 - a mixture of changes to files with and without CRLF line endings.
23 -
24 - * "git cvsimport" learned -R option to leave revision mapping between
25 - CVS revisions and resulting git commits.
26 -
27 - * "git diff --submodule" notices and describes dirty submodules.
28 -
29 - * "git for-each-ref" learned %(symref), %(symref:short) and %(flag)
30 - tokens.
31 -
32 - * "git hash-object --stdin-paths" can take "--no-filters" option now.
33 -
34 - * "git init" can be told to look at init.templatedir configuration
35 - variable (obviously that has to come from either /etc/gitconfig or
36 - $HOME/.gitconfig).
37 -
38 - * "git grep" learned "--no-index" option, to search inside contents that
39 - are not managed by git.
40 -
41 - * "git grep" learned --color=auto/always/never.
42 -
43 - * "git grep" learned to paint filename and line-number in colors.
44 -
45 - * "git log -p --first-parent -m" shows one-parent diff for merge
46 - commits, instead of showing combined diff.
47 -
48 - * "git merge-file" learned to use custom conflict marker size and also
49 - to use the "union merge" behaviour.
50 -
51 - * "git notes" command has been rewritten in C and learned many commands
52 - and features to help you carry notes forward across rebases and amends.
53 -
54 - * "git request-pull" identifies the commit the request is relative to in
55 - a more readable way.
56 -
57 - * "git reset" learned "--keep" option that lets you discard commits
58 - near the tip while preserving your local changes in a way similar
59 - to how "git checkout branch" does.
60 -
61 - * "git status" notices and describes dirty submodules.
62 -
63 - * "git svn" should work better when interacting with repositories
64 - with CRLF line endings.
65 -
66 - * "git imap-send" learned to support CRAM-MD5 authentication.
67 -
68 - * "gitweb" installation procedure can use "minified" js/css files
69 - better.
70 -
71 - * Various documentation updates.
72 -
73 - Fixes since v1.7.0
74 - ------------------
75 -
76 - All of the fixes in v1.7.0.X maintenance series are included in this
77 - release, unless otherwise noted.
78 -
79 - * "git add frotz/nitfol" did not complain when the entire frotz/ directory
80 - was ignored.
81 -
82 - * "git diff --stat" used "int" to count the size of differences,
83 - which could result in overflowing.
84 -
85 - * "git rev-list --pretty=oneline" didn't terminate a record with LF for
86 - commits without any message.
87 -
88 - * "git rev-list --abbrev-commit" defaulted to 40-byte abbreviations, unlike
89 - newer tools in the git toolset.
deleted Documentation/RelNotes/1.7.10.1.adoc mode 100644
@@ -1,78 +0,0 @@
1 - Git v1.7.10.1 Release Notes
2 - ===========================
3 -
4 - Additions since v1.7.10
5 - -----------------------
6 -
7 - Localization message files for Danish and German have been added.
8 -
9 -
10 - Fixes since v1.7.10
11 - -------------------
12 -
13 - * "git add -p" is not designed to deal with unmerged paths but did
14 - not exclude them and tried to apply funny patches only to fail.
15 -
16 - * "git blame" started missing quite a few changes from the origin
17 - since we stopped using the diff minimization by default in v1.7.2
18 - era.
19 -
20 - * When PATH contains an unreadable directory, alias expansion code
21 - did not kick in, and failed with an error that said "git-subcmd"
22 - was not found.
23 -
24 - * "git clean -d -f" (not "-d -f -f") is supposed to protect nested
25 - working trees of independent git repositories that exist in the
26 - current project working tree from getting removed, but the
27 - protection applied only to such working trees that are at the
28 - top-level of the current project by mistake.
29 -
30 - * "git commit --author=$name" did not tell the name that was being
31 - recorded in the resulting commit to hooks, even though it does do
32 - so when the end user overrode the authorship via the
33 - "GIT_AUTHOR_NAME" environment variable.
34 -
35 - * When "git commit --template F" errors out because the user did not
36 - touch the message, it claimed that it aborts due to "empty
37 - message", which was utterly wrong.
38 -
39 - * The regexp configured with diff.wordregex was incorrectly reused
40 - across files.
41 -
42 - * An age-old corner case bug in combine diff (only triggered with -U0
43 - and the hunk at the beginning of the file needs to be shown) has
44 - been fixed.
45 -
46 - * Rename detection logic used to match two empty files as renames
47 - during merge-recursive, leading to unnatural mismerges.
48 -
49 - * The parser in "fast-import" did not diagnose ":9" style references
50 - that is not followed by required SP/LF as an error.
51 -
52 - * When "git fetch" encounters repositories with too many references,
53 - the command line of "fetch-pack" that is run by a helper
54 - e.g. remote-curl, may fail to hold all of them. Now such an
55 - internal invocation can feed the references through the standard
56 - input of "fetch-pack".
57 -
58 - * "git fetch" that recurses into submodules on demand did not check
59 - if it needs to go into submodules when non branches (most notably,
60 - tags) are fetched.
61 -
62 - * "log -p --graph" used with "--stat" had a few formatting error.
63 -
64 - * Running "notes merge --commit" failed to perform correctly when run
65 - from any directory inside $GIT_DIR/. When "notes merge" stops with
66 - conflicts, $GIT_DIR/NOTES_MERGE_WORKTREE is the place a user edits
67 - to resolve it.
68 -
69 - * The 'push to upstream' implementation was broken in some corner
70 - cases. "git push $there" without refspec, when the current branch
71 - is set to push to a remote different from $there, used to push to
72 - $there using the upstream information to a remote unrelated to
73 - $there.
74 -
75 - * Giving "--continue" to a conflicted "rebase -i" session skipped a
76 - commit that only results in changes to submodules.
77 -
78 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.10.2.adoc mode 100644
@@ -1,85 +0,0 @@
1 - Git v1.7.10.2 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.10.1
5 - ---------------------
6 -
7 - * The test scaffolding for git-daemon was flaky.
8 -
9 - * The test scaffolding for fast-import was flaky.
10 -
11 - * The filesystem boundary was not correctly reported when .git directory
12 - discovery stopped at a mount point.
13 -
14 - * HTTP transport that requires authentication did not work correctly when
15 - multiple connections are used simultaneously.
16 -
17 - * Minor memory leak during unpack_trees (hence "merge" and "checkout"
18 - to check out another branch) has been plugged.
19 -
20 - * In the older days, the header "Conflicts:" in "cherry-pick" and "merge"
21 - was separated by a blank line from the list of paths that follow for
22 - readability, but when "merge" was rewritten in C, we lost it by
23 - mistake. Remove the newline from "cherry-pick" to make them match
24 - again.
25 -
26 - * The command line parser choked "git cherry-pick $name" when $name can
27 - be both revision name and a pathname, even though $name can never be a
28 - path in the context of the command.
29 -
30 - * The "include.path" facility in the configuration mechanism added in
31 - 1.7.10 forgot to interpret "~/path" and "~user/path" as it should.
32 -
33 - * "git config --rename-section" to rename an existing section into a
34 - bogus one did not check the new name.
35 -
36 - * The "diff --no-index" codepath used limited-length buffers, risking
37 - pathnames getting truncated. Update it to use the strbuf API.
38 -
39 - * The report from "git fetch" said "new branch" even for a non branch
40 - ref.
41 -
42 - * The http-backend (the server side of the smart http transfer) used
43 - to overwrite GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL with the
44 - value obtained from REMOTE_USER unconditionally, making it
45 - impossible for the server side site-specific customization to use
46 - different identity sources to affect the names logged. It now uses
47 - REMOTE_USER only as a fallback value.
48 -
49 - * "log --graph" was not very friendly with "--stat" option and its
50 - output had line breaks at wrong places.
51 -
52 - * Octopus merge strategy did not reduce heads that are recorded in the
53 - final commit correctly.
54 -
55 - * "git push" over smart-http lost progress output a few releases ago;
56 - this release resurrects it.
57 -
58 - * The error and advice messages given by "git push" when it fails due
59 - to non-ff were not very helpful to new users; it has been broken
60 - into three cases, and each is given a separate advice message.
61 -
62 - * The insn sheet given by "rebase -i" did not make it clear that the
63 - insn lines can be re-ordered to affect the order of the commits in
64 - the resulting history.
65 -
66 - * "git repack" used to write out unreachable objects as loose objects
67 - when repacking, even if such loose objects will immediately pruned
68 - due to its age.
69 -
70 - * A contrib script "rerere-train" did not work out of the box unless
71 - user futzed with her $PATH.
72 -
73 - * "git rev-parse --show-prefix" used to emit nothing when run at the
74 - top-level of the working tree, but now it gives a blank line.
75 -
76 - * The i18n of error message "git stash save" was not properly done.
77 -
78 - * "git submodule" used a sed script that some platforms mishandled.
79 -
80 - * When using a Perl script on a system where "perl" found on user's
81 - $PATH could be ancient or otherwise broken, we allow builders to
82 - specify the path to a good copy of Perl with $PERL_PATH. The
83 - gitweb test forgot to use that Perl when running its test.
84 -
85 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.10.3.adoc mode 100644
@@ -1,43 +0,0 @@
1 - Git v1.7.10.3 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.10.2
5 - ---------------------
6 -
7 - * The message file for German translation has been updated a bit.
8 -
9 - * Running "git checkout" on an unborn branch used to corrupt HEAD.
10 -
11 - * When checking out another commit from an already detached state, we
12 - used to report all commits that are not reachable from any of the
13 - refs as lossage, but some of them might be reachable from the new
14 - HEAD, and there is no need to warn about them.
15 -
16 - * Some time ago, "git clone" lost the progress output for its
17 - "checkout" phase; when run without any "--quiet" option, it should
18 - give progress to the lengthy operation.
19 -
20 - * The directory path used in "git diff --no-index", when it recurses
21 - down, was broken with a recent update after v1.7.10.1 release.
22 -
23 - * "log -z --pretty=tformat:..." did not terminate each record with
24 - NUL. The fix is not entirely correct when the output also asks for
25 - --patch and/or --stat, though.
26 -
27 - * The DWIM behaviour for "log --pretty=format:%gd -g" was somewhat
28 - broken and gave undue precedence to configured log.date, causing
29 - "git stash list" to show "stash@{time stamp string}".
30 -
31 - * "git status --porcelain" ignored "--branch" option by mistake. The
32 - output for "git status --branch -z" was also incorrect and did not
33 - terminate the record for the current branch name with NUL as asked.
34 -
35 - * When a submodule repository uses alternate object store mechanism,
36 - some commands that were started from the superproject did not
37 - notice it and failed with "No such object" errors. The subcommands
38 - of "git submodule" command that recursed into the submodule in a
39 - separate process were OK; only the ones that cheated and peeked
40 - directly into the submodule's repository from the primary process
41 - were affected.
42 -
43 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.10.4.adoc mode 100644
@@ -1,29 +0,0 @@
1 - Git v1.7.10.4 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.10.3
5 - ---------------------
6 -
7 - * The message file for Swedish translation has been updated a bit.
8 -
9 - * A name taken from mailmap was copied into an internal buffer
10 - incorrectly and could overrun the buffer if it is too long.
11 -
12 - * A malformed commit object that has a header line chomped in the
13 - middle could kill git with a NULL pointer dereference.
14 -
15 - * An author/committer name that is a single character was mishandled
16 - as an invalid name by mistake.
17 -
18 - * The progress indicator for a large "git checkout" was sent to
19 - stderr even if it is not a terminal.
20 -
21 - * "git grep -e '$pattern'", unlike the case where the patterns are
22 - read from a file, did not treat individual lines in the given
23 - pattern argument as separate regular expressions as it should.
24 -
25 - * When "git rebase" was given a bad commit to replay the history on,
26 - its error message did not correctly give the command line argument
27 - it had trouble parsing.
28 -
29 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.10.5.adoc mode 100644
@@ -1,12 +0,0 @@
1 - Git v1.7.10.5 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.10.4
5 - ---------------------
6 -
7 - * "git fast-export" did not give a readable error message when the
8 - same mark erroneously appeared twice in the --import-marks input.
9 -
10 - * "git rebase -p" used to pay attention to rebase.autosquash which
11 - was wrong. "git rebase -p -i" should, but "git rebase -p" by
12 - itself should not.
deleted Documentation/RelNotes/1.7.10.adoc mode 100644
@@ -1,219 +0,0 @@
1 - Git v1.7.10 Release Notes
2 - =========================
3 -
4 - Compatibility Notes
5 - -------------------
6 -
7 - * From this release on, the "git merge" command in an interactive
8 - session will start an editor when it automatically resolves the
9 - merge for the user to explain the resulting commit, just like the
10 - "git commit" command does when it wasn't given a commit message.
11 -
12 - If you have a script that runs "git merge" and keeps its standard
13 - input and output attached to the user's terminal, and if you do not
14 - want the user to explain the resulting merge commits, you can
15 - export GIT_MERGE_AUTOEDIT environment variable set to "no", like
16 - this:
17 -
18 - #!/bin/sh
19 - GIT_MERGE_AUTOEDIT=no
20 - export GIT_MERGE_AUTOEDIT
21 -
22 - to disable this behavior (if you want your users to explain their
23 - merge commits, you do not have to do anything). Alternatively, you
24 - can give the "--no-edit" option to individual invocations of the
25 - "git merge" command if you know everybody who uses your script has
26 - Git v1.7.8 or newer.
27 -
28 - * The "--binary/-b" options to "git am" have been a no-op for quite a
29 - while and were deprecated in mid 2008 (v1.6.0). When you give these
30 - options to "git am", it will now warn and ask you not to use them.
31 -
32 - * When you do not tell which branches and tags to push to the "git
33 - push" command in any way, the command used "matching refs" rule to
34 - update remote branches and tags with branches and tags with the
35 - same name you locally have. In future versions of Git, this will
36 - change to push out only your current branch according to either the
37 - "upstream" or the "current" rule. Although "upstream" may be more
38 - powerful once the user understands Git better, the semantics
39 - "current" gives is simpler and easier to understand for beginners
40 - and may be a safer and better default option. We haven't decided
41 - yet which one to switch to.
42 -
43 -
44 - Updates since v1.7.9
45 - --------------------
46 -
47 - UI, Workflows & Features
48 -
49 - * various "gitk" updates.
50 - - show the path to the top level directory in the window title
51 - - update preference edit dialog
52 - - display file list correctly when directories are given on command line
53 - - make "git-describe" output in the log message into a clickable link
54 - - avoid matching the UNIX timestamp part when searching all fields
55 - - give preference to symbolic font names like sans & monospace
56 - - allow comparing two commits using a mark
57 - - "gitk" honors log.showroot configuration.
58 -
59 - * Teams for localizing the messages from the Porcelain layer of
60 - commands are starting to form, thanks to Jiang Xin who volunteered
61 - to be the localization coordinator. Translated messages for
62 - simplified Chinese, Swedish and Portuguese are available.
63 -
64 - * The configuration mechanism learned an "include" facility; an
65 - assignment to the include.path pseudo-variable causes the named
66 - file to be included in-place when Git looks up configuration
67 - variables.
68 -
69 - * A content filter (clean/smudge) used to be just a way to make the
70 - recorded contents "more useful", and allowed to fail; a filter can
71 - now optionally be marked as "required".
72 -
73 - * Options whose names begin with "--no-" (e.g. the "--no-verify"
74 - option of the "git commit" command) can be negated by omitting
75 - "no-" from its name, e.g. "git commit --verify".
76 -
77 - * "git am" learned to pass "-b" option to underlying "git mailinfo", so
78 - that a bracketed string other than "PATCH" at the beginning can be kept.
79 -
80 - * "git clone" learned "--single-branch" option to limit cloning to a
81 - single branch (surprise!); tags that do not point into the history
82 - of the branch are not fetched.
83 -
84 - * "git clone" learned to detach the HEAD in the resulting repository
85 - when the user specifies a tag with "--branch" (e.g., "--branch=v1.0").
86 - Clone also learned to print the usual "detached HEAD" advice in such
87 - a case, similar to "git checkout v1.0".
88 -
89 - * When showing a patch while ignoring whitespace changes, the context
90 - lines are taken from the postimage, in order to make it easier to
91 - view the output.
92 -
93 - * "git diff --stat" learned to adjust the width of the output on
94 - wider terminals, and give more columns to pathnames as needed.
95 -
96 - * "diff-highlight" filter (in contrib/) was updated to produce more
97 - aesthetically pleasing output.
98 -
99 - * "fsck" learned "--no-dangling" option to omit dangling object
100 - information.
101 -
102 - * "git log -G" and "git log -S" learned to pay attention to the "-i"
103 - option. With "-i", "log -G" ignores the case when finding patch
104 - hunks that introduce or remove a string that matches the given
105 - pattern. Similarly with "-i", "log -S" ignores the case when
106 - finding the commit the given block of text appears or disappears
107 - from the file.
108 -
109 - * "git merge" in an interactive session learned to spawn the editor
110 - by default to let the user edit the auto-generated merge message,
111 - to encourage people to explain their merges better. Legacy scripts
112 - can export GIT_MERGE_AUTOEDIT=no to retain the historical behavior.
113 - Both "git merge" and "git pull" can be given --no-edit from the
114 - command line to accept the auto-generated merge message.
115 -
116 - * The advice message given when the user didn't give enough clue on
117 - what to merge to "git pull" and "git merge" has been updated to
118 - be more concise and easier to understand.
119 -
120 - * "git push" learned the "--prune" option, similar to "git fetch".
121 -
122 - * The whole directory that houses a top-level superproject managed by
123 - "git submodule" can be moved to another place.
124 -
125 - * "git symbolic-ref" learned the "--short" option to abbreviate the
126 - refname it shows unambiguously.
127 -
128 - * "git tag --list" can be given "--points-at <object>" to limit its
129 - output to those that point at the given object.
130 -
131 - * "gitweb" allows intermediate entries in the directory hierarchy
132 - that leads to a project to be clicked, which in turn shows the
133 - list of projects inside that directory.
134 -
135 - * "gitweb" learned to read various pieces of information for the
136 - repositories lazily, instead of reading everything that could be
137 - needed (including the ones that are not necessary for a specific
138 - task).
139 -
140 - * Project search in "gitweb" shows the substring that matched in the
141 - project name and description highlighted.
142 -
143 - * HTTP transport learned to authenticate with a proxy if needed.
144 -
145 - * A new script "diffall" is added to contrib/; it drives an
146 - external tool to perform a directory diff of two Git revisions
147 - in one go, unlike "difftool" that compares one file at a time.
148 -
149 - Foreign Interface
150 -
151 - * Improved handling of views, labels and branches in "git-p4" (in contrib).
152 -
153 - * "git-p4" (in contrib) suffered from unnecessary merge conflicts when
154 - p4 expanded the embedded $RCS$-like keywords; it can be now told to
155 - unexpand them.
156 -
157 - * Some "git-svn" updates.
158 -
159 - * "vcs-svn"/"svn-fe" learned to read dumps with svn-deltas and
160 - support incremental imports.
161 -
162 - * "git difftool/mergetool" learned to drive DeltaWalker.
163 -
164 - Performance
165 -
166 - * Unnecessary calls to parse_object() "git upload-pack" makes in
167 - response to "git fetch", have been eliminated, to help performance
168 - in repositories with excessive number of refs.
169 -
170 - Internal Implementation (please report possible regressions)
171 -
172 - * Recursive call chains in "git index-pack" to deal with long delta
173 - chains have been flattened, to reduce the stack footprint.
174 -
175 - * Use of add_extra_ref() API is now gone, to make it possible to
176 - cleanly restructure the overall refs API.
177 -
178 - * The command line parser of "git pack-objects" now uses parse-options
179 - API.
180 -
181 - * The test suite supports the new "test_pause" helper function.
182 -
183 - * Parallel to the test suite, there is a beginning of performance
184 - benchmarking framework.
185 -
186 - * t/Makefile is adjusted to prevent newer versions of GNU make from
187 - running tests in seemingly random order.
188 -
189 - * The code to check if a path points at a file beyond a symbolic link
190 - has been restructured to be thread-safe.
191 -
192 - * When pruning directories that has become empty during "git prune"
193 - and "git prune-packed", call closedir() that iterates over a
194 - directory before rmdir() it.
195 -
196 - Also contains minor documentation updates and code clean-ups.
197 -
198 -
199 - Fixes since v1.7.9
200 - ------------------
201 -
202 - Unless otherwise noted, all the fixes since v1.7.9 in the maintenance
203 - releases are contained in this release (see release notes to them for
204 - details).
205 -
206 - * Build with NO_PERL_MAKEMAKER was broken and Git::I18N did not work
207 - with versions of Perl older than 5.8.3.
208 - (merge 5eb660e ab/perl-i18n later to maint).
209 -
210 - * "git tag -s" honored "gpg.program" configuration variable since
211 - 1.7.9, but "git tag -v" and "git verify-tag" didn't.
212 - (merge a2c2506 az/verify-tag-use-gpg-config later to maint).
213 -
214 - * "configure" script learned to take "--with-sane-tool-path" from the
215 - command line to record SANE_TOOL_PATH (used to avoid broken platform
216 - tools in /usr/bin) in config.mak.autogen. This may be useful for
217 - people on Solaris who have saner tools outside /usr/xpg[46]/bin.
218 -
219 - * zsh port of bash completion script needed another workaround.
deleted Documentation/RelNotes/1.7.11.1.adoc mode 100644
@@ -1,9 +0,0 @@
1 - Git v1.7.11.1 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.11
5 - -------------------
6 -
7 - * The cross links in the HTML version of manual pages were broken.
8 -
9 - Also contains minor typofixes and documentation updates.
deleted Documentation/RelNotes/1.7.11.2.adoc mode 100644
@@ -1,53 +0,0 @@
1 - Git v1.7.11.2 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.11.1
5 - ---------------------
6 -
7 - * On Cygwin, the platform pread(2) is not thread safe, just like our
8 - own compat/ emulation, and cannot be used in the index-pack
9 - program. Makefile variable NO_THREAD_SAFE_PREAD can be defined to
10 - avoid use of this function in a threaded program.
11 -
12 - * "git add" allows adding a regular file to the path where a
13 - submodule used to exist, but "git update-index" does not allow an
14 - equivalent operation to Porcelain writers.
15 -
16 - * "git archive" incorrectly computed the header checksum; the symptom
17 - was observed only when using pathnames with hi-bit set.
18 -
19 - * "git blame" did not try to make sure that the abbreviated commit
20 - object names in its output are unique.
21 -
22 - * Running "git bundle verify" on a bundle that records a complete
23 - history said "it requires these 0 commits".
24 -
25 - * "git clone --single-branch" to clone a single branch did not limit
26 - the cloning to the specified branch.
27 -
28 - * "git diff --no-index" did not correctly handle relative paths and
29 - did not correctly give exit codes when run under "--quiet" option.
30 -
31 - * "git diff --no-index" did not work with pagers correctly.
32 -
33 - * "git diff COPYING HEAD:COPYING" gave a nonsense error message that
34 - claimed that the tree-ish HEAD did not have COPYING in it.
35 -
36 - * When "git log" gets "--simplify-merges/by-decoration" together with
37 - "--first-parent", the combination of these options makes the
38 - simplification logic to use in-core commit objects that haven't
39 - been examined for relevance, either producing incorrect result or
40 - taking too long to produce any output. Teach the simplification
41 - logic to ignore commits that the first-parent traversal logic
42 - ignored when both are in effect to work around the issue.
43 -
44 - * "git ls-files --exclude=t -i" did not consider anything under t/ as
45 - excluded, as it did not pay attention to exclusion of leading paths
46 - while walking the index. Other two users of excluded() are also
47 - updated.
48 -
49 - * "git request-pull $url dev" when the tip of "dev" branch was tagged
50 - with "ext4-for-linus" used the contents from the tag in the output
51 - but still asked the "dev" branch to be pulled, not the tag.
52 -
53 - Also contains minor typofixes and documentation updates.
deleted Documentation/RelNotes/1.7.11.3.adoc mode 100644
@@ -1,53 +0,0 @@
1 - Git v1.7.11.3 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.11.3
5 - ---------------------
6 -
7 - * The error message from "git push $there :bogo" (and its equivalent
8 - "git push $there --delete bogo") mentioned that we tried and failed
9 - to guess what ref is being deleted based on the LHS of the refspec,
10 - which we don't.
11 -
12 - * A handful of files and directories we create had tighter than
13 - necessary permission bits when the user wanted to have group
14 - writability (e.g. by setting "umask 002").
15 -
16 - * "commit --amend" used to refuse amending a commit with an empty log
17 - message, with or without "--allow-empty-message".
18 -
19 - * "git commit --amend --only --" was meant to allow "Clever" people to
20 - rewrite the commit message without making any change even when they
21 - have already changes for the next commit added to their index, but
22 - it never worked as advertised since it was introduced in 1.3.0 era.
23 -
24 - * Even though the index can record pathnames longer than 1<<12 bytes,
25 - in some places we were not comparing them in full, potentially
26 - replacing index entries instead of adding.
27 -
28 - * "git show"'s auto-walking behaviour was an unreliable and
29 - unpredictable hack; it now behaves just like "git log" does when it
30 - walks.
31 -
32 - * "git diff", "git status" and anything that internally uses the
33 - comparison machinery was utterly broken when the difference
34 - involved a file with "-" as its name. This was due to the way "git
35 - diff --no-index" was incorrectly bolted on to the system, making
36 - any comparison that involves a file "-" at the root level
37 - incorrectly read from the standard input.
38 -
39 - * We did not have test to make sure "git rebase" without extra options
40 - filters out an empty commit in the original history.
41 -
42 - * "git fast-export" produced an input stream for fast-import without
43 - properly quoting pathnames when they contain SPs in them.
44 -
45 - * "git checkout --detach", when you are still on an unborn branch,
46 - should be forbidden, but it wasn't.
47 -
48 - * Some implementations of Perl terminates "lines" with CRLF even when
49 - the script is operating on just a sequence of bytes. Make sure to
50 - use "$PERL_PATH", the version of Perl the user told Git to use, in
51 - our tests to avoid unnecessary breakages in tests.
52 -
53 - Also contains minor typofixes and documentation updates.
deleted Documentation/RelNotes/1.7.11.4.adoc mode 100644
@@ -1,31 +0,0 @@
1 - Git v1.7.11.4 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.11.3
5 - ---------------------
6 -
7 - * "$GIT_DIR/COMMIT_EDITMSG" file that is used to hold the commit log
8 - message user edits was not documented.
9 -
10 - * The advise() function did not use varargs correctly to format
11 - its message.
12 -
13 - * When "git am" failed, old timers knew to check .git/rebase-apply/patch
14 - to see what went wrong, but we never told the users about it.
15 -
16 - * "git commit-tree" learned a more natural "-p <parent> <tree>" order
17 - of arguments long time ago, but recently forgot it by mistake.
18 -
19 - * "git diff --no-ext-diff" did not output anything for a typechange
20 - filepair when GIT_EXTERNAL_DIFF is in effect.
21 -
22 - * In 1.7.9 era, we taught "git rebase" about the raw timestamp format
23 - but we did not teach the same trick to "filter-branch", which rolled
24 - a similar logic on its own.
25 -
26 - * When "git submodule add" clones a submodule repository, it can get
27 - confused where to store the resulting submodule repository in the
28 - superproject's .git/ directory when there is a symbolic link in the
29 - path to the current directory.
30 -
31 - Also contains minor typofixes and documentation updates.
deleted Documentation/RelNotes/1.7.11.5.adoc mode 100644
@@ -1,36 +0,0 @@
1 - Git v1.7.11.5 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.11.4
5 - ---------------------
6 -
7 - * The Makefile rule to create assembly output (primarily for
8 - debugging purposes) did not create it next to the source.
9 -
10 - * The code to avoid mistaken attempt to add the object directory
11 - itself as its own alternate could read beyond end of a string while
12 - comparison.
13 -
14 - * On some architectures, "block-sha1" did not compile correctly
15 - when compilers inferred alignment guarantees from our source we
16 - did not intend to make.
17 -
18 - * When talking to a remote running ssh on IPv6 enabled host, whose
19 - address is spelled as "[HOST]:PORT", we did not parse the address
20 - correctly and failed to connect.
21 -
22 - * git-blame.el (in compat/) have been updated to use Elisp more
23 - correctly.
24 -
25 - * "git checkout <branchname>" to come back from a detached HEAD state
26 - incorrectly computed reachability of the detached HEAD, resulting
27 - in unnecessary warnings.
28 -
29 - * "git mergetool" did not support --tool-help option to give the list
30 - of supported backends, like "git difftool" does.
31 -
32 - * "git grep" stopped spawning an external "grep" long time ago, but a
33 - duplicated test to check internal and external "grep" was left
34 - behind.
35 -
36 - Also contains minor typofixes and documentation updates.
deleted Documentation/RelNotes/1.7.11.6.adoc mode 100644
@@ -1,84 +0,0 @@
1 - Git v1.7.11.6 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.11.5
5 - ---------------------
6 -
7 - * "ciabot" script (in contrib/) has been updated with extensive
8 - documentation.
9 -
10 - * "git foo" errored out with "Not a directory" when the user had a
11 - non-directory on $PATH, and worse yet it masked an alias "foo" from
12 - running.
13 -
14 - * When the user exports a non-default IFS without HT, scripts that
15 - rely on being able to parse "ls-files -s | while read a b c..."
16 - started to fail. Protect them from such a misconfiguration.
17 -
18 - * When the user gives an argument that can be taken as both a
19 - revision name and a pathname without disambiguating with "--", we
20 - used to give a help message "Use '--' to separate". The message
21 - has been clarified to show where that '--' goes on the command
22 - line.
23 -
24 - * Documentation for the configuration file format had a confusing
25 - example.
26 -
27 - * Older parts of the documentation described as if having a regular
28 - file in .git/refs/ hierarchy were the only way to have branches and
29 - tags, which is not true for quite some time.
30 -
31 - * It was generally understood that "--long-option"s to many of our
32 - subcommands can be abbreviated to the unique prefix, but it was not
33 - easy to find it described for new readers of the documentation set.
34 -
35 - * The "--topo-order", "--date-order" (and the lack of either means
36 - the default order) options to "rev-list" and "log" family of
37 - commands were poorly described in the documentation.
38 -
39 - * "git commit --amend" let the user edit the log message and then
40 - died when the human-readable committer name was given
41 - insufficiently by getpwent(3).
42 -
43 - * The exit status code from "git config" was way overspecified while
44 - being incorrect. The implementation has been updated to give the
45 - documented status for a case that was documented, and introduce a
46 - new code for "all other errors".
47 -
48 - * The output from "git diff -B" for a file that ends with an
49 - incomplete line did not put "\ No newline..." on a line of its own.
50 -
51 - * "git diff" had a confusion between taking data from a path in the
52 - working tree and taking data from an object that happens to have
53 - name 0{40} recorded in a tree.
54 -
55 - * The "--rebase" option to "git pull" can be abbreviated to "-r",
56 - but we didn't document it.
57 -
58 - * When "git push" triggered the automatic gc on the receiving end, a
59 - message from "git prune" that said it was removing cruft leaked to
60 - the standard output, breaking the communication protocol.
61 -
62 - * The reflog entries left by "git rebase" and "git rebase -i" were
63 - inconsistent (the interactive one gave an abbreviated object name).
64 -
65 - * "git send-email" did not unquote encoded words that appear on the
66 - header correctly, and lost "_" from strings.
67 -
68 - * "git stash apply/pop" did not trigger "rerere" upon conflicts
69 - unlike other mergy operations.
70 -
71 - * "git submodule <cmd> path" did not error out when the path to the
72 - submodule was misspelt.
73 -
74 - * "git submodule update -f" did not update paths in the working tree
75 - that has local changes.
76 - (merge 01d4721 sz/submodule-force-update later to maint).
77 -
78 - * "gitweb" when used with PATH_INFO failed to notice directories with
79 - SP (and other characters that need URL-style quoting) in them.
80 -
81 - * Fallback 'getpass' implementation made unportable use of stdio API.
82 -
83 - * A utility shell function test_seq has been added as a replacement
84 - for the 'seq' utility found on some platforms.
deleted Documentation/RelNotes/1.7.11.7.adoc mode 100644
@@ -1,46 +0,0 @@
1 - Git v1.7.11.7 Release Notes
2 - ===========================
3 -
4 - Fixes since v1.7.11.6
5 - ---------------------
6 -
7 - * The synopsis said "checkout [-B branch]" to make it clear the
8 - branch name is a parameter to the option, but the heading for the
9 - option description was "-B::", not "-B branch::", making the
10 - documentation misleading.
11 -
12 - * Git ships with a fall-back regexp implementation for platforms with
13 - buggy regexp library, but it was easy for people to keep using their
14 - platform regexp. A new test has been added to check this.
15 -
16 - * "git apply -p0" did not parse pathnames on "diff --git" line
17 - correctly. This caused patches that had pathnames in no other
18 - places to be mistakenly rejected (most notably, binary patch that
19 - does not rename nor change mode). Textual patches, renames or mode
20 - changes have preimage and postimage pathnames in different places
21 - in a form that can be parsed unambiguously and did not suffer from
22 - this problem.
23 -
24 - * After "gitk" showed the contents of a tag, neither "Reread
25 - references" nor "Reload" did not update what is shown as the
26 - contents of it, when the user overwrote the tag with "git tag -f".
27 -
28 - * "git for-each-ref" did not correctly support more than one --sort
29 - option.
30 -
31 - * "git log .." errored out saying it is both rev range and a path
32 - when there is no disambiguating "--" is on the command line.
33 - Update the command line parser to interpret ".." as a path in such
34 - a case.
35 -
36 - * Pushing to smart HTTP server with recent Git fails without having
37 - the username in the URL to force authentication, if the server is
38 - configured to allow GET anonymously, while requiring authentication
39 - for POST.
40 -
41 - * "git show --format='%ci'" did not give timestamp correctly for
42 - commits created without human readable name on "committer" line.
43 - (merge e27ddb6 jc/maint-ident-missing-human-name later to maint).
44 -
45 - * "git show --quiet" ought to be a synonym for "git show -s", but
46 - wasn't.
deleted Documentation/RelNotes/1.7.11.adoc mode 100644
@@ -1,139 +0,0 @@
1 - Git v1.7.11 Release Notes
2 - =========================
3 -
4 - Updates since v1.7.10
5 - ---------------------
6 -
7 - UI, Workflows & Features
8 -
9 - * A new mode for push, "simple", which is a cross between "current"
10 - and "upstream", has been introduced. "git push" without any refspec
11 - will push the current branch out to the same name at the remote
12 - repository only when it is set to track the branch with the same
13 - name over there. The plan is to make this mode the new default
14 - value when push.default is not configured.
15 -
16 - * A couple of commands learned the "--column" option to produce
17 - columnar output.
18 -
19 - * A third-party tool "git subtree" is distributed in contrib/
20 -
21 - * A remote helper that acts as a proxy and caches ssl session for the
22 - https:// transport is added to the contrib/ area.
23 -
24 - * Error messages given when @{u} is used for a branch without its
25 - upstream configured have been clarified.
26 -
27 - * Even with the "-q"uiet option, "checkout" used to report setting up
28 - tracking. Also "branch" learned the "-q"uiet option to squelch
29 - informational message.
30 -
31 - * Your build platform may support hardlinks but you may prefer not to
32 - use them, e.g. when installing to DESTDIR to make a tarball and
33 - untarring on a filesystem that has poor support for hardlinks.
34 - There is a Makefile option NO_INSTALL_HARDLINKS for you.
35 -
36 - * The smart-http backend used to always override GIT_COMMITTER_*
37 - variables with REMOTE_USER and REMOTE_ADDR, but these variables are
38 - now preserved when set.
39 -
40 - * "git am" learned the "--include" option, which is an opposite of
41 - existing the "--exclude" option.
42 -
43 - * When "git am -3" needs to fall back to an application of the patch
44 - to a synthesized preimage followed by a 3-way merge, the paths that
45 - needed such treatment are now reported to the end user, so that the
46 - result in them can be eyeballed with extra care.
47 -
48 - * The output from "diff/log --stat" used to always allocate 4 columns
49 - to show the number of modified lines, but not anymore.
50 -
51 - * "git difftool" learned the "--dir-diff" option to spawn external
52 - diff tools that can compare two directory hierarchies at a time
53 - after populating two temporary directories, instead of running an
54 - instance of the external tool once per a file pair.
55 -
56 - * The "fmt-merge-msg" command learned to list the primary contributors
57 - involved in the side topic you are merging in a comment in the merge
58 - commit template.
59 -
60 - * "git rebase" learned to optionally keep commits that do not
61 - introduce any change in the original history.
62 -
63 - * "git push --recurse-submodules" learned to optionally look into the
64 - histories of submodules bound to the superproject and push them
65 - out.
66 -
67 - * A 'snapshot' request to "gitweb" honors If-Modified-Since: header,
68 - based on the commit date.
69 -
70 - * "gitweb" learned to highlight the patch it outputs even more.
71 -
72 - Foreign Interface
73 -
74 - * "git svn" used to die with unwanted SIGPIPE when talking with an HTTP
75 - server that uses keep-alive.
76 -
77 - * "git svn" learned to use platform specific authentication
78 - providers, e.g. gnome-keyring, kwallet, etc.
79 -
80 - * "git p4" has been moved out of the contrib/ area and has seen more
81 - work on importing labels as tags from (and exporting tags as labels
82 - to) p4.
83 -
84 - Performance and Internal Implementation (please report possible regressions)
85 -
86 - * Bash completion script (in contrib/) have been cleaned up to make
87 - future work on it simpler.
88 -
89 - * An experimental "version 4" format of the index file has been
90 - introduced to reduce on-disk footprint and I/O overhead.
91 -
92 - * "git archive" learned to produce its output without reading the
93 - blob object it writes out in memory in its entirety.
94 -
95 - * "git index-pack" that runs when fetching or pushing objects to
96 - complete the packfile on the receiving end learned to use multiple
97 - threads to do its job when available.
98 -
99 - * The code to compute hash values for lines used by the internal diff
100 - engine was optimized on little-endian machines, using the same
101 - trick the kernel folks came up with.
102 -
103 - * "git apply" had some memory leaks plugged.
104 -
105 - * Setting up a revision traversal with many starting points was
106 - inefficient as these were placed in a date-order priority queue
107 - one-by-one. Now they are collected in the queue unordered first,
108 - and sorted immediately before getting used.
109 -
110 - * More lower-level commands learned to use the streaming API to read
111 - from the object store without keeping everything in core.
112 -
113 - * The weighting parameters to suggestion command name typo have been
114 - tweaked, so that "git tags" will suggest "tag?" and not "stage?".
115 -
116 - * Because "sh" on the user's PATH may be utterly broken on some
117 - systems, run-command API now uses SHELL_PATH, not /bin/sh, when
118 - spawning an external command (not applicable to Windows port).
119 -
120 - * The API to iterate over the refs/ hierarchy has been tweaked to
121 - allow walking only a subset of it more efficiently.
122 -
123 - Also contains minor documentation updates and code clean-ups.
124 -
125 -
126 - Fixes since v1.7.10
127 - -------------------
128 -
129 - Unless otherwise noted, all the fixes since v1.7.10 in the maintenance
130 - releases are contained in this release (see release notes to them for
131 - details).
132 -
133 - * "git submodule init" used to report "registered for path ..."
134 - even for submodules that were registered earlier.
135 - (cherry-pick c1c259e jl/submodule-report-new-path-once later to maint).
136 -
137 - * "git diff --stat" used to fully count a binary file with modified
138 - execution bits whose contents is unmodified, which was not quite
139 - right.
deleted Documentation/RelNotes/1.7.12.1.adoc mode 100644
@@ -1,134 +0,0 @@
1 - Git 1.7.12.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.12
5 - -------------------
6 -
7 - * "git apply -p0" did not parse pathnames on "diff --git" line
8 - correctly. This caused patches that had pathnames in no other
9 - places to be mistakenly rejected (most notably, binary patch that
10 - does not rename nor change mode). Textual patches, renames or mode
11 - changes have preimage and postimage pathnames in different places
12 - in a form that can be parsed unambiguously and did not suffer from
13 - this problem.
14 -
15 - * "git cherry-pick A C B" used to replay changes in A and then B and
16 - then C if these three commits had committer timestamps in that
17 - order, which is not what the user who said "A C B" naturally
18 - expects.
19 -
20 - * "git commit --amend" let the user edit the log message and then
21 - died when the human-readable committer name was given
22 - insufficiently by getpwent(3).
23 -
24 - * Some capabilities were asked by fetch-pack even when upload-pack
25 - did not advertise that they are available. fetch-pack has been
26 - fixed not to do so.
27 -
28 - * "git diff" had a confusion between taking data from a path in the
29 - working tree and taking data from an object that happens to have
30 - name 0{40} recorded in a tree.
31 -
32 - * "git for-each-ref" did not correctly support more than one --sort
33 - option.
34 -
35 - * "git log .." errored out saying it is both rev range and a path
36 - when there is no disambiguating "--" is on the command line.
37 - Update the command line parser to interpret ".." as a path in such
38 - a case.
39 -
40 - * The "--topo-order", "--date-order" (and the lack of either means
41 - the default order) options to "rev-list" and "log" family of
42 - commands were poorly described in the documentation.
43 -
44 - * "git prune" without "-v" used to warn about leftover temporary
45 - files (which is an indication of an earlier aborted operation).
46 -
47 - * Pushing to smart HTTP server with recent Git fails without having
48 - the username in the URL to force authentication, if the server is
49 - configured to allow GET anonymously, while requiring authentication
50 - for POST.
51 -
52 - * The reflog entries left by "git rebase" and "git rebase -i" were
53 - inconsistent (the interactive one gave an abbreviated object name).
54 -
55 - * When "git push" triggered the automatic gc on the receiving end, a
56 - message from "git prune" that said it was removing cruft leaked to
57 - the standard output, breaking the communication protocol.
58 -
59 - * "git show --quiet" ought to be a synonym for "git show -s", but
60 - wasn't.
61 -
62 - * "git show --format='%ci'" did not give timestamp correctly for
63 - commits created without human readable name on "committer" line.
64 -
65 - * "git send-email" did not unquote encoded words that appear on the
66 - header correctly, and lost "_" from strings.
67 -
68 - * The interactive prompt "git send-email" gives was error prone. It
69 - asked "What e-mail address do you want to use?" with the address it
70 - guessed (correctly) the user would want to use in its prompt,
71 - tempting the user to say "y". But the response was taken as "No,
72 - please use 'y' as the e-mail address instead", which is most
73 - certainly not what the user meant.
74 -
75 - * "gitweb" when used with PATH_INFO failed to notice directories with
76 - SP (and other characters that need URL-style quoting) in them.
77 -
78 - * When the user gives an argument that can be taken as both a
79 - revision name and a pathname without disambiguating with "--", we
80 - used to give a help message "Use '--' to separate". The message
81 - has been clarified to show where that '--' goes on the command
82 - line.
83 -
84 - * When the user exports a non-default IFS without HT, scripts that
85 - rely on being able to parse "ls-files -s | while read a b c..."
86 - started to fail. Protect them from such a misconfiguration.
87 -
88 - * The attribute system may be asked for a path that itself or its
89 - leading directories no longer exists in the working tree, and it is
90 - fine if we cannot open .gitattribute file in such a case. Failure
91 - to open per-directory .gitattributes with error status other than
92 - ENOENT and ENOTDIR should be diagnosed, but it wasn't.
93 -
94 - * After "gitk" showed the contents of a tag, neither "Reread
95 - references" nor "Reload" did not update what is shown as the
96 - contents of it, when the user overwrote the tag with "git tag -f".
97 -
98 - * "ciabot" script (in contrib/) has been updated with extensive
99 - documentation.
100 -
101 - * "git-jump" script (in contrib/) did not work well when
102 - diff.noprefix or diff.mnemonicprefix is in effect.
103 -
104 - * Older parts of the documentation described as if having a regular
105 - file in .git/refs/ hierarchy were the only way to have branches and
106 - tags, which is not true for quite some time.
107 -
108 - * A utility shell function test_seq has been added as a replacement
109 - for the 'seq' utility found on some platforms.
110 -
111 - * Compatibility wrapper to learn the maximum number of file
112 - descriptors we can open around sysconf(_SC_OPEN_MAX) and
113 - getrlimit(RLIMIT_NO_FILE) has been introduced for portability.
114 -
115 - * We used curl_easy_strerror() without checking version of cURL,
116 - breaking the build for versions before curl 7.12.0.
117 -
118 - * Code to work around MacOS X UTF-8 gotcha has been cleaned up.
119 -
120 - * Fallback 'getpass' implementation made unportable use of stdio API.
121 -
122 - * The "--rebase" option to "git pull" can be abbreviated to "-r",
123 - but we didn't document it.
124 -
125 - * It was generally understood that "--long-option"s to many of our
126 - subcommands can be abbreviated to the unique prefix, but it was not
127 - easy to find it described for new readers of the documentation set.
128 -
129 - * The synopsis said "checkout [-B branch]" to make it clear the
130 - branch name is a parameter to the option, but the heading for the
131 - option description was "-B::", not "-B branch::", making the
132 - documentation misleading.
133 -
134 - Also contains numerous documentation updates.
deleted Documentation/RelNotes/1.7.12.2.adoc mode 100644
@@ -1,40 +0,0 @@
1 - Git 1.7.12.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.12.1
5 - ---------------------
6 -
7 - * When "git am" is fed an input that has multiple "Content-type: ..."
8 - header, it did not grok charset= attribute correctly.
9 -
10 - * Even during a conflicted merge, "git blame $path" always meant to
11 - blame uncommitted changes to the "working tree" version; make it
12 - more useful by showing cleanly merged parts as coming from the other
13 - branch that is being merged.
14 -
15 - * "git blame MAKEFILE" run in a history that has "Makefile" but not
16 - "MAKEFILE" should say "No such file MAKEFILE in HEAD", but got
17 - confused on a case insensitive filesystem and failed to do so.
18 -
19 - * "git fetch --all", when passed "--no-tags", did not honor the
20 - "--no-tags" option while fetching from individual remotes (the same
21 - issue existed with "--tags", but combination "--all --tags" makes
22 - much less sense than "--all --no-tags").
23 -
24 - * "git log/diff/format-patch --stat" showed the "N line(s) added"
25 - comment in user's locale and caused careless submitters to send
26 - patches with such a line in them to projects whose project language
27 - is not their language, mildly irritating others. Localization to
28 - the line has been disabled for now.
29 -
30 - * "git log --all-match --grep=A --grep=B" ought to show commits that
31 - mention both A and B, but when these three options are used with
32 - --author or --committer, it showed commits that mention either A or
33 - B (or both) instead.
34 -
35 - * The subcommand to remove the definition of a remote in "git remote"
36 - was named "rm" even though all other subcommands were spelled out.
37 - Introduce "git remote remove" to remove confusion, and keep "rm" as
38 - a backward compatible synonym.
39 -
40 - Also contains a handful of documentation updates.
deleted Documentation/RelNotes/1.7.12.3.adoc mode 100644
@@ -1,34 +0,0 @@
1 - Git 1.7.12.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.12.2
5 - ---------------------
6 -
7 - * "git am" mishandled a patch attached as application/octet-stream
8 - (e.g. not text/*); Content-Transfer-Encoding (e.g. base64) was not
9 - honored correctly.
10 -
11 - * It was unclear in the documentation for "git blame" that it is
12 - unnecessary for users to use the "--follow" option.
13 -
14 - * A repository created with "git clone --single" had its fetch
15 - refspecs set up just like a clone without "--single", leading the
16 - subsequent "git fetch" to slurp all the other branches, defeating
17 - the whole point of specifying "only this branch".
18 -
19 - * "git fetch" over http had an old workaround for an unlikely server
20 - misconfiguration; it turns out that this hurts debuggability of the
21 - configuration in general, and has been reverted.
22 -
23 - * "git fetch" over http advertised that it supports "deflate", which
24 - is much less common, and did not advertise the more common "gzip" on
25 - its Accept-Encoding header.
26 -
27 - * "git receive-pack" (the counterpart to "git push") did not give
28 - progress output while processing objects it received to the user
29 - when run over the smart-http protocol.
30 -
31 - * "git status" honored the ignore=dirty settings in .gitmodules but
32 - "git commit" didn't.
33 -
34 - Also contains a handful of documentation updates.
deleted Documentation/RelNotes/1.7.12.4.adoc mode 100644
@@ -1,23 +0,0 @@
1 - Git 1.7.12.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.12.3
5 - ---------------------
6 -
7 - * "git fetch" over the dumb-http revision walker could segfault when
8 - curl's multi interface was used.
9 -
10 - * It was possible to give specific paths for "asciidoc" and other
11 - tools in the documentation toolchain, but not for "xmlto".
12 -
13 - * "gitweb" did not give the correct committer timezone in its feed
14 - output due to a typo.
15 -
16 - * The "-Xours" (and similarly -Xtheirs) backend option to "git
17 - merge -s recursive" was ignored for binary files. Now it is
18 - honored.
19 -
20 - * The "binary" synthetic attribute made "diff" to treat the path as
21 - binary, but not "merge".
22 -
23 - Also contains many documentation updates.
deleted Documentation/RelNotes/1.7.12.adoc mode 100644
@@ -1,136 +0,0 @@
1 - Git v1.7.12 Release Notes
2 - =========================
3 -
4 - Updates since v1.7.11
5 - ---------------------
6 -
7 - UI, Workflows & Features
8 -
9 - * Git can be told to normalize pathnames it read from readdir(3) and
10 - all arguments it got from the command line into precomposed UTF-8
11 - (assuming that they come as decomposed UTF-8), in order to work
12 - around issues on Mac OS.
13 -
14 - I think there still are other places that need conversion
15 - (e.g. paths that are read from stdin for some commands), but this
16 - should be a good first step in the right direction.
17 -
18 - * Per-user $HOME/.gitconfig file can optionally be stored in
19 - $HOME/.config/git/config instead, which is in line with XDG.
20 -
21 - * The value of core.attributesfile and core.excludesfile default to
22 - $HOME/.config/git/attributes and $HOME/.config/git/ignore respectively
23 - when these files exist.
24 -
25 - * Logic to disambiguate abbreviated object names have been taught to
26 - take advantage of object types that are expected in the context,
27 - e.g. XXXXXX in the "git describe" output v1.2.3-gXXXXXX must be a
28 - commit object, not a blob nor a tree. This will help us prolong
29 - the lifetime of abbreviated object names.
30 -
31 - * "git apply" learned to wiggle the base version and perform three-way
32 - merge when a patch does not exactly apply to the version you have.
33 -
34 - * Scripted Porcelain writers now have access to the credential API via
35 - the "git credential" plumbing command.
36 -
37 - * "git help" used to always default to "man" format even on platforms
38 - where "man" viewer is not widely available.
39 -
40 - * "git clone --local $path" started its life as an experiment to
41 - optionally use link/copy when cloning a repository on the disk, but
42 - we didn't deprecate it after we made the option a no-op to always
43 - use the optimization. The command learned "--no-local" option to
44 - turn this off, as a more explicit alternative over use of file://
45 - URL.
46 -
47 - * "git fetch" and friends used to say "remote side hung up
48 - unexpectedly" when they failed to get response they expect from the
49 - other side, but one common reason why they don't get expected
50 - response is that the remote repository does not exist or cannot be
51 - read. The error message in this case was updated to give better
52 - hints to the user.
53 -
54 - * "git help -w $cmd" can show HTML version of documentation for
55 - "git-$cmd" by setting help.htmlpath to somewhere other than the
56 - default location where the build procedure installs them locally;
57 - the variable can even point at a http:// URL.
58 -
59 - * "git rebase [-i] --root $tip" can now be used to rewrite all the
60 - history leading to "$tip" down to the root commit.
61 -
62 - * "git rebase -i" learned "-x <cmd>" to insert "exec <cmd>" after
63 - each commit in the resulting history.
64 -
65 - * "git status" gives finer classification to various states of paths
66 - in conflicted state and offer advice messages in its output.
67 -
68 - * "git submodule" learned to deal with nested submodule structure
69 - where a module is contained within a module whose origin is
70 - specified as a relative URL to its superproject's origin.
71 -
72 - * A rather heavy-ish "git completion" script has been split to create
73 - a separate "git prompting" script, to help lazy-autoloading of the
74 - completion part while making prompting part always available.
75 -
76 - * "gitweb" pays attention to various forms of credits that are
77 - similar to "Signed-off-by:" lines in the commit objects and
78 - highlights them accordingly.
79 -
80 -
81 - Foreign Interface
82 -
83 - * "mediawiki" remote helper (in contrib/) learned to handle file
84 - attachments.
85 -
86 - * "git p4" now uses "Jobs:" and "p4 move" when appropriate.
87 -
88 - * vcs-svn has been updated to clean-up compilation, lift 32-bit
89 - limitations, etc.
90 -
91 -
92 - Performance, Internal Implementation, etc. (please report possible regressions)
93 -
94 - * Some tests showed false failures caused by a bug in ecryptofs.
95 -
96 - * We no longer use AsciiDoc7 syntax in our documentation and favor a
97 - more modern style.
98 -
99 - * "git am --rebasing" codepath was taught to grab authorship, log
100 - message and the patch text directly out of existing commits. This
101 - will help rebasing commits that have confusing "diff" output in
102 - their log messages.
103 -
104 - * "git index-pack" and "git pack-objects" use streaming API to read
105 - from the object store to avoid having to hold a large blob object
106 - in-core while they are doing their thing.
107 -
108 - * Code to match paths with exclude patterns learned to avoid calling
109 - fnmatch() by comparing fixed leading substring literally when
110 - possible.
111 -
112 - * "git log -n 1 -- rarely-touched-path" was spending unnecessary
113 - cycles after showing the first change to find the next one, only to
114 - discard it.
115 -
116 - * "git svn" got a large-looking code reorganization at the last
117 - minute before the code freeze.
118 -
119 -
120 - Also contains minor documentation updates and code clean-ups.
121 -
122 -
123 - Fixes since v1.7.11
124 - -------------------
125 -
126 - Unless otherwise noted, all the fixes since v1.7.11 in the maintenance
127 - releases are contained in this release (see release notes to them for
128 - details).
129 -
130 - * "git submodule add" was confused when the superproject did not have
131 - its repository in its usual place in the working tree and GIT_DIR
132 - and GIT_WORK_TREE was used to access it.
133 -
134 - * "git commit --amend" let the user edit the log message and then died
135 - when the human-readable committer name was given insufficiently by
136 - getpwent(3).
deleted Documentation/RelNotes/1.7.2.1.adoc mode 100644
@@ -1,25 +0,0 @@
1 - Git v1.7.2.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.2
5 - ------------------
6 -
7 - * "git instaweb" wasn't useful when your Apache was installed under a
8 - name other than apache2 (e.g. "httpd").
9 -
10 - * Similarly, "git web--browse" (invoked by "git help -w") learned that
11 - chrome browser is sometimes called google-chrome.
12 -
13 - * An overlong line after ".gitdir: " in a git file caused out of bounds
14 - access to an array on the stack.
15 -
16 - * "git config --path conf.var" to attempt to expand a variable conf.var
17 - that uses "~/" short-hand segfaulted when $HOME environment variable
18 - was not set.
19 -
20 - * Documentation on Cygwin failed to build.
21 -
22 - * The error message from "git pull blarg" when 'blarg' is an unknown
23 - remote name has been improved.
24 -
25 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.2.2.adoc mode 100644
@@ -1,22 +0,0 @@
1 - Git v1.7.2.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.2.1
5 - --------------------
6 -
7 - * Object transfer over smart http transport deadlocked the client when
8 - the remote HTTP server returned a failure, instead of erroring it out.
9 -
10 - * git-gui honors custom textconv filters when showing diff and blame;
11 -
12 - * git diff --relative=subdir (without the necessary trailing /) did not
13 - work well;
14 -
15 - * "git diff-files -p --submodule" was recently broken;
16 -
17 - * "git checkout -b n ':/token'" did not work;
18 -
19 - * "git index-pack" (hence "git fetch/clone/pull/push") enabled the object
20 - replacement machinery by mistake (it never should have);
21 -
22 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.2.3.adoc mode 100644
@@ -1,39 +0,0 @@
1 - Git v1.7.2.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.2.2
5 - --------------------
6 -
7 - * When people try insane things such as delta-compressing 4GiB files, we
8 - threw an assertion failure.
9 -
10 - * "git archive" gave the full commit ID for "$Format:%h$".
11 -
12 - * "git fetch --tags" did not fetch tags when remote.<nick>.tagopt was set
13 - to --no-tags. The command line option now overrides the configuration
14 - setting.
15 -
16 - * "git for-each-ref --format='%(objectname:short)'" has been completely
17 - broken for a long time.
18 -
19 - * "git gc" incorrectly pruned a rerere record that was created long
20 - time ago but still is actively and repeatedly used.
21 -
22 - * "git log --follow -M -p" was seriously broken in 1.7.2, reporting
23 - assertion failure.
24 -
25 - * Running "git log" with an incorrect option started pager nevertheless,
26 - forcing the user to dismiss it.
27 -
28 - * "git rebase" did not work well when the user has diff.renames
29 - configuration variable set.
30 -
31 - * An earlier (and rather old) fix to "git rebase" against a rebased
32 - upstream broke a more normal, non rebased upstream case rather badly,
33 - attempting to re-apply patches that are already accepted upstream.
34 -
35 - * "git submodule sync" forgot to update the superproject's config file
36 - when submodule URL changed.
37 -
38 - * "git pack-refs --all --prune" did not remove a directory that has
39 - become empty.
deleted Documentation/RelNotes/1.7.2.4.adoc mode 100644
@@ -1,10 +0,0 @@
1 - Git v1.7.2.4 Release Notes
2 - ==========================
3 -
4 - This is primarily to backport support for the new "add.ignoreErrors"
5 - name given to the existing "add.ignore-errors" configuration variable.
6 -
7 - The next version, Git 1.7.4, and future versions, will support both
8 - old and incorrect name and the new corrected name, but without this
9 - backport, users who want to use the new name "add.ignoreErrors" in
10 - their repositories cannot use older versions of Git.
deleted Documentation/RelNotes/1.7.2.5.adoc mode 100644
@@ -1,8 +0,0 @@
1 - Git v1.7.2.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.2.4
5 - --------------------
6 -
7 - * "gitweb" can sometimes be tricked into parrotting a filename argument
8 - given in a request without properly quoting.
deleted Documentation/RelNotes/1.7.2.adoc mode 100644
@@ -1,151 +0,0 @@
1 - Git v1.7.2 Release Notes
2 - ========================
3 -
4 - Updates since v1.7.1
5 - --------------------
6 -
7 - * core.eol configuration and text/eol attributes are the new way to control
8 - the end of line conventions for files in the working tree.
9 -
10 - * core.autocrlf has been made safer - it will now only handle line
11 - endings for new files and files that are LF-only in the
12 - repository. To normalize content that has been checked in with
13 - CRLF, use the new eol/text attributes.
14 -
15 - * The whitespace rules used in "git apply --whitespace" and "git diff"
16 - gained a new member in the family (tab-in-indent) to help projects with
17 - policy to indent only with spaces.
18 -
19 - * When working from a subdirectory, by default, git does not look for its
20 - metadirectory ".git" across filesystems, primarily to help people who
21 - have invocations of git in their custom PS1 prompts, as being outside
22 - of a git repository would look for ".git" all the way up to the root
23 - directory, and NFS mounts are often slow. DISCOVERY_ACROSS_FILESYSTEM
24 - environment variable can be used to tell git not to stop at a
25 - filesystem boundary.
26 -
27 - * Usage help messages generated by parse-options library (i.e. most
28 - of the Porcelain commands) are sent to the standard output now.
29 -
30 - * ':/<string>' notation to look for a commit now takes regular expression
31 - and it is not anchored at the beginning of the commit log message
32 - anymore (this is a backward incompatible change).
33 -
34 - * "git" wrapper learned "-c name=value" option to override configuration
35 - variable from the command line.
36 -
37 - * Improved portability for various platforms including older SunOS,
38 - HP-UX 10/11, AIX, Tru64, etc. and platforms with Python 2.4.
39 -
40 - * The message from "git am -3" has been improved when conflict
41 - resolution ended up making the patch a no-op.
42 -
43 - * "git blame" applies the textconv filter to the contents it works
44 - on, when available.
45 -
46 - * "git checkout --orphan newbranch" is similar to "-b newbranch" but
47 - prepares to create a root commit that is not connected to any existing
48 - commit.
49 -
50 - * "git cherry-pick" learned to pick a range of commits
51 - (e.g. "cherry-pick A..B" and "cherry-pick --stdin"), so did "git
52 - revert"; these do not support the nicer sequencing control "rebase
53 - [-i]" has, though.
54 -
55 - * "git cherry-pick" and "git revert" learned --strategy option to specify
56 - the merge strategy to be used when performing three-way merges.
57 -
58 - * "git cvsserver" can be told to use pserver; its password file can be
59 - stored outside the repository.
60 -
61 - * The output from the textconv filter used by "git diff" can be cached to
62 - speed up their reuse.
63 -
64 - * "git diff --word-diff=<mode>" extends the existing "--color-words"
65 - option, making it more useful in color-challenged environments.
66 -
67 - * The regexp to detect function headers used by "git diff" for PHP has
68 - been enhanced for visibility modifiers (public, protected, etc.) to
69 - better support PHP5.
70 -
71 - * "diff.noprefix" configuration variable can be used to implicitly
72 - ask for "diff --no-prefix" behaviour.
73 -
74 - * "git for-each-ref" learned "%(objectname:short)" that gives the object
75 - name abbreviated.
76 -
77 - * "git format-patch" learned --signature option and format.signature
78 - configuration variable to customize the e-mail signature used in the
79 - output.
80 -
81 - * Various options to "git grep" (e.g. --count, --name-only) work better
82 - with binary files.
83 -
84 - * "git grep" learned "-Ovi" to open the files with hits in your editor.
85 -
86 - * "git help -w" learned "chrome" and "chromium" browsers.
87 -
88 - * "git log --decorate" shows commit decorations in various colours.
89 -
90 - * "git log --follow <path>" follows across copies (it used to only follow
91 - renames). This may make the processing more expensive.
92 -
93 - * "git log --pretty=format:<template>" specifier learned "% <something>"
94 - magic that inserts a space only when %<something> expands to a
95 - non-empty string; this is similar to "%+<something>" magic, but is
96 - useful in a context to generate a single line output.
97 -
98 - * "git notes prune" learned "-n" (dry-run) and "-v" options, similar to
99 - what "git prune" has.
100 -
101 - * "git patch-id" can be fed a mbox without getting confused by the
102 - signature line in the format-patch output.
103 -
104 - * "git remote" learned "set-branches" subcommand.
105 -
106 - * "git rev-list A..B" learned --ancestry-path option to further limit
107 - the result to the commits that are on the ancestry chain between A and
108 - B (i.e. commits that are not descendants of A are excluded).
109 -
110 - * "git show -5" is equivalent to "git show --do-walk 5"; this is similar
111 - to the update to make "git show master..next" walk the history,
112 - introduced in 1.6.4.
113 -
114 - * "git status [-s] --ignored" can be used to list ignored paths.
115 -
116 - * "git status -s -b" shows the current branch in the output.
117 -
118 - * "git status" learned "--ignore-submodules" option.
119 -
120 - * Various "gitweb" enhancements and clean-ups, including syntax
121 - highlighting, "plackup" support for instaweb, .fcgi suffix to run
122 - it as FastCGI script, etc.
123 -
124 - * The test harness has been updated to produce TAP-friendly output.
125 -
126 - * Many documentation improvement patches are also included.
127 -
128 -
129 - Fixes since v1.7.1
130 - ------------------
131 -
132 - All of the fixes in v1.7.1.X maintenance series are included in this
133 - release, unless otherwise noted.
134 -
135 - * We didn't URL decode "file:///path/to/repo" correctly when path/to/repo
136 - had percent-encoded characters (638794c, 9d2e942, ce83eda, 3c73a1d).
137 -
138 - * "git clone" did not configure remote.origin.url correctly for bare
139 - clones (df61c889).
140 -
141 - * "git diff --graph" works better with "--color-words" and other options
142 - (81fa024..4297c0a).
143 -
144 - * "git diff" could show ambiguous abbreviation of blob object names on
145 - its "index" line (3e5a188).
146 -
147 - * "git reset --hard" started from a wrong directory and a working tree in
148 - a nonstandard location is in use got confused (560fb6a1).
149 -
150 - * "git read-tree -m A B" used to switch to branch B while retaining
151 - local changes added an incorrect cache-tree information (b1f47514).
deleted Documentation/RelNotes/1.7.3.1.adoc mode 100644
@@ -1,14 +0,0 @@
1 - Git v1.7.3.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.3
5 - ------------------
6 -
7 - * "git stash show stash@{$n}" was accidentally broken in 1.7.3 ("git
8 - stash show" without any argument still worked, though).
9 -
10 - * "git stash branch $branch stash@{$n}" was accidentally broken in
11 - 1.7.3 and started dropping the named stash even when branch creation
12 - failed.
13 -
14 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.3.2.adoc mode 100644
@@ -1,5 +0,0 @@
1 - Git v1.7.3.2 Release Notes
2 - ==========================
3 -
4 - This is primarily to push out many documentation fixes accumulated since
5 - the 1.7.3.1 release.
deleted Documentation/RelNotes/1.7.3.3.adoc mode 100644
@@ -1,54 +0,0 @@
1 - Git v1.7.3.3 Release Notes
2 - ==========================
3 -
4 - In addition to the usual fixes, this release also includes support for
5 - the new "add.ignoreErrors" name given to the existing "add.ignore-errors"
6 - configuration variable.
7 -
8 - The next version, Git 1.7.4, and future versions, will support both
9 - old and incorrect name and the new corrected name, but without this
10 - backport, users who want to use the new name "add.ignoreErrors" in
11 - their repositories cannot use older versions of Git.
12 -
13 - Fixes since v1.7.3.2
14 - --------------------
15 -
16 - * "git apply" segfaulted when a bogus input is fed to it.
17 -
18 - * Running "git cherry-pick --ff" on a root commit segfaulted.
19 -
20 - * "diff", "blame" and friends incorrectly applied textconv filters to
21 - symlinks.
22 -
23 - * Highlighting of whitespace breakage in "diff" output was showing
24 - incorrect amount of whitespaces when blank-at-eol is set and the line
25 - consisted only of whitespaces and a TAB.
26 -
27 - * "diff" was overly inefficient when trying to find the line to use for
28 - the function header (i.e. equivalent to --show-c-function of GNU diff).
29 -
30 - * "git imap-send" depends on libcrypto but our build rule relied on the
31 - linker to implicitly link it via libssl, which was wrong.
32 -
33 - * "git merge-file" can be called from within a subdirectory now.
34 -
35 - * "git repack -f" expanded and recompressed non-delta objects in the
36 - existing pack, which was wasteful. Use new "-F" option if you really
37 - want to (e.g. when changing the pack.compression level).
38 -
39 - * "git rev-list --format="...%x00..." incorrectly chopped its output
40 - at NUL.
41 -
42 - * "git send-email" did not correctly remove duplicate mail addresses from
43 - the Cc: header that appear on the To: header.
44 -
45 - * The completion script (in contrib/completion) ignored lightweight tags
46 - in __git_ps1().
47 -
48 - * "git-blame" mode (in contrib/emacs) didn't say (require 'format-spec)
49 - even though it depends on it; it didn't work with Emacs 22 or older
50 - unless Gnus is used.
51 -
52 - * "git-p4" (in contrib/) did not correctly handle deleted files.
53 -
54 - Other minor fixes and documentation updates are also included.
deleted Documentation/RelNotes/1.7.3.4.adoc mode 100644
@@ -1,45 +0,0 @@
1 - Git v1.7.3.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.3.3
5 - --------------------
6 -
7 - * Smart HTTP transport used to incorrectly retry redirected POST
8 - request with GET request.
9 -
10 - * "git apply" did not correctly handle patches that only change modes
11 - if told to apply while stripping leading paths with -p option.
12 -
13 - * "git apply" can deal with patches with timezone formatted with a
14 - colon between the hours and minutes part (e.g. "-08:00" instead of
15 - "-0800").
16 -
17 - * "git checkout" removed an untracked file "foo" from the working
18 - tree when switching to a branch that contains a tracked path
19 - "foo/bar". Prevent this, just like the case where the conflicting
20 - path were "foo" (c752e7f..7980872d).
21 -
22 - * "git cherry-pick" or "git revert" refused to work when a path that
23 - would be modified by the operation was stat-dirty without a real
24 - difference in the contents of the file.
25 -
26 - * "git diff --check" reported an incorrect line number for added
27 - blank lines at the end of file.
28 -
29 - * "git imap-send" failed to build under NO_OPENSSL.
30 -
31 - * Setting log.decorate configuration variable to "0" or "1" to mean
32 - "false" or "true" did not work.
33 -
34 - * "git push" over dumb HTTP protocol did not work against WebDAV
35 - servers that did not terminate a collection name with a slash.
36 -
37 - * "git tag -v" did not work with GPG signatures in rfc1991 mode.
38 -
39 - * The post-receive-email sample hook was accidentally broken in 1.7.3.3
40 - update.
41 -
42 - * "gitweb" can sometimes be tricked into parrotting a filename argument
43 - given in a request without properly quoting.
44 -
45 - Other minor fixes and documentation updates are also included.
deleted Documentation/RelNotes/1.7.3.5.adoc mode 100644
@@ -1,34 +0,0 @@
1 - Git 1.7.3.5 Release Notes
2 - =========================
3 -
4 - * The xfuncname pattern used by "git diff" and "git grep" to show the
5 - last notable line in context were broken for python and ruby for a long
6 - time.
7 -
8 - * "git merge" into an unborn branch removed an untracked file "foo" from
9 - the working tree when merged branch had "foo" (this fix was already in
10 - 1.7.3.3 but was omitted from the release notes by mistake).
11 -
12 - * "git status -s" did not quote unprintable characters in paths as
13 - documented.
14 -
15 - * "git am --abort" used to always reset to the commit at the beginning of
16 - the last "am" invocation that has stopped, losing any unrelated commits
17 - that may have been made since then. Now it refrains from doing so and
18 - instead issues a warning.
19 -
20 - * "git blame" incorrectly reused bogusly cached result of textconv
21 - filter for files from the working tree.
22 -
23 - * "git commit" used to abort after the user edited the log message
24 - when the committer information was not correctly set up. It now
25 - aborts before starting the editor.
26 -
27 - * "git commit --date=invalid" used to silently ignore the incorrectly
28 - specified date; it is now diagnosed as an error.
29 -
30 - * "git rebase --skip" to skip the last commit in a series used to fail
31 - to run post-rewrite hook and to copy notes from old commits that have
32 - successfully been rebased so far. Now it do (backmerge ef88ad2).
33 -
34 - * "gitweb" tried to show a wrong feed logo when none was specified.
deleted Documentation/RelNotes/1.7.3.adoc mode 100644
@@ -1,76 +0,0 @@
1 - Git v1.7.3 Release Notes
2 - ========================
3 -
4 - Updates since v1.7.2
5 - --------------------
6 -
7 - * git-gui, now at version 0.13.0, got various updates and a new
8 - maintainer, Pat Thoyts.
9 -
10 - * Gitweb allows its configuration to change per each request; it used to
11 - read the configuration once upon startup.
12 -
13 - * When git finds a corrupt object, it now reports the file that contains
14 - it.
15 -
16 - * "git checkout -B <it>" is a shorter way to say "git branch -f <it>"
17 - followed by "git checkout <it>".
18 -
19 - * When "git checkout" or "git merge" refuse to proceed in order to
20 - protect local modification to your working tree, they used to stop
21 - after showing just one path that might be lost. They now show all,
22 - in a format that is easier to read.
23 -
24 - * "git clean" learned "-e" ("--exclude") option.
25 -
26 - * Hunk headers produced for C# files by "git diff" and friends show more
27 - relevant context than before.
28 -
29 - * diff.ignoresubmodules configuration variable can be used to squelch the
30 - differences in submodules reported when running commands (e.g. "diff",
31 - "status", etc.) at the superproject level.
32 -
33 - * http.useragent configuration can be used to lie who you are to your
34 - restrictive firewall.
35 -
36 - * "git rebase --strategy <s>" learned "-X" option to pass extra options
37 - that are understood by the chosen merge strategy.
38 -
39 - * "git rebase -i" learned "exec" that you can insert into the insn sheet
40 - to run a command between its steps.
41 -
42 - * "git rebase" between branches that have many binary changes that do
43 - not conflict should be faster.
44 -
45 - * "git rebase -i" peeks into rebase.autosquash configuration and acts as
46 - if you gave --autosquash from the command line.
47 -
48 -
49 - Also contains various documentation updates.
50 -
51 -
52 - Fixes since v1.7.2
53 - ------------------
54 -
55 - All of the fixes in v1.7.2.X maintenance series are included in this
56 - release, unless otherwise noted.
57 -
58 - * "git merge -s recursive" (which is the default) did not handle cases
59 - where a directory becomes a file (or vice versa) very well.
60 -
61 - * "git fetch" and friends were accidentally broken for url with "+" in
62 - its path, e.g. "git://git.gnome.org/gtk+".
63 -
64 - * "git fetch $url" (i.e. without refspecs) was broken for quite some
65 - time, if the current branch happen to be tracking some remote.
66 -
67 - * "git ls-tree dir dirgarbage", when "dir" was a directory,
68 - incorrectly recursed into "dir".
69 -
70 - * "git note remove" created unnecessary extra commit when named object
71 - did not have any note to begin with.
72 -
73 - * "git rebase" did not work well if you had diff.noprefix configured.
74 -
75 - * "git -c foo=bar subcmd" did not work well for subcmd that is not
76 - implemented as a built-in command.
deleted Documentation/RelNotes/1.7.4.1.adoc mode 100644
@@ -1,27 +0,0 @@
1 - Git v1.7.4.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.4
5 - ------------------
6 -
7 - * On Windows platform, the codepath to spawn a new child process forgot
8 - to first flush the output buffer.
9 -
10 - * "git bundle" did not use OFS_DELTA encoding, making its output a few
11 - per-cent larger than necessarily.
12 -
13 - * The option to tell "git clone" to recurse into the submodules was
14 - misspelled with an underscore "--recurse_submodules".
15 -
16 - * "git diff --cached HEAD" before the first commit does what an end user
17 - would expect (namely, show what would be committed without further "git
18 - add").
19 -
20 - * "git fast-import" didn't accept the command to ask for "notes" feature
21 - to be present in its input stream, even though it was capable of the
22 - feature.
23 -
24 - * "git fsck" gave up scanning loose object files in directories with
25 - garbage files.
26 -
27 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.4.2.adoc mode 100644
@@ -1,58 +0,0 @@
1 - Git v1.7.4.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.4.1
5 - --------------------
6 -
7 - * Many documentation updates to match "git cmd -h" output and the
8 - git-cmd manual page.
9 -
10 - * We used to keep one file descriptor open for each and every packfile
11 - that we have a mmap window on it (read: "in use"), even when for very
12 - tiny packfiles. We now close the file descriptor early when the entire
13 - packfile fits inside one mmap window.
14 -
15 - * "git bisect visualize" tried to run "gitk" in windowing
16 - environments even when "gitk" is not installed, resulting in a
17 - strange error message.
18 -
19 - * "git clone /no/such/path" did not fail correctly.
20 -
21 - * "git commit" did not correctly error out when the user asked to use a
22 - non existent file as the commit message template.
23 -
24 - * "git diff --stat -B" ran on binary files counted the changes in lines,
25 - which was nonsensical.
26 -
27 - * "git diff -M" opportunistically detected copies, which was not
28 - necessarily a good thing, especially when it is internally run by
29 - recursive merge.
30 -
31 - * "git difftool" didn't tell (g)vimdiff that the files it is reading are
32 - to be opened read-only.
33 -
34 - * "git merge" didn't pay attention to prepare-commit-msg hook, even
35 - though if a merge is conflicted and manually resolved, the subsequent
36 - "git commit" would have triggered the hook, which was inconsistent.
37 -
38 - * "git patch-id" (and commands like "format-patch --ignore-in-upstream"
39 - that use it as their internal logic) handled changes to files that end
40 - with incomplete lines incorrectly.
41 -
42 - * The official value to tell "git push" to push the current branch back
43 - to update the upstream branch it forked from is now called "upstream".
44 - The old name "tracking" is and will be supported.
45 -
46 - * "git submodule update" used to honor the --merge/--rebase option (or
47 - corresponding configuration variables) even for a newly cloned
48 - subproject, which made no sense (so/submodule-no-update-first-time).
49 -
50 - * gitweb's "highlight" interface mishandled tabs.
51 -
52 - * gitweb didn't understand timezones with GMT offset that is not
53 - multiple of a whole hour.
54 -
55 - * gitweb had a few forward-incompatible syntactic constructs and
56 - also used incorrect variable when showing the file mode in a diff.
57 -
58 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.4.3.adoc mode 100644
@@ -1,32 +0,0 @@
1 - Git v1.7.4.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.4.2
5 - --------------------
6 -
7 - * "git apply" used to confuse lines updated by previous hunks as lines
8 - that existed before when applying a hunk, contributing misapplication
9 - of patches with offsets.
10 -
11 - * "git branch --track" (and "git checkout --track --branch") used to
12 - allow setting up a random non-branch that does not make sense to follow
13 - as the "upstream". The command correctly diagnoses it as an error.
14 -
15 - * "git checkout $other_branch" silently removed untracked symbolic links
16 - in the working tree that are in the way in order to check out paths
17 - under it from the named branch.
18 -
19 - * "git cvsimport" did not bail out immediately when the cvs server cannot
20 - be reached, spewing unnecessary error messages that complain about the
21 - server response that it never got.
22 -
23 - * "git diff --quiet" did not work very well with the "--diff-filter"
24 - option.
25 -
26 - * "git grep -n" lacked a long-hand synonym --line-number.
27 -
28 - * "git stash apply" reported the result of its operation by running
29 - "git status" from the top-level of the working tree; it should (and
30 - now does) run it from the user's working directory.
31 -
32 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.4.4.adoc mode 100644
@@ -1,35 +0,0 @@
1 - Git v1.7.4.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.4.3
5 - --------------------
6 -
7 - * Compilation of sha1_file.c on BSD platforms were broken due to our
8 - recent use of getrlimit() without including <sys/resource.h>.
9 -
10 - * "git config" did not diagnose incorrect configuration variable names.
11 -
12 - * "git format-patch" did not wrap a long subject line that resulted from
13 - rfc2047 encoding.
14 -
15 - * "git instaweb" should work better again with plackup.
16 -
17 - * "git log --max-count=4 -Sfoobar" now shows 4 commits that changes the
18 - number of occurrences of string "foobar"; it used to scan only for 4
19 - commits and then emitted only matching ones.
20 -
21 - * "git log --first-parent --boundary $c^..$c" segfaulted on a merge.
22 -
23 - * "git pull" into an empty branch should have behaved as if
24 - fast-forwarding from emptiness to the version being pulled, with
25 - the usual protection against overwriting untracked files.
26 -
27 - * "git submodule" that is run while a merge in the superproject is in
28 - conflicted state tried to process each conflicted submodule up to
29 - three times.
30 -
31 - * "git status" spent all the effort to notice racily-clean index entries
32 - but didn't update the index file to help later operations go faster in
33 - some cases.
34 -
35 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.4.5.adoc mode 100644
@@ -1,4 +0,0 @@
1 - Git v1.7.4.5 Release Notes
2 - ==========================
3 -
4 - This contains only minor documentation fixes accumulated since 1.7.4.4.
deleted Documentation/RelNotes/1.7.4.adoc mode 100644
@@ -1,156 +0,0 @@
1 - Git v1.7.4 Release Notes
2 - ========================
3 -
4 - Updates since v1.7.3
5 - --------------------
6 -
7 - * The documentation Makefile now assumes by default asciidoc 8 and
8 - docbook-xsl >= 1.73. If you have older versions, you can set
9 - ASCIIDOC7 and ASCIIDOC_ROFF, respectively.
10 -
11 - * The option parsers of various commands that create new branches (or
12 - rename existing ones to a new name) were too loose and users were
13 - allowed to give a branch a name that begins with a dash by creative
14 - abuse of their command line options, which only led to burning
15 - themselves. The name of a branch cannot begin with a dash now.
16 -
17 - * System-wide fallback default attributes can be stored in
18 - /etc/gitattributes; the core.attributesfile configuration variable can
19 - be used to customize the path to this file.
20 -
21 - * The thread structure generated by "git send-email" has changed
22 - slightly. Setting the cover letter of the latest series as a reply
23 - to the cover letter of the previous series with --in-reply-to used
24 - to make the new cover letter and all the patches replies to the
25 - cover letter of the previous series; this has been changed to make
26 - the patches in the new series replies to the new cover letter.
27 -
28 - * The Bash completion script in contrib/ has been adjusted to be usable with
29 - Bash 4 (options with '=value' didn't complete). It has been also made
30 - usable with zsh.
31 -
32 - * Different pagers can be chosen depending on which subcommand is
33 - being run under the pager, using the "pager.<subcommand>" variable.
34 -
35 - * The hardcoded tab-width of 8 that is used in whitespace breakage checks is now
36 - configurable via the attributes mechanism.
37 -
38 - * Support of case insensitive filesystems (i.e. "core.ignorecase") has
39 - been improved. For example, the gitignore mechanism didn't pay attention
40 - to case insensitivity.
41 -
42 - * The <tree>:<path> syntax for naming a blob in a tree, and the :<path>
43 - syntax for naming a blob in the index (e.g. "master:Makefile",
44 - ":hello.c") have been extended. You can start <path> with "./" to
45 - implicitly have the (sub)directory you are in prefixed to the
46 - lookup. Similarly, ":../Makefile" from a subdirectory would mean
47 - "the Makefile of the parent directory in the index".
48 -
49 - * "git blame" learned the --show-email option to display the e-mail
50 - addresses instead of the names of authors.
51 -
52 - * "git commit" learned the --fixup and --squash options to help later invocation
53 - of interactive rebase.
54 -
55 - * Command line options to "git cvsimport" whose names are in capital
56 - letters (-A, -M, -R and -S) can now be specified as the default in
57 - the .git/config file by their longer names (cvsimport.authorsFile,
58 - cvsimport.mergeRegex, cvsimport.trackRevisions, cvsimport.ignorePaths).
59 -
60 - * "git daemon" can be built in the MinGW environment.
61 -
62 - * "git daemon" can take more than one --listen option to listen to
63 - multiple addresses.
64 -
65 - * "git describe --exact-match" was optimized not to read commit
66 - objects unnecessarily.
67 -
68 - * "git diff" and "git grep" learned what functions and subroutines
69 - in Fortran, Pascal and Perl look like.
70 -
71 - * "git fetch" learned the "--recurse-submodules" option.
72 -
73 - * "git mergetool" tells vim/gvim to show a three-way diff by default
74 - (use vimdiff2/gvimdiff2 as the tool name for old behavior).
75 -
76 - * "git log -G<pattern>" limits the output to commits whose change has
77 - added or deleted lines that match the given pattern.
78 -
79 - * "git read-tree" with no argument as a way to empty the index is
80 - deprecated; we might want to remove it in the future. Users can
81 - use the new --empty option to be more explicit instead.
82 -
83 - * "git repack -f" does not spend cycles to recompress objects in the
84 - non-delta representation anymore (use -F if you really mean it
85 - e.g. after you changed the core.compression variable setting).
86 -
87 - * "git merge --log" used to limit the resulting merge log to 20
88 - entries; this is now customizable by giving e.g. "--log=47".
89 -
90 - * "git merge" may work better when all files were moved out of a
91 - directory in one branch while a new file is created in place of that
92 - directory in the other branch.
93 -
94 - * "git merge" learned the "--abort" option, synonymous to
95 - "git reset --merge" when a merge is in progress.
96 -
97 - * "git notes" learned the "merge" subcommand to merge notes refs.
98 - In addition to the default manual conflict resolution, there are
99 - also several notes merge strategies for automatically resolving
100 - notes merge conflicts.
101 -
102 - * "git rebase --autosquash" can use SHA-1 object names to name the
103 - commit which is to be fixed up (e.g. "fixup! e83c5163").
104 -
105 - * The default "recursive" merge strategy learned the --rename-threshold
106 - option to influence the rename detection, similar to the -M option
107 - of "git diff". From the "git merge" frontend, the "-X<strategy option>"
108 - interface, e.g. "git merge -Xrename-threshold=50% ...", can be used
109 - to trigger this.
110 -
111 - * The "recursive" strategy also learned to ignore various whitespace
112 - changes; the most notable is -Xignore-space-at-eol.
113 -
114 - * "git send-email" learned "--to-cmd", similar to "--cc-cmd", to read
115 - the recipient list from a command output.
116 -
117 - * "git send-email" learned to read and use "To:" from its input files.
118 -
119 - * you can extend "git shell", which is often used on boxes that allow
120 - git-only login over ssh as login shell, with a custom set of
121 - commands.
122 -
123 - * The current branch name in "git status" output can be colored differently
124 - from the generic header color by setting the "color.status.branch" variable.
125 -
126 - * "git submodule sync" updates metainformation for all submodules,
127 - not just the ones that have been checked out.
128 -
129 - * gitweb can use a custom 'highlight' command with its configuration file.
130 -
131 - * other gitweb updates.
132 -
133 -
134 - Also contains various documentation updates.
135 -
136 -
137 - Fixes since v1.7.3
138 - ------------------
139 -
140 - All of the fixes in the v1.7.3.X maintenance series are included in this
141 - release, unless otherwise noted.
142 -
143 - * "git log --author=me --author=her" did not find commits written by
144 - me or by her; instead it looked for commits written by me and by
145 - her, which is impossible.
146 -
147 - * "git push --progress" shows progress indicators now.
148 -
149 - * "git rebase -i" showed a confusing error message when given a
150 - branch name that does not exist.
151 -
152 - * "git repack" places its temporary packs under $GIT_OBJECT_DIRECTORY/pack
153 - instead of $GIT_OBJECT_DIRECTORY/ to avoid cross directory renames.
154 -
155 - * "git submodule update --recursive --other-flags" passes flags down
156 - to its subinvocations.
deleted Documentation/RelNotes/1.7.5.1.adoc mode 100644
@@ -1,47 +0,0 @@
1 - Git v1.7.5.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.5
5 - ------------------
6 -
7 - * When an object "$tree:$path" does not exist, if $path does exist in the
8 - subtree of $tree that corresponds to the subdirectory the user is in,
9 - git now suggests using "$tree:./$path" in addition to the advice to use
10 - the full path from the root of the working tree.
11 -
12 - * The "--date=relative" output format used to say "X years, 12 months"
13 - when it should have said "X+1 years".
14 -
15 - * The smart-HTTP transfer was broken in 1.7.5 when the client needs
16 - to issue a small POST (which uses content-length) and then a large
17 - POST (which uses chunked) back to back.
18 -
19 - * "git clean" used to fail on an empty directory that is not readable,
20 - even though rmdir(2) could remove such a directory. Now we attempt it
21 - as the last resort.
22 -
23 - * The "--dirstat" option of "diff" family of commands used to totally
24 - ignore a change that only rearranged lines within a file. Such a
25 - change now counts as at least a minimum but non zero change.
26 -
27 - * The "--dirstat" option of "diff" family of commands used to use the
28 - pathname in the original, instead of the pathname in the result,
29 - when renames are involved.
30 -
31 - * "git pack-object" did not take core.bigfilethreashold into account
32 - (unlike fast-import); now it does.
33 -
34 - * "git reflog" ignored options like "--format=.." on the command line.
35 -
36 - * "git stash apply" used to refuse to work if there was any change in
37 - the working tree, even when the change did not overlap with the change
38 - the stash recorded.
39 -
40 - * "git stash apply @{99999}" was not diagnosed as an error, even when you
41 - did not have that many stash entries.
42 -
43 - * An error message from "git send-email" to diagnose a broken SMTP
44 - connection configuration lacked a space between "hello=<smtp-domain>"
45 - and "port=<smtp-server-port>".
46 -
47 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.5.2.adoc mode 100644
@@ -1,57 +0,0 @@
1 - Git v1.7.5.2 Release Notes
2 - ==========================
3 -
4 - The release notes to 1.7.5.1 forgot to mention:
5 -
6 - * "git stash -p --no-keep-index" and "git stash --no-keep-index -p" now
7 - mean the same thing.
8 -
9 - * "git upload-pack" (hence "git push" over git native protocol) had a
10 - subtle race condition that could lead to a deadlock.
11 -
12 - Fixes since v1.7.5.1
13 - --------------------
14 -
15 - * "git add -p" did not work correctly when a hunk is split and then
16 - one of them was given to the editor.
17 -
18 - * "git add -u" did not resolve a conflict where our history deleted and
19 - their history modified the same file, and the working tree resolved to
20 - keep a file.
21 -
22 - * "git cvsimport" did not know that CVSNT stores its password file in a
23 - location different from the traditional CVS.
24 -
25 - * "git diff-files" did not show the mode information from the working
26 - tree side of an unmerged path correctly.
27 -
28 - * "git diff -M --cached" used to use unmerged path as a possible rename
29 - source candidate, which made no sense.
30 -
31 - * The option name parser in "git fast-import" used prefix matches for
32 - some options where it shouldn't, and accepted non-existent options,
33 - e.g. "--relative-marksmith" or "--forceps".
34 -
35 - * "git format-patch" did not quote RFC822 special characters in the
36 - email address (e.g From: Junio C. Hamano <jch@example.com>, not
37 - From: "Junio C. Hamano" <jch@example.com>).
38 -
39 - * "git format-patch" when run with "--quiet" option used to produce a
40 - nonsense result that consists of alternating empty output.
41 -
42 - * In "git merge", per-branch branch.<name>.mergeoptions configuration
43 - variables did not override the fallback default merge.<option>
44 - configuration variables such as merge.ff, merge.log, etc.
45 -
46 - * "git merge-one-file" did not honor GIT_WORK_TREE settings when
47 - handling a "both sides added, differently" conflict.
48 -
49 - * "git mergetool" did not handle conflicted submoudules gracefully.
50 -
51 - * "git-p4" (in contrib) used a wrong base image while merge a file that
52 - was added on both branches differently.
53 -
54 - * "git rebase -i -p" failed to preserve the history when there is a
55 - redundant merge created with the --no-ff option.
56 -
57 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.5.3.adoc mode 100644
@@ -1,32 +0,0 @@
1 - Git v1.7.5.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.5.2
5 - --------------------
6 -
7 - * The bash completion scripts should correctly work using zsh's bash
8 - completion emulation layer now.
9 -
10 - * Setting $(prefix) in config.mak did not affect where etc/gitconfig
11 - file is read from, even though passing it from the command line of
12 - $(MAKE) did.
13 -
14 - * The logic to handle "&" (expand to UNIX username) in GECOS field
15 - miscounted the length of the name it formatted.
16 -
17 - * "git cherry-pick -s resolve" failed to cherry-pick a root commit.
18 -
19 - * "git diff --word-diff" misbehaved when diff.suppress-blank-empty was
20 - in effect.
21 -
22 - * "git log --stdin path" with an input that has additional pathspec
23 - used to corrupt memory.
24 -
25 - * "git send-pack" (hence "git push") over smart-HTTP protocol could
26 - deadlock when the client side pack-object died early.
27 -
28 - * Compressed tarball gitweb generates used to be made with the timestamp
29 - of the tarball generation; this was bad because snapshot from the same
30 - tree should result in a same tarball.
31 -
32 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.5.4.adoc mode 100644
@@ -1,21 +0,0 @@
1 - Git v1.7.5.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.5.3
5 - --------------------
6 -
7 - * The single-key mode of "git add -p" was easily fooled into thinking
8 - that it was told to add everything ('a') when up-arrow was pressed by
9 - mistake.
10 -
11 - * Setting a git command that uses custom configuration via "-c var=val"
12 - as an alias caused a crash due to a realloc(3) failure.
13 -
14 - * "git diff -C -C" used to disable the rename detection entirely when
15 - there are too many copy candidate paths in the tree; now it falls
16 - back to "-C" when doing so would keep the copy candidate paths
17 - under the rename detection limit.
18 -
19 - * "git rerere" did not diagnose a corrupt MERGE_RR file in some cases.
20 -
21 - And other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.5.adoc mode 100644
@@ -1,132 +0,0 @@
1 - Git v1.7.5 Release Notes
2 - ========================
3 -
4 - Updates since v1.7.4
5 - --------------------
6 -
7 - * Various MinGW portability fixes.
8 -
9 - * Various git-p4 enhancements (in contrib).
10 -
11 - * Various vcs-svn, git-svn and gitk enhancements and fixes.
12 -
13 - * Various git-gui updates (0.14.0).
14 -
15 - * Update to more modern HP-UX port.
16 -
17 - * The codebase is getting prepared for i18n/l10n; no translated
18 - strings nor translation mechanism in the code yet, but the strings
19 - are being marked for l10n.
20 -
21 - * The bash completion script can now complete symmetric difference
22 - for "git diff" command, e.g. "git diff ...bra<TAB>".
23 -
24 - * The default minimum length of abbreviated and unique object names
25 - can now be configured by setting the core.abbrev configuration
26 - variable.
27 -
28 - * "git apply -v" reports offset lines when the patch does not apply at
29 - the exact location recorded in the diff output.
30 -
31 - * "git config" used to be also known as "git repo-config", but the old
32 - name is now officially deprecated.
33 -
34 - * "git checkout --detach <commit>" is a more user friendly synonym for
35 - "git checkout <commit>^0".
36 -
37 - * "git checkout" performed on detached HEAD gives a warning and
38 - advice when the commit being left behind will become unreachable from
39 - any branch or tag.
40 -
41 - * "git cherry-pick" and "git revert" can be told to use a custom merge
42 - strategy, similar to "git rebase".
43 -
44 - * "git cherry-pick" remembers which commit failed to apply when it is
45 - stopped by conflicts, making it unnecessary to use "commit -c $commit"
46 - to conclude it.
47 -
48 - * "git cvsimport" bails out immediately when the cvs server cannot be
49 - reached, without spewing unnecessary error messages that complain about
50 - the server response it never got.
51 -
52 - * "git fetch" vs "git upload-pack" transfer learned 'no-done'
53 - protocol extension to save one round-trip after the content
54 - negotiation is done. This saves one HTTP RPC, reducing the overall
55 - latency for a trivial fetch.
56 -
57 - * "git fetch" can be told to recursively fetch submodules on-demand.
58 -
59 - * "git grep -f <filename>" learned to treat "-" as "read from the
60 - standard input stream".
61 -
62 - * "git grep --no-index" did not honor pathspecs correctly, returning
63 - paths outside the specified area.
64 -
65 - * "git init" learned the --separate-git-dir option to allow the git
66 - directory for a new repository created elsewhere and linked via the
67 - gitdir mechanism. This is primarily to help submodule support later
68 - to switch between a branch of superproject that has the submodule
69 - and another that does not.
70 -
71 - * "git log" type commands now understand globbing pathspecs. You
72 - can say "git log -- '*.txt'" for example.
73 -
74 - * "git log" family of commands learned --cherry and --cherry-mark
75 - options that can be used to view two diverged branches while omitting
76 - or highlighting equivalent changes that appear on both sides of a
77 - symmetric difference (e.g. "log --cherry A...B").
78 -
79 - * A lazy "git merge" that didn't say what to merge used to be an error.
80 - When run on a branch that has an upstream defined, however, the command
81 - now merges from the configured upstream.
82 -
83 - * "git mergetool" learned how to drive "beyond compare 3" as well.
84 -
85 - * "git rerere forget" without pathspec used to forget all the saved
86 - conflicts that relate to the current merge; it now requires you to
87 - give it pathspecs.
88 -
89 - * "git rev-list --objects $revs -- $pathspec" now limits the objects listed
90 - in its output properly with the pathspec, in preparation for narrow
91 - clones.
92 -
93 - * "git push" with no parameters gives better advice messages when
94 - "tracking" is used as the push.default semantics or there is no remote
95 - configured yet.
96 -
97 - * A possible value to the "push.default" configuration variable,
98 - 'tracking', gained a synonym that more naturally describes what it
99 - does, 'upstream'.
100 -
101 - * "git rerere" learned a new subcommand "remaining" that is similar to
102 - "status" and lists the paths that had conflicts which are known to
103 - rerere, but excludes the paths that have already been marked as
104 - resolved in the index from its output. "git mergetool" has been
105 - updated to use this facility.
106 -
107 - Also contains various documentation updates.
108 -
109 -
110 - Fixes since v1.7.4
111 - ------------------
112 -
113 - All of the fixes in the v1.7.4.X maintenance series are included in this
114 - release, unless otherwise noted.
115 -
116 - * "git fetch" from a client that is mostly following the remote
117 - needlessly told all of its refs to the server for both sides to
118 - compute the set of objects that need to be transferred efficiently,
119 - instead of stopping when the server heard enough. In a project with
120 - many tags, this turns out to be extremely wasteful, especially over
121 - the smart HTTP transport (sp/maint-{upload,fetch}-pack-stop-early~1).
122 -
123 - * "git fetch" run from a repository that uses the same repository as
124 - its alternate object store as the repository it is fetching from
125 - did not tell the server that it already has access to objects
126 - reachable from the refs in their common alternate object store,
127 - causing it to fetch unnecessary objects (jc/maint-fetch-alt).
128 -
129 - * "git remote add --mirror" created a configuration that is suitable for
130 - doing both a mirror fetch and a mirror push at the same time, which
131 - made little sense. We now warn and require the command line to specify
132 - either --mirror=fetch or --mirror=push.
deleted Documentation/RelNotes/1.7.6.1.adoc mode 100644
@@ -1,63 +0,0 @@
1 - Git v1.7.6.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.6
5 - ------------------
6 -
7 - * Various codepaths that invoked zlib deflate/inflate assumed that these
8 - functions can compress or uncompress more than 4GB data in one call on
9 - platforms with 64-bit long, which has been corrected.
10 -
11 - * "git unexecutable" reported that "unexecutable" was not found, even
12 - though the actual error was that "unexecutable" was found but did
13 - not have a proper she-bang line to be executed.
14 -
15 - * Error exits from $PAGER were silently ignored.
16 -
17 - * "git checkout -b <branch>" was confused when attempting to create a
18 - branch whose name ends with "-g" followed by hexadecimal digits,
19 - and refused to work.
20 -
21 - * "git checkout -b <branch>" sometimes wrote a bogus reflog entry,
22 - causing later "git checkout -" to fail.
23 -
24 - * "git diff --cc" learned to correctly ignore binary files.
25 -
26 - * "git diff -c/--cc" mishandled a deletion that resolves a conflict, and
27 - looked in the working tree instead.
28 -
29 - * "git fast-export" forgot to quote pathnames with unsafe characters
30 - in its output.
31 -
32 - * "git fetch" over smart-http transport used to abort when the
33 - repository was updated between the initial connection and the
34 - subsequent object transfer.
35 -
36 - * "git fetch" did not recurse into submodules in subdirectories.
37 -
38 - * "git ls-tree" did not error out when asked to show a corrupt tree.
39 -
40 - * "git pull" without any argument left an extra whitespace after the
41 - command name in its reflog.
42 -
43 - * "git push --quiet" was not really quiet.
44 -
45 - * "git rebase -i -p" incorrectly dropped commits from side branches.
46 -
47 - * "git reset [<commit>] paths..." did not reset the index entry correctly
48 - for unmerged paths.
49 -
50 - * "git submodule add" did not allow a relative repository path when
51 - the superproject did not have any default remote url.
52 -
53 - * "git submodule foreach" failed to correctly give the standard input to
54 - the user-supplied command it invoked.
55 -
56 - * submodules that the user has never showed interest in by running
57 - "git submodule init" was incorrectly marked as interesting by "git
58 - submodule sync".
59 -
60 - * "git submodule update --quiet" was not really quiet.
61 -
62 - * "git tag -l <glob>..." did not take multiple glob patterns from the
63 - command line.
deleted Documentation/RelNotes/1.7.6.2.adoc mode 100644
@@ -1,8 +0,0 @@
1 - Git v1.7.6.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.6.1
5 - --------------------
6 -
7 - * v1.7.6.1 broke "git push --quiet"; it used to be a no-op against an old
8 - version of Git running on the other end, but v1.7.6.1 made it abort.
deleted Documentation/RelNotes/1.7.6.3.adoc mode 100644
@@ -1,24 +0,0 @@
1 - Git v1.7.6.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.6.2
5 - --------------------
6 -
7 - * "git -c var=value subcmd" misparsed the custom configuration when
8 - value contained an equal sign.
9 -
10 - * "git fetch" had a major performance regression, wasting many
11 - needless cycles in a repository where there is no submodules
12 - present. This was especially bad, when there were many refs.
13 -
14 - * "git reflog $refname" did not default to the "show" subcommand as
15 - the documentation advertised the command to do.
16 -
17 - * "git reset" did not leave meaningful log message in the reflog.
18 -
19 - * "git status --ignored" did not show ignored items when there is no
20 - untracked items.
21 -
22 - * "git tag --contains $commit" was unnecessarily inefficient.
23 -
24 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.6.4.adoc mode 100644
@@ -1,32 +0,0 @@
1 - Git v1.7.6.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.6.3
5 - --------------------
6 -
7 - * The error reporting logic of "git am" when the command is fed a file
8 - whose mail-storage format is unknown was fixed.
9 -
10 - * "git branch --set-upstream @{-1} foo" did not expand @{-1} correctly.
11 -
12 - * "git check-ref-format --print" used to parrot a candidate string that
13 - began with a slash (e.g. /refs/heads/master) without stripping it, to make
14 - the result a suitably normalized string the caller can append to "$GIT_DIR/".
15 -
16 - * "git clone" failed to clone locally from a ".git" file that itself
17 - is not a directory but is a pointer to one.
18 -
19 - * "git clone" from a local repository that borrows from another
20 - object store using a relative path in its objects/info/alternates
21 - file did not adjust the alternates in the resulting repository.
22 -
23 - * "git describe --dirty" did not refresh the index before checking the
24 - state of the working tree files.
25 -
26 - * "git ls-files ../$path" that is run from a subdirectory reported errors
27 - incorrectly when there is no such path that matches the given pathspec.
28 -
29 - * "git mergetool" could loop forever prompting when nothing can be read
30 - from the standard input.
31 -
32 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.6.5.adoc mode 100644
@@ -1,26 +0,0 @@
1 - Git v1.7.6.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.6.4
5 - --------------------
6 -
7 - * The date parser did not accept timezone designators that lack minutes
8 - part and also has a colon between "hh:mm".
9 -
10 - * After fetching from a remote that has very long refname, the reporting
11 - output could have corrupted by overrunning a static buffer.
12 -
13 - * "git mergetool" did not use its arguments as pathspec, but as a path to
14 - the file that may not even have any conflict.
15 -
16 - * "git name-rev --all" tried to name all _objects_, naturally failing to
17 - describe many blobs and trees, instead of showing only commits as
18 - advertised in its documentation.
19 -
20 - * "git remote rename $a $b" were not careful to match the remote name
21 - against $a (i.e. source side of the remote nickname).
22 -
23 - * "gitweb" used to produce a non-working link while showing the contents
24 - of a blob, when JavaScript actions are enabled.
25 -
26 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.6.6.adoc mode 100644
@@ -1,16 +0,0 @@
1 - Git v1.7.6.6 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.6.5
5 - --------------------
6 -
7 - * The code to look up attributes for paths reused entries from a wrong
8 - directory when two paths in question are in adjacent directories and
9 - the name of the one directory is a prefix of the other.
10 -
11 - * When producing a "thin pack" (primarily used in bundles and smart
12 - HTTP transfers) out of a fully packed repository, we unnecessarily
13 - avoided sending recent objects as a delta against objects we know
14 - the other side has.
15 -
16 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.6.adoc mode 100644
@@ -1,136 +0,0 @@
1 - Git v1.7.6 Release Notes
2 - ========================
3 -
4 - Updates since v1.7.5
5 - --------------------
6 -
7 - * Various git-svn updates.
8 -
9 - * Updates the way content tags are handled in gitweb. Also adds
10 - a UI to choose common timezone for displaying the dates.
11 -
12 - * Similar to branch names, tagnames that begin with "-" are now
13 - disallowed.
14 -
15 - * Clean-up of the C part of i18n (but not l10n---please wait)
16 - continues.
17 -
18 - * The scripting part of the codebase is getting prepared for i18n/l10n.
19 -
20 - * Pushing and pulling from a repository with large number of refs that
21 - point to identical commits are optimized by not listing the same commit
22 - during the common ancestor negotiation exchange with the other side.
23 -
24 - * Adding a file larger than core.bigfilethreshold (defaults to 1/2 Gig)
25 - using "git add" will send the contents straight to a packfile without
26 - having to hold it and its compressed representation both at the same
27 - time in memory.
28 -
29 - * Processes spawned by "[alias] <name> = !process" in the configuration
30 - can inspect GIT_PREFIX environment variable to learn where in the
31 - working tree the original command was invoked.
32 -
33 - * A magic pathspec ":/" tells a command that limits its operation to
34 - the current directory when ran from a subdirectory to work on the
35 - entire working tree. In general, ":/path/to/file" would be relative
36 - to the root of the working tree hierarchy.
37 -
38 - After "git reset --hard; edit Makefile; cd t/", "git add -u" would
39 - be a no-op, but "git add -u :/" would add the updated contents of
40 - the Makefile at the top level. If you want to name a path in the
41 - current subdirectory whose unusual name begins with ":/", you can
42 - name it by "./:/that/path" or by "\:/that/path".
43 -
44 - * "git blame" learned "--abbrev[=<n>]" option to control the minimum
45 - number of hexdigits shown for commit object names.
46 -
47 - * "git blame" learned "--line-porcelain" that is less efficient but is
48 - easier to parse.
49 -
50 - * Aborting "git commit --interactive" discards updates to the index
51 - made during the interactive session.
52 -
53 - * "git commit" learned a "--patch" option to directly jump to the
54 - per-hunk selection UI of the interactive mode.
55 -
56 - * "git diff" and its family of commands learned --dirstat=0 to show
57 - directories that contribute less than 0.1% of changes.
58 -
59 - * "git diff" and its family of commands learned --dirstat=lines mode to
60 - assess damage to the directory based on number of lines in the patch
61 - output, not based on the similarity numbers.
62 -
63 - * "git format-patch" learned "--quiet" option to suppress the output of
64 - the names of generated files.
65 -
66 - * "git format-patch" quotes people's names when it has RFC822 special
67 - characters in it, e.g. "Junio C. Hamano" <jch@example.com>. Earlier
68 - it was up to the user to do this when using its output.
69 -
70 - * "git format-patch" can take an empty --subject-prefix now.
71 -
72 - * "git grep" learned the "-P" option to take pcre regular expressions.
73 -
74 - * "git log" and friends learned a new "--notes" option to replace the
75 - "--show-notes" option. Unlike "--show-notes", "--notes=<ref>" does
76 - not imply showing the default notes.
77 -
78 - * They also learned a log.abbrevCommit configuration variable to augment
79 - the --abbrev-commit command line option.
80 -
81 - * "git ls-remote" learned "--exit-code" option to consider it a
82 - different kind of error when no remote ref to be shown.
83 -
84 - * "git merge" learned "-" as a short-hand for "the previous branch", just
85 - like the way "git checkout -" works.
86 -
87 - * "git merge" uses "merge.ff" configuration variable to decide to always
88 - create a merge commit (i.e. --no-ff, aka merge.ff=no), refuse to create
89 - a merge commit (i.e. --ff-only, aka merge.ff=only). Setting merge.ff=yes
90 - (or not setting it at all) restores the default behaviour of allowing
91 - fast-forward to happen when possible.
92 -
93 - * p4-import (from contrib) learned a new option --preserve-user.
94 -
95 - * "git read-tree -m" learned "--dry-run" option that reports if a merge
96 - would fail without touching the index nor the working tree.
97 -
98 - * "git rebase" that does not specify on top of which branch to rebase
99 - the current branch now uses @{upstream} of the current branch.
100 -
101 - * "git rebase" finished either normally or with --abort did not
102 - update the reflog for HEAD to record the event to come back to
103 - where it started from.
104 -
105 - * "git remote add -t only-this-branch --mirror=fetch" is now allowed. Earlier
106 - a fetch-mode mirror meant mirror everything, but now it only means refs are
107 - not renamed.
108 -
109 - * "git rev-list --count" used with "--cherry-mark" counts the cherry-picked
110 - commits separately, producing more a useful output.
111 -
112 - * "git submodule update" learned "--force" option to get rid of local
113 - changes in submodules and replace them with the up-to-date version.
114 -
115 - * "git status" and friends ignore .gitmodules file while the file is
116 - still in a conflicted state during a merge, to avoid using information
117 - that is not final and possibly corrupt with conflict markers.
118 -
119 - Also contains various documentation updates and minor miscellaneous
120 - changes.
121 -
122 -
123 - Fixes since v1.7.5
124 - ------------------
125 -
126 - Unless otherwise noted, all the fixes in 1.7.5.X maintenance track are
127 - included in this release.
128 -
129 - * "git config" used to choke with an insanely long line.
130 - (merge ef/maint-strbuf-init later)
131 -
132 - * "git diff --quiet" did not work well with --diff-filter.
133 - (merge jk/diff-not-so-quick later)
134 -
135 - * "git status -z" did not default to --porcelain output format.
136 - (merge bc/maint-status-z-to-use-porcelain later)
deleted Documentation/RelNotes/1.7.7.1.adoc mode 100644
@@ -1,60 +0,0 @@
1 - Git v1.7.7.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.7
5 - ------------------
6 -
7 - * On some BSD systems, adding +s bit on directories is detrimental
8 - (it is not necessary on BSD to begin with). "git init --shared"
9 - has been updated to take this into account without extra makefile
10 - settings on platforms the Makefile knows about.
11 -
12 - * After incorrectly written third-party tools store a tag object in
13 - HEAD, git diagnosed it as a repository corruption and refused to
14 - proceed in order to avoid spreading the damage. We now gracefully
15 - recover from such a situation by pretending as if the commit that
16 - is pointed at by the tag were in HEAD.
17 -
18 - * "git apply --whitespace=error" did not bother to report the exact
19 - line number in the patch that introduced new blank lines at the end
20 - of the file.
21 -
22 - * "git apply --index" did not check corrupted patch.
23 -
24 - * "git checkout $tree $directory/" resurrected paths locally removed or
25 - modified only in the working tree in $directory/ that did not appear
26 - in $directory of the given $tree. They should have been kept intact.
27 -
28 - * "git diff $tree $path" used to apply the pathspec at the output stage,
29 - reading the whole tree, wasting resources.
30 -
31 - * The code to check for updated submodules during a "git fetch" of the
32 - superproject had an unnecessary quadratic loop.
33 -
34 - * "git fetch" from a large bundle did not enable the progress output.
35 -
36 - * When "git fsck --lost-and-found" found that an empty blob object in the
37 - object store is unreachable, it incorrectly reported an error after
38 - writing the lost blob out successfully.
39 -
40 - * "git filter-branch" did not refresh the index before checking that the
41 - working tree was clean.
42 -
43 - * "git grep $tree" when run with multiple threads had an unsafe access to
44 - the object database that should have been protected with mutex.
45 -
46 - * The "--ancestry-path" option to "git log" and friends misbehaved in a
47 - history with complex criss-cross merges and showed an uninteresting
48 - side history as well.
49 -
50 - * Test t1304 assumed LOGNAME is always set, which may not be true on
51 - some systems.
52 -
53 - * Tests with --valgrind failed to find "mergetool" scriptlets.
54 -
55 - * "git patch-id" miscomputed the patch-id in a patch that has a line longer
56 - than 1kB.
57 -
58 - * When an "exec" insn failed after modifying the index and/or the working
59 - tree during "rebase -i", we now check and warn that the changes need to
60 - be cleaned up.
deleted Documentation/RelNotes/1.7.7.2.adoc mode 100644
@@ -1,44 +0,0 @@
1 - Git v1.7.7.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.7.1
5 - --------------------
6 -
7 - * We used to drop error messages from libcurl on certain kinds of
8 - errors.
9 -
10 - * Error report from smart HTTP transport, when the connection was
11 - broken in the middle of a transfer, showed a useless message on
12 - a corrupt packet.
13 -
14 - * "git fetch --prune" was unsafe when used with refspecs from the
15 - command line.
16 -
17 - * The attribute mechanism did not use case insensitive match when
18 - core.ignorecase was set.
19 -
20 - * "git bisect" did not notice when it failed to update the working tree
21 - to the next commit to be tested.
22 -
23 - * "git config --bool --get-regexp" failed to separate the variable name
24 - and its value "true" when the variable is defined without "= true".
25 -
26 - * "git remote rename $a $b" were not careful to match the remote name
27 - against $a (i.e. source side of the remote nickname).
28 -
29 - * "git mergetool" did not use its arguments as pathspec, but as a path to
30 - the file that may not even have any conflict.
31 -
32 - * "git diff --[num]stat" used to use the number of lines of context
33 - different from the default, potentially giving different results from
34 - "git diff | diffstat" and confusing the users.
35 -
36 - * "git pull" and "git rebase" did not work well even when GIT_WORK_TREE is
37 - set correctly with GIT_DIR if the current directory is outside the working
38 - tree.
39 -
40 - * "git send-email" did not honor the configured hostname when restarting
41 - the HELO/EHLO exchange after switching TLS on.
42 -
43 - * "gitweb" used to produce a non-working link while showing the contents
44 - of a blob, when JavaScript actions are enabled.
deleted Documentation/RelNotes/1.7.7.3.adoc mode 100644
@@ -1,19 +0,0 @@
1 - Git v1.7.7.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.7.2
5 - --------------------
6 -
7 - * Adjust the "quick-install-doc" procedures as preformatted
8 - html/manpage are no longer in the source repository.
9 -
10 - * The logic to optimize the locality of the data in a pack introduced in
11 - 1.7.7 was grossly inefficient.
12 -
13 - * The logic to filter out forked projects in the project list in
14 - "gitweb" was broken for some time.
15 -
16 - * "git branch -m/-M" advertised to update RENAME_REF ref in the
17 - commit log message that introduced the feature but not anywhere in
18 - the documentation, and never did update such a ref anyway. This
19 - undocumented misfeature that did not exist has been excised.
deleted Documentation/RelNotes/1.7.7.4.adoc mode 100644
@@ -1,14 +0,0 @@
1 - Git v1.7.7.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.7.3
5 - --------------------
6 -
7 - * A few header dependencies were missing from the Makefile.
8 -
9 - * Some newer parts of the code used C99 __VA_ARGS__ while we still
10 - try to cater to older compilers.
11 -
12 - * "git name-rev --all" tried to name all _objects_, naturally failing to
13 - describe many blobs and trees, instead of showing only commits as
14 - advertised in its documentation.
deleted Documentation/RelNotes/1.7.7.5.adoc mode 100644
@@ -1,14 +0,0 @@
1 - Git v1.7.7.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.7.4
5 - --------------------
6 -
7 - * After fetching from a remote that has very long refname, the reporting
8 - output could have corrupted by overrunning a static buffer.
9 -
10 - * "git checkout" and "git merge" treated in-tree .gitignore and exclude
11 - file in $GIT_DIR/info/ directory inconsistently when deciding which
12 - untracked files are ignored and expendable.
13 -
14 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.7.6.adoc mode 100644
@@ -1,20 +0,0 @@
1 - Git v1.7.7.6 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.7.5
5 - --------------------
6 -
7 - * The code to look up attributes for paths reused entries from a wrong
8 - directory when two paths in question are in adjacent directories and
9 - the name of the one directory is a prefix of the other.
10 -
11 - * A wildcard that matches deeper hierarchy given to the "diff-index" command,
12 - e.g. "git diff-index HEAD -- '*.txt'", incorrectly reported additions of
13 - matching files even when there is no change.
14 -
15 - * When producing a "thin pack" (primarily used in bundles and smart
16 - HTTP transfers) out of a fully packed repository, we unnecessarily
17 - avoided sending recent objects as a delta against objects we know
18 - the other side has.
19 -
20 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.7.7.adoc mode 100644
@@ -1,13 +0,0 @@
1 - Git v1.7.7.7 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.7.6
5 - --------------------
6 -
7 - * An error message from 'git bundle' had an unmatched single quote pair in it.
8 -
9 - * 'git diff --histogram' option was not described.
10 -
11 - * 'git imap-send' carried an unused dead code.
12 -
13 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.7.adoc mode 100644
@@ -1,134 +0,0 @@
1 - Git v1.7.7 Release Notes
2 - ========================
3 -
4 - Updates since v1.7.6
5 - --------------------
6 -
7 - * The scripting part of the codebase is getting prepared for i18n/l10n.
8 -
9 - * Interix, Cygwin and Minix ports got updated.
10 -
11 - * Various updates to git-p4 (in contrib/), fast-import, and git-svn.
12 -
13 - * Gitweb learned to read from /etc/gitweb-common.conf when it exists,
14 - before reading from gitweb_config.perl or from /etc/gitweb.conf
15 - (this last one is read only when per-repository gitweb_config.perl
16 - does not exist).
17 -
18 - * Various codepaths that invoked zlib deflate/inflate assumed that these
19 - functions can compress or uncompress more than 4GB data in one call on
20 - platforms with 64-bit long, which has been corrected.
21 -
22 - * Git now recognizes loose objects written by other implementations that
23 - use a non-standard window size for zlib deflation (e.g. Agit running on
24 - Android with 4kb window). We used to reject anything that was not
25 - deflated with 32kb window.
26 -
27 - * Interaction between the use of pager and coloring of the output has
28 - been improved, especially when a command that is not built-in was
29 - involved.
30 -
31 - * "git am" learned to pass the "--exclude=<path>" option through to underlying
32 - "git apply".
33 -
34 - * You can now feed many empty lines before feeding an mbox file to
35 - "git am".
36 -
37 - * "git archive" can be told to pass the output to gzip compression and
38 - produce "archive.tar.gz".
39 -
40 - * "git bisect" can be used in a bare repository (provided that the test
41 - you perform per each iteration does not need a working tree, of
42 - course).
43 -
44 - * The length of abbreviated object names in "git branch -v" output
45 - now honors the core.abbrev configuration variable.
46 -
47 - * "git check-attr" can take relative paths from the command line.
48 -
49 - * "git check-attr" learned an "--all" option to list the attributes for a
50 - given path.
51 -
52 - * "git checkout" (both the code to update the files upon checking out a
53 - different branch and the code to checkout a specific set of files) learned
54 - to stream the data from object store when possible, without having to
55 - read the entire contents of a file into memory first. An earlier round
56 - of this code that is not in any released version had a large leak but
57 - now it has been plugged.
58 -
59 - * "git clone" can now take a "--config key=value" option to set the
60 - repository configuration options that affect the initial checkout.
61 -
62 - * "git commit <paths>..." now lets you feed relative pathspecs that
63 - refer to outside your current subdirectory.
64 -
65 - * "git diff --stat" learned a --stat-count option to limit the output of
66 - a diffstat report.
67 -
68 - * "git diff" learned a "--histogram" option to use a different diff
69 - generation machinery stolen from jgit, which might give better
70 - performance.
71 -
72 - * "git diff" had a weird worst case behaviour that can be triggered
73 - when comparing files with potentially many places that could match.
74 -
75 - * "git fetch", "git push" and friends no longer show connection
76 - errors for addresses that couldn't be connected to when at least one
77 - address succeeds (this is arguably a regression but a deliberate
78 - one).
79 -
80 - * "git grep" learned "--break" and "--heading" options, to let users mimic
81 - the output format of "ack".
82 -
83 - * "git grep" learned a "-W" option that shows wider context using the same
84 - logic used by "git diff" to determine the hunk header.
85 -
86 - * Invoking the low-level "git http-fetch" without "-a" option (which
87 - git itself never did--normal users should not have to worry about
88 - this) is now deprecated.
89 -
90 - * The "--decorate" option to "git log" and its family learned to
91 - highlight grafted and replaced commits.
92 -
93 - * "git rebase master topci" no longer spews usage hints after giving
94 - the "fatal: no such branch: topci" error message.
95 -
96 - * The recursive merge strategy implementation got a fairly large
97 - fix for many corner cases that may rarely happen in real world
98 - projects (it has been verified that none of the 16000+ merges in
99 - the Linux kernel history back to v2.6.12 is affected with the
100 - corner case bugs this update fixes).
101 -
102 - * "git stash" learned an "--include-untracked option".
103 -
104 - * "git submodule update" used to stop at the first error updating a
105 - submodule; it now goes on to update other submodules that can be
106 - updated, and reports the ones with errors at the end.
107 -
108 - * "git push" can be told with the "--recurse-submodules=check" option to
109 - refuse pushing of the supermodule, if any of its submodules'
110 - commits hasn't been pushed out to their remotes.
111 -
112 - * "git upload-pack" and "git receive-pack" learned to pretend that only a
113 - subset of the refs exist in a repository. This may help a site to
114 - put many tiny repositories into one repository (this would not be
115 - useful for larger repositories as repacking would be problematic).
116 -
117 - * "git verify-pack" has been rewritten to use the "index-pack" machinery
118 - that is more efficient in reading objects in packfiles.
119 -
120 - * test scripts for gitweb tried to run even when CGI-related perl modules
121 - are not installed; they now exit early when the latter are unavailable.
122 -
123 - Also contains various documentation updates and minor miscellaneous
124 - changes.
125 -
126 -
127 - Fixes since v1.7.6
128 - ------------------
129 -
130 - Unless otherwise noted, all fixes in the 1.7.6.X maintenance track are
131 - included in this release.
132 -
133 - * "git branch -m" and "git checkout -b" incorrectly allowed the tip
134 - of the branch that is currently checked out updated.
deleted Documentation/RelNotes/1.7.8.1.adoc mode 100644
@@ -1,38 +0,0 @@
1 - Git v1.7.8.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.8
5 - ------------------
6 -
7 - * In some codepaths (notably, checkout and merge), the ignore patterns
8 - recorded in $GIT_DIR/info/exclude were not honored. They now are.
9 -
10 - * "git apply --check" did not error out when given an empty input
11 - without any patch.
12 -
13 - * "git archive" mistakenly allowed remote clients to ask for commits
14 - that are not at the tip of any ref.
15 -
16 - * "git checkout" and "git merge" treated in-tree .gitignore and exclude
17 - file in $GIT_DIR/info/ directory inconsistently when deciding which
18 - untracked files are ignored and expendable.
19 -
20 - * LF-to-CRLF streaming filter used when checking out a large-ish blob
21 - fell into an infinite loop with a rare input.
22 -
23 - * The function header pattern for files with "diff=cpp" attribute did
24 - not consider "type *funcname(type param1,..." as the beginning of a
25 - function.
26 -
27 - * The error message from "git diff" and "git status" when they fail
28 - to inspect changes in submodules did not report which submodule they
29 - had trouble with.
30 -
31 - * After fetching from a remote that has very long refname, the reporting
32 - output could have corrupted by overrunning a static buffer.
33 -
34 - * "git pack-objects" avoids creating cyclic dependencies among deltas
35 - when seeing a broken packfile that records the same object in both
36 - the deflated form and as a delta.
37 -
38 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.8.2.adoc mode 100644
@@ -1,71 +0,0 @@
1 - Git v1.7.8.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.8.1
5 - --------------------
6 -
7 - * Porcelain commands like "git reset" did not distinguish deletions
8 - and type-changes from ordinary modification, and reported them with
9 - the same 'M' moniker. They now use 'D' (for deletion) and 'T' (for
10 - type-change) to match "git status -s" and "git diff --name-status".
11 -
12 - * The configuration file parser used for sizes (e.g. bigFileThreshold)
13 - did not correctly interpret 'g' suffix.
14 -
15 - * The replacement implementation for snprintf used on platforms with
16 - native snprintf that is broken did not use va_copy correctly.
17 -
18 - * LF-to-CRLF streaming filter replaced all LF with CRLF, which might
19 - be technically correct but not friendly to people who are trying
20 - to recover from earlier mistakes of using CRLF in the repository
21 - data in the first place. It now refrains from doing so for LF that
22 - follows a CR.
23 -
24 - * git native connection going over TCP (not over SSH) did not set
25 - SO_KEEPALIVE option which failed to receive link layer errors.
26 -
27 - * "git branch -m <current branch> HEAD" is an obvious no-op but was not
28 - allowed.
29 -
30 - * "git checkout -m" did not recreate the conflicted state in a "both
31 - sides added, without any common ancestor version" conflict
32 - situation.
33 -
34 - * "git cherry-pick $commit" (not a range) created an unnecessary
35 - sequencer state and interfered with valid workflow to use the
36 - command during a session to cherry-pick multiple commits.
37 -
38 - * You could make "git commit" segfault by giving the "--no-message"
39 - option.
40 -
41 - * "fast-import" did not correctly update an existing notes tree,
42 - possibly corrupting the fan-out.
43 -
44 - * "git fetch-pack" accepted unqualified refs that do not begin with
45 - refs/ by mistake and compensated it by matching the refspec with
46 - tail-match, which was doubly wrong. This broke fetching from a
47 - repository with a funny named ref "refs/foo/refs/heads/master" and a
48 - 'master' branch with "git fetch-pack refs/heads/master", as the
49 - command incorrectly considered the former a "match".
50 -
51 - * "git log --follow" did not honor the rename threshold score given
52 - with the -M option (e.g. "-M50%").
53 -
54 - * "git mv" gave suboptimal error/warning messages when it overwrites
55 - target files. It also did not pay attention to "-v" option.
56 -
57 - * Authenticated "git push" over dumb HTTP were broken with a recent
58 - change and failed without asking for password when username is
59 - given.
60 -
61 - * "git push" to an empty repository over HTTP were broken with a
62 - recent change to the ref handling.
63 -
64 - * "git push -v" forgot how to be verbose by mistake. It now properly
65 - becomes verbose when asked to.
66 -
67 - * When a "reword" action in "git rebase -i" failed to run "commit --amend",
68 - we did not give the control back to the user to resolve the situation, and
69 - instead kept the original commit log message.
70 -
71 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.8.3.adoc mode 100644
@@ -1,16 +0,0 @@
1 - Git v1.7.8.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.8.2
5 - --------------------
6 -
7 - * Attempt to fetch from an empty file pretending it to be a bundle did
8 - not error out correctly.
9 -
10 - * gitweb did not correctly fall back to configured $fallback_encoding
11 - that is not 'latin1'.
12 -
13 - * "git clone --depth $n" did not catch a non-number given as $n as an
14 - error.
15 -
16 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.8.4.adoc mode 100644
@@ -1,23 +0,0 @@
1 - Git v1.7.8.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.8.3
5 - --------------------
6 -
7 - * The code to look up attributes for paths reused entries from a wrong
8 - directory when two paths in question are in adjacent directories and
9 - the name of the one directory is a prefix of the other.
10 -
11 - * A wildcard that matches deeper hierarchy given to the "diff-index" command,
12 - e.g. "git diff-index HEAD -- '*.txt'", incorrectly reported additions of
13 - matching files even when there is no change.
14 -
15 - * When producing a "thin pack" (primarily used in bundles and smart
16 - HTTP transfers) out of a fully packed repository, we unnecessarily
17 - avoided sending recent objects as a delta against objects we know
18 - the other side has.
19 -
20 - * "git send-email" did not properly treat sendemail.multiedit as a
21 - boolean (e.g. setting it to "false" did not turn it off).
22 -
23 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.8.5.adoc mode 100644
@@ -1,19 +0,0 @@
1 - Git v1.7.8.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.8.4
5 - --------------------
6 -
7 - * Dependency on our thread-utils.h header file was missing for
8 - objects that depend on it in the Makefile.
9 -
10 - * "git am" when fed an empty file did not correctly finish reading it
11 - when it attempts to guess the input format.
12 -
13 - * "git grep -P" (when PCRE is enabled in the build) did not match the
14 - beginning and the end of the line correctly with ^ and $.
15 -
16 - * "git rebase -m" tried to run "git notes copy" needlessly when
17 - nothing was rewritten.
18 -
19 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.8.6.adoc mode 100644
@@ -1,22 +0,0 @@
1 - Git v1.7.8.6 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.8.5
5 - --------------------
6 -
7 - * An error message from 'git bundle' had an unmatched single quote pair in it.
8 -
9 - * 'git diff --histogram' option was not described.
10 -
11 - * Documentation for 'git rev-list' had minor formatting errors.
12 -
13 - * 'git imap-send' carried an unused dead code.
14 -
15 - * The way 'git fetch' implemented its connectivity check over
16 - received objects was overly pessimistic, and wasted a lot of
17 - cycles.
18 -
19 - * Various minor backports of fixes from the 'master' and the 'maint'
20 - branch.
21 -
22 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.8.adoc mode 100644
@@ -1,161 +0,0 @@
1 - Git v1.7.8 Release Notes
2 - ========================
3 -
4 - Updates since v1.7.7
5 - --------------------
6 -
7 - * Some git-svn, git-gui, git-p4 (in contrib) and msysgit updates.
8 -
9 - * Updates to bash completion scripts.
10 -
11 - * The build procedure has been taught to take advantage of computed
12 - dependency automatically when the compiler supports it.
13 -
14 - * The date parser now accepts timezone designators that lack minutes
15 - part and also has a colon between "hh:mm".
16 -
17 - * The contents of the /etc/mailname file, if exists, is used as the
18 - default value of the hostname part of the committer/author e-mail.
19 -
20 - * "git am" learned how to read from patches generated by Hg.
21 -
22 - * "git archive" talking with a remote repository can report errors
23 - from the remote side in a more informative way.
24 -
25 - * "git branch" learned an explicit --list option to ask for branches
26 - listed, optionally with a glob matching pattern to limit its output.
27 -
28 - * "git check-attr" learned "--cached" option to look at .gitattributes
29 - files from the index, not from the working tree.
30 -
31 - * Variants of "git cherry-pick" and "git revert" that take multiple
32 - commits learned to "--continue" and "--abort".
33 -
34 - * "git daemon" gives more human readable error messages to clients
35 - using ERR packets when appropriate.
36 -
37 - * Errors at the network layer is logged by "git daemon".
38 -
39 - * "git diff" learned "--minimal" option to spend extra cycles to come
40 - up with a minimal patch output.
41 -
42 - * "git diff" learned "--function-context" option to show the whole
43 - function as context that was affected by a change.
44 -
45 - * "git difftool" can be told to skip launching the tool for a path by
46 - answering 'n' to its prompt.
47 -
48 - * "git fetch" learned to honor transfer.fsckobjects configuration to
49 - validate the objects that were received from the other end, just like
50 - "git receive-pack" (the receiving end of "git push") does.
51 -
52 - * "git fetch" makes sure that the set of objects it received from the
53 - other end actually completes the history before updating the refs.
54 - "git receive-pack" (the receiving end of "git push") learned to do the
55 - same.
56 -
57 - * "git fetch" learned that fetching/cloning from a regular file on the
58 - filesystem is not necessarily a request to unpack a bundle file; the
59 - file could be ".git" with "gitdir: <path>" in it.
60 -
61 - * "git for-each-ref" learned "%(contents:subject)", "%(contents:body)"
62 - and "%(contents:signature)". The last one is useful for signed tags.
63 -
64 - * "git grep" used to incorrectly pay attention to .gitignore files
65 - scattered in the directory it was working in even when "--no-index"
66 - option was used. It no longer does this. The "--exclude-standard"
67 - option needs to be given to explicitly activate the ignore
68 - mechanism.
69 -
70 - * "git grep" learned "--untracked" option, where given patterns are
71 - searched in untracked (but not ignored) files as well as tracked
72 - files in the working tree, so that matches in new but not yet
73 - added files do not get missed.
74 -
75 - * The recursive merge backend no longer looks for meaningless
76 - existing merges in submodules unless in the outermost merge.
77 -
78 - * "git log" and friends learned "--children" option.
79 -
80 - * "git ls-remote" learned to respond to "-h"(elp) requests.
81 -
82 - * "mediawiki" remote helper can interact with (surprise!) MediaWiki
83 - with "git fetch" & "git push".
84 -
85 - * "git merge" learned the "--edit" option to allow users to edit the
86 - merge commit log message.
87 -
88 - * "git rebase -i" can be told to use special purpose editor suitable
89 - only for its insn sheet via sequence.editor configuration variable.
90 -
91 - * "git send-email" learned to respond to "-h"(elp) requests.
92 -
93 - * "git send-email" allows the value given to sendemail.aliasfile to begin
94 - with "~/" to refer to the $HOME directory.
95 -
96 - * "git send-email" forces use of Authen::SASL::Perl to work around
97 - issues between Authen::SASL::Cyrus and AUTH PLAIN/LOGIN.
98 -
99 - * "git stash" learned "--include-untracked" option to stash away
100 - untracked/ignored cruft from the working tree.
101 -
102 - * "git submodule clone" does not leak an error message to the UI
103 - level unnecessarily anymore.
104 -
105 - * "git submodule update" learned to honor "none" as the value for
106 - submodule.<name>.update to specify that the named submodule should
107 - not be checked out by default.
108 -
109 - * When populating a new submodule directory with "git submodule init",
110 - the $GIT_DIR metainformation directory for submodules is created inside
111 - $GIT_DIR/modules/<name>/ directory of the superproject and referenced
112 - via the gitfile mechanism. This is to make it possible to switch
113 - between commits in the superproject that has and does not have the
114 - submodule in the tree without re-cloning.
115 -
116 - * "gitweb" leaked unescaped control characters from syntax hiliter
117 - outputs.
118 -
119 - * "gitweb" can be told to give custom string at the end of the HTML
120 - HEAD element.
121 -
122 - * "gitweb" now has its own manual pages.
123 -
124 -
125 - Also contains other documentation updates and minor code cleanups.
126 -
127 -
128 - Fixes since v1.7.7
129 - ------------------
130 -
131 - Unless otherwise noted, all fixes in the 1.7.7.X maintenance track are
132 - included in this release.
133 -
134 - * HTTP transport did not use pushurl correctly, and also did not tell
135 - what host it is trying to authenticate with when asking for
136 - credentials.
137 - (merge deba493 jk/http-auth later to maint).
138 -
139 - * "git blame" was aborted if started from an uncommitted content and
140 - the path had the textconv filter in effect.
141 - (merge 8518088 ss/blame-textconv-fake-working-tree later to maint).
142 -
143 - * Adding many refs to the local repository in one go (e.g. "git fetch"
144 - that fetches many tags) and looking up a ref by name in a repository
145 - with too many refs were unnecessarily slow.
146 - (merge 17d68a54d jp/get-ref-dir-unsorted later to maint).
147 -
148 - * Report from "git commit" on untracked files was confused under
149 - core.ignorecase option.
150 - (merge 395c7356 jk/name-hash-dirent later to maint).
151 -
152 - * "git merge" did not understand ":/<pattern>" as a way to name a commit.
153 -
154 - " "git push" on the receiving end used to call post-receive and post-update
155 - hooks for attempted removal of non-existing refs.
156 - (merge 160b81ed ph/push-to-delete-nothing later to maint).
157 -
158 - * Help text for "git remote set-url" and "git remote set-branches"
159 - were misspelled.
160 - (merge c49904e fc/remote-seturl-usage-fix later to maint).
161 - (merge 656cdf0 jc/remote-setbranches-usage-fix later to maint).
deleted Documentation/RelNotes/1.7.9.1.adoc mode 100644
@@ -1,63 +0,0 @@
1 - Git v1.7.9.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.9
5 - ------------------
6 -
7 - * The makefile allowed environment variable X seep into it result in
8 - command names suffixed with unnecessary strings.
9 -
10 - * The set of included header files in compat/inet-{ntop,pton}
11 - wrappers was updated for Windows some time ago, but in a way that
12 - broke Solaris build.
13 -
14 - * rpmbuild noticed an unpackaged but installed *.mo file and failed.
15 -
16 - * Subprocesses spawned from various git programs were often left running
17 - to completion even when the top-level process was killed.
18 -
19 - * "git add -e" learned not to show a diff for an otherwise unmodified
20 - submodule that only has uncommitted local changes in the patch
21 - prepared by for the user to edit.
22 -
23 - * Typo in "git branch --edit-description my-tpoic" was not diagnosed.
24 -
25 - * Using "git grep -l/-L" together with options -W or --break may not
26 - make much sense as the output is to only count the number of hits
27 - and there is no place for file breaks, but the latter options made
28 - "-l/-L" to miscount the hits.
29 -
30 - * "git log --first-parent $pathspec" did not stay on the first parent
31 - chain and veered into side branch from which the whole change to the
32 - specified paths came.
33 -
34 - * "git merge --no-edit $tag" failed to honor the --no-edit option.
35 -
36 - * "git merge --ff-only $tag" failed because it cannot record the
37 - required mergetag without creating a merge, but this is so common
38 - operation for branch that is used _only_ to follow the upstream, so
39 - it was changed to allow fast-forwarding without recording the mergetag.
40 -
41 - * "git mergetool" now gives an empty file as the common base version
42 - to the backend when dealing with the "both sides added, differently"
43 - case.
44 -
45 - * "git push -q" was not sufficiently quiet.
46 -
47 - * When "git push" fails to update any refs, the client side did not
48 - report an error correctly to the end user.
49 -
50 - * "rebase" and "commit --amend" failed to work on commits with ancient
51 - timestamps near year 1970.
52 -
53 - * When asking for a tag to be pulled, "request-pull" did not show the
54 - name of the tag prefixed with "tags/", which would have helped older
55 - clients.
56 -
57 - * "git submodule add $path" forgot to recompute the name to be stored
58 - in .gitmodules when the submodule at $path was once added to the
59 - superproject and already initialized.
60 -
61 - * Many small corner case bugs on "git tag -n" was corrected.
62 -
63 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.9.2.adoc mode 100644
@@ -1,69 +0,0 @@
1 - Git v1.7.9.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.9.1
5 - --------------------
6 -
7 - * Bash completion script (in contrib/) did not like a pattern that
8 - begins with a dash to be passed to __git_ps1 helper function.
9 -
10 - * Adaptation of the bash completion script (in contrib/) for zsh
11 - incorrectly listed all subcommands when "git <TAB><TAB>" was given
12 - to ask for list of porcelain subcommands.
13 -
14 - * The build procedure for profile-directed optimized binary was not
15 - working very well.
16 -
17 - * Some systems need to explicitly link -lcharset to get locale_charset().
18 -
19 - * t5541 ignored user-supplied port number used for HTTP server testing.
20 -
21 - * The error message emitted when we see an empty loose object was
22 - not phrased correctly.
23 -
24 - * The code to ask for password did not fall back to the terminal
25 - input when GIT_ASKPASS is set but does not work (e.g. lack of X
26 - with GUI askpass helper).
27 -
28 - * We failed to give the true terminal width to any subcommand when
29 - they are invoked with the pager, i.e. "git -p cmd".
30 -
31 - * map_user() was not rewriting its output correctly, which resulted
32 - in the user visible symptom that "git blame -e" sometimes showed
33 - excess '>' at the end of email addresses.
34 -
35 - * "git checkout -b" did not allow switching out of an unborn branch.
36 -
37 - * When you have both .../foo and .../foo.git, "git clone .../foo" did not
38 - favor the former but the latter.
39 -
40 - * "git commit" refused to create a commit when entries added with
41 - "add -N" remained in the index, without telling Git what their content
42 - in the next commit should be. We should have created the commit without
43 - these paths.
44 -
45 - * "git diff --stat" said "files", "insertions", and "deletions" even
46 - when it is showing one "file", one "insertion" or one "deletion".
47 -
48 - * The output from "git diff --stat" for two paths that have the same
49 - amount of changes showed graph bars of different length due to the
50 - way we handled rounding errors.
51 -
52 - * "git grep" did not pay attention to -diff (hence -binary) attribute.
53 -
54 - * The transport programs (fetch, push, clone)ignored --no-progress
55 - and showed progress when sending their output to a terminal.
56 -
57 - * Sometimes error status detected by a check in an earlier phase of
58 - "git receive-pack" (the other end of "git push") was lost by later
59 - checks, resulting in false indication of success.
60 -
61 - * "git rev-list --verify" sometimes skipped verification depending on
62 - the phase of the moon, which dates back to 1.7.8.x series.
63 -
64 - * Search box in "gitweb" did not accept non-ASCII characters correctly.
65 -
66 - * Search interface of "gitweb" did not show multiple matches in the same file
67 - correctly.
68 -
69 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.9.3.adoc mode 100644
@@ -1,51 +0,0 @@
1 - Git v1.7.9.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.9.2
5 - --------------------
6 -
7 - * "git p4" (in contrib/) submit the changes to a wrong place when the
8 - "--use-client-spec" option is set.
9 -
10 - * The config.mak.autogen generated by optional autoconf support tried
11 - to link the binary with -lintl even when libintl.h is missing from
12 - the system.
13 -
14 - * When the filter driver exits before reading the content before the
15 - main git process writes the contents to be filtered to the pipe to
16 - it, the latter could be killed with SIGPIPE instead of ignoring
17 - such an event as an error.
18 -
19 - * "git add --refresh <pathspec>" used to warn about unmerged paths
20 - outside the given pathspec.
21 -
22 - * The bulk check-in codepath in "git add" streamed contents that
23 - needs smudge/clean filters without running them, instead of punting
24 - and delegating to the codepath to run filters after slurping
25 - everything to core.
26 -
27 - * "git branch --with $that" assumed incorrectly that the user will never
28 - ask the question with nonsense value in $that.
29 -
30 - * "git bundle create" produced a corrupt bundle file upon seeing
31 - commits with excessively long subject line.
32 -
33 - * When a remote helper exits before reading the blank line from the
34 - main git process to signal the end of commands, the latter could be
35 - killed with SIGPIPE. Instead we should ignore such event as a
36 - non-error.
37 -
38 - * The commit log template given with "git merge --edit" did not have
39 - a short instructive text like what "git commit" gives.
40 -
41 - * "git rev-list --verify-objects -q" omitted the extra verification
42 - it needs to do over "git rev-list --objects -q" by mistake.
43 -
44 - * "gitweb" used to drop warnings in the log file when "heads" view is
45 - accessed in a repository whose HEAD does not point at a valid
46 - branch.
47 -
48 - * An invalid regular expression pattern given by an end user made
49 - "gitweb" to return garbled response.
50 -
51 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.9.4.adoc mode 100644
@@ -1,24 +0,0 @@
1 - Git v1.7.9.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.9.3
5 - --------------------
6 -
7 - * The code to synthesize the fake ancestor tree used by 3-way merge
8 - fallback in "git am" was not prepared to read a patch created with
9 - a non-standard -p<num> value.
10 -
11 - * "git bundle" did not record boundary commits correctly when there
12 - are many of them.
13 -
14 - * "git diff-index" and its friends at the plumbing level showed the
15 - "diff --git" header and nothing else for a path whose cached stat
16 - info is dirty without actual difference when asked to produce a
17 - patch. This was a longstanding bug that we could have fixed long
18 - time ago.
19 -
20 - * "gitweb" did use quotemeta() to prepare search string when asked to
21 - do a fixed-string project search, but did not use it by mistake and
22 - used the user-supplied string instead.
23 -
24 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.9.5.adoc mode 100644
@@ -1,23 +0,0 @@
1 - Git v1.7.9.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.9.4
5 - --------------------
6 -
7 - * When "git config" diagnoses an error in a configuration file and
8 - shows the line number for the offending line, it miscounted if the
9 - error was at the end of line.
10 -
11 - * "git fast-import" accepted "ls" command with an empty path by
12 - mistake.
13 -
14 - * Various new-ish output decoration modes of "git grep" were not
15 - documented in the manual's synopsis section.
16 -
17 - * The "remaining" subcommand to "git rerere" was not documented.
18 -
19 - * "gitweb" used to drop warnings in the log file when "heads" view is
20 - accessed in a repository whose HEAD does not point at a valid
21 - branch.
22 -
23 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.9.6.adoc mode 100644
@@ -1,12 +0,0 @@
1 - Git v1.7.9.6 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.9.5
5 - --------------------
6 -
7 - * "git merge $tag" to merge an annotated tag always opens the editor
8 - during an interactive edit session. v1.7.10 series introduced an
9 - environment variable GIT_MERGE_AUTOEDIT to help older scripts decline
10 - this behaviour, but the maintenance track should also support it.
11 -
12 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.9.7.adoc mode 100644
@@ -1,13 +0,0 @@
1 - Git v1.7.9.7 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.7.9.6
5 - --------------------
6 -
7 - * An error message from 'git bundle' had an unmatched single quote pair in it.
8 -
9 - * The way 'git fetch' implemented its connectivity check over
10 - received objects was overly pessimistic, and wasted a lot of
11 - cycles.
12 -
13 - Also contains minor fixes and documentation updates.
deleted Documentation/RelNotes/1.7.9.adoc mode 100644
@@ -1,112 +0,0 @@
1 - Git v1.7.9 Release Notes
2 - ========================
3 -
4 - Updates since v1.7.8
5 - --------------------
6 -
7 - * gitk updates accumulated since early 2011.
8 -
9 - * git-gui updated to 0.16.0.
10 -
11 - * git-p4 (in contrib/) updates.
12 -
13 - * Git uses gettext to translate its most common interface messages
14 - into the user's language if translations are available and the
15 - locale is appropriately set. Distributors can drop new PO files
16 - in po/ to add new translations.
17 -
18 - * The code to handle username/password for HTTP transactions used in
19 - "git push" & "git fetch" learned to talk "credential API" to
20 - external programs to cache or store them, to allow integration with
21 - platform native keychain mechanisms.
22 -
23 - * The input prompts in the terminal use our own getpass() replacement
24 - when possible. HTTP transactions used to ask for the username without
25 - echoing back what was typed, but with this change you will see it as
26 - you type.
27 -
28 - * The internals of "revert/cherry-pick" have been tweaked to prepare
29 - building more generic "sequencer" on top of the implementation that
30 - drives them.
31 -
32 - * "git rev-parse FETCH_HEAD" after "git fetch" without specifying
33 - what to fetch from the command line will now show the commit that
34 - would be merged if the command were "git pull".
35 -
36 - * "git add" learned to stream large files directly into a packfile
37 - instead of writing them into individual loose object files.
38 -
39 - * "git checkout -B <current branch> <elsewhere>" is a more intuitive
40 - way to spell "git reset --keep <elsewhere>".
41 -
42 - * "git checkout" and "git merge" learned "--no-overwrite-ignore" option
43 - to tell Git that untracked and ignored files are not expendable.
44 -
45 - * "git commit --amend" learned "--no-edit" option to say that the
46 - user is amending the tree being recorded, without updating the
47 - commit log message.
48 -
49 - * "git commit" and "git reset" re-learned the optimization to prime
50 - the cache-tree information in the index, which makes it faster to
51 - write a tree object out after the index entries are updated.
52 -
53 - * "git commit" detects and rejects an attempt to stuff NUL byte in
54 - the commit log message.
55 -
56 - * "git commit" learned "-S" to GPG-sign the commit; this can be shown
57 - with the "--show-signature" option to "git log".
58 -
59 - * fsck and prune are relatively lengthy operations that still go
60 - silent while making the end-user wait. They learned to give progress
61 - output like other slow operations.
62 -
63 - * The set of built-in function-header patterns for various languages
64 - knows MATLAB.
65 -
66 - * "git log --format='<format>'" learned new %g[nNeE] specifiers to
67 - show information from the reflog entries when walking the reflog
68 - (i.e. with "-g").
69 -
70 - * "git pull" can be used to fetch and merge an annotated/signed tag,
71 - instead of the tip of a topic branch. The GPG signature from the
72 - signed tag is recorded in the resulting merge commit for later
73 - auditing.
74 -
75 - * "git log" learned "--show-signature" option to show the signed tag
76 - that was merged that is embedded in the merge commit. It also can
77 - show the signature made on the commit with "git commit -S".
78 -
79 - * "git branch --edit-description" can be used to add descriptive text
80 - to explain what a topic branch is about.
81 -
82 - * "git fmt-merge-msg" learned to take the branch description into
83 - account when preparing a merge summary that "git merge" records
84 - when merging a local branch.
85 -
86 - * "git request-pull" has been updated to convey more information
87 - useful for integrators to decide if a topic is worth merging and
88 - what is pulled is indeed what the requestor asked to pull,
89 - including:
90 -
91 - - the tip of the branch being requested to be merged;
92 - - the branch description describing what the topic is about;
93 - - the contents of the annotated tag, when requesting to pull a tag.
94 -
95 - * "git pull" learned to notice 'pull.rebase' configuration variable,
96 - which serves as a global fallback for setting 'branch.<name>.rebase'
97 - configuration variable per branch.
98 -
99 - * "git tag" learned "--cleanup" option to control how the whitespaces
100 - and empty lines in tag message are cleaned up.
101 -
102 - * "gitweb" learned to show side-by-side diff.
103 -
104 - Also contains minor documentation updates and code clean-ups.
105 -
106 -
107 - Fixes since v1.7.8
108 - ------------------
109 -
110 - Unless otherwise noted, all the fixes since v1.7.8 in the maintenance
111 - releases are contained in this release (see release notes to them for
112 - details).
deleted Documentation/RelNotes/1.8.0.1.adoc mode 100644
@@ -1,64 +0,0 @@
1 - Git v1.8.0.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.0
5 - ------------------
6 -
7 - * The configuration parser had an unnecessary hardcoded limit on
8 - variable names that was not checked consistently.
9 -
10 - * The "say" function in the test scaffolding incorrectly allowed
11 - "echo" to interpret "\a" as if it were a C-string asking for a
12 - BEL output.
13 -
14 - * "git mergetool" feeds /dev/null as a common ancestor when dealing
15 - with an add/add conflict, but p4merge backend cannot handle
16 - it. Work it around by passing a temporary empty file.
17 -
18 - * "git log -F -E --grep='<ere>'" failed to use the given <ere>
19 - pattern as extended regular expression, and instead looked for the
20 - string literally.
21 -
22 - * "git grep -e pattern <tree>" asked the attribute system to read
23 - "<tree>:.gitattributes" file in the working tree, which was
24 - nonsense.
25 -
26 - * A symbolic ref refs/heads/SYM was not correctly removed with "git
27 - branch -d SYM"; the command removed the ref pointed by SYM
28 - instead.
29 -
30 - * Earlier we fixed documentation to hyphenate "remote-tracking branch"
31 - to clarify that these are not a remote entity, but unhyphenated
32 - spelling snuck in to a few places since then.
33 -
34 - * "git pull --rebase" run while the HEAD is detached tried to find
35 - the upstream branch of the detached HEAD (which by definition
36 - does not exist) and emitted unnecessary error messages.
37 -
38 - * The refs/replace hierarchy was not mentioned in the
39 - repository-layout docs.
40 -
41 - * Sometimes curl_multi_timeout() function suggested a wrong timeout
42 - value when there is no file descriptors to wait on and the http
43 - transport ended up sleeping for minutes in select(2) system call.
44 - A workaround has been added for this.
45 -
46 - * Various rfc2047 quoting issues around a non-ASCII name on the
47 - From: line in the output from format-patch have been corrected.
48 -
49 - * "git diff -G<pattern>" did not honor textconv filter when looking
50 - for changes.
51 -
52 - * Bash completion script (in contrib/) did not correctly complete a
53 - lazy "git checkout $name_of_remote_tracking_branch_that_is_unique"
54 - command line.
55 -
56 - * RSS feed from "gitweb" had a xss hole in its title output.
57 -
58 - * "git config --path $key" segfaulted on "[section] key" (a boolean
59 - "true" spelled without "=", not "[section] key = true").
60 -
61 - * "git checkout -b foo" while on an unborn branch did not say
62 - "Switched to a new branch 'foo'" like other cases.
63 -
64 - Also contains other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.8.0.2.adoc mode 100644
@@ -1,34 +0,0 @@
1 - Git v1.8.0.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.0.1
5 - --------------------
6 -
7 - * Various codepaths have workaround for a common misconfiguration to
8 - spell "UTF-8" as "utf8", but it was not used uniformly. Most
9 - notably, mailinfo (which is used by "git am") lacked this support.
10 -
11 - * We failed to mention a file without any content change but whose
12 - permission bit was modified, or (worse yet) a new file without any
13 - content in the "git diff --stat" output.
14 -
15 - * When "--stat-count" hides a diffstat for binary contents, the total
16 - number of added and removed lines at the bottom was computed
17 - incorrectly.
18 -
19 - * When "--stat-count" hides a diffstat for unmerged paths, the total
20 - number of affected files at the bottom of the "diff --stat" output
21 - was computed incorrectly.
22 -
23 - * "diff --shortstat" miscounted the total number of affected files
24 - when there were unmerged paths.
25 -
26 - * "git p4" used to try expanding malformed "$keyword$" that spans
27 - across multiple lines.
28 -
29 - * "git update-ref -d --deref SYM" to delete a ref through a symbolic
30 - ref that points to it did not remove it correctly.
31 -
32 - * Syntax highlighting in "gitweb" was not quite working.
33 -
34 - Also contains other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.8.0.3.adoc mode 100644
@@ -1,14 +0,0 @@
1 - Git v1.8.0.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.0.2
5 - --------------------
6 -
7 - * "git log -p -S<string>" did not apply the textconv filter while
8 - looking for the <string>.
9 -
10 - * In the documentation, some invalid example e-mail addresses were
11 - formatted into mailto: links.
12 -
13 - Also contains many documentation updates backported from the 'master'
14 - branch that is preparing for the upcoming 1.8.1 release.
deleted Documentation/RelNotes/1.8.0.adoc mode 100644
@@ -1,267 +0,0 @@
1 - Git v1.8.0 Release Notes
2 - ========================
3 -
4 - Backward compatibility notes
5 - ----------------------------
6 -
7 - In the next major release (not *this* one), we will change the
8 - behavior of the "git push" command.
9 -
10 - When "git push [$there]" does not say what to push, we have used the
11 - traditional "matching" semantics so far (all your branches were sent
12 - to the remote as long as there already are branches of the same name
13 - over there). We will use the "simple" semantics that pushes the
14 - current branch to the branch with the same name, only when the current
15 - branch is set to integrate with that remote branch. There is a user
16 - preference configuration variable "push.default" to change this, and
17 - "git push" will warn about the upcoming change until you set this
18 - variable in this release.
19 -
20 - "git branch --set-upstream" is deprecated and may be removed in a
21 - relatively distant future. "git branch [-u|--set-upstream-to]" has
22 - been introduced with a saner order of arguments.
23 -
24 -
25 - Updates since v1.7.12
26 - ---------------------
27 -
28 - UI, Workflows & Features
29 -
30 - * A credential helper for Win32 to allow access to the keychain of
31 - the logged-in user has been added.
32 -
33 - * An initial port to HP NonStop.
34 -
35 - * A credential helper to allow access to the Gnome keyring has been
36 - added.
37 -
38 - * When "git am" sanitizes the "Subject:" line, we strip the prefix from
39 - "Re: subject" and also from a less common "re: subject", but left
40 - the even less common "RE: subject" intact. Now we strip that too.
41 -
42 - * It was tempting to say "git branch --set-upstream origin/master",
43 - but that tells Git to arrange the local branch "origin/master" to
44 - integrate with the currently checked out branch, which is highly
45 - unlikely what the user meant. The option is deprecated; use the
46 - new "--set-upstream-to" (with a short-and-sweet "-u") option
47 - instead.
48 -
49 - * "git cherry-pick" learned the "--allow-empty-message" option to
50 - allow it to replay a commit without any log message.
51 -
52 - * After "git cherry-pick -s" gave control back to the user asking
53 - help to resolve conflicts, concluding "git commit" used to need to
54 - be run with "-s" if the user wants to sign it off; now the command
55 - leaves the sign-off line in the log template.
56 -
57 - * "git daemon" learned the "--access-hook" option to allow an
58 - external command to decline service based on the client address,
59 - repository path, etc.
60 -
61 - * "git difftool --dir-diff" learned to use symbolic links to prepare
62 - a temporary copy of the working tree when available.
63 -
64 - * "git grep" learned to use a non-standard pattern type by default if
65 - a configuration variable tells it to.
66 -
67 - * Accumulated updates to "git gui" has been merged.
68 -
69 - * "git log -g" learned the "--grep-reflog=<pattern>" option to limit
70 - its output to commits with a reflog message that matches the given
71 - pattern.
72 -
73 - * "git merge-base" learned the "--is-ancestor A B" option to tell if A is
74 - an ancestor of B. The result is indicated by its exit status code.
75 -
76 - * "git mergetool" now allows users to override the actual command used
77 - with the mergetool.$name.cmd configuration variable even for built-in
78 - mergetool backends.
79 -
80 - * "git rebase -i" learned the "--edit-todo" option to open an editor
81 - to edit the instruction sheet.
82 -
83 -
84 - Foreign Interface
85 -
86 - * "git svn" has been updated to work with SVN 1.7.
87 -
88 - * "git p4" learned the "--conflicts" option to specify what to do when
89 - encountering a conflict during "p4 submit".
90 -
91 -
92 - Performance, Internal Implementation, etc.
93 -
94 - * Git ships with a fall-back regexp implementation for platforms with
95 - buggy regexp library, but it was easy for people to keep using their
96 - platform regexp by mistake. A new test has been added to check this.
97 -
98 - * The "check-docs" build target has been updated and greatly
99 - simplified.
100 -
101 - * The test suite is run under MALLOC_CHECK_ when running with a glibc
102 - that supports the feature.
103 -
104 - * The documentation in the TeXinfo format was using indented output
105 - for materials meant to be examples that are better typeset in
106 - monospace.
107 -
108 - * Compatibility wrapper around some mkdir(2) implementations that
109 - reject parameters with trailing slash has been introduced.
110 -
111 - * Compatibility wrapper for systems that lack usable setitimer() has
112 - been added.
113 -
114 - * The option parsing of "git checkout" had error checking, dwim and
115 - defaulting missing options, all mixed in the code, and issuing an
116 - appropriate error message with useful context was getting harder.
117 - The code has been reorganized to allow giving a proper diagnosis
118 - when the user says "git checkout -b -t foo bar" (e.g. "-t" is not a
119 - good name for a branch).
120 -
121 - * Many internal uses of a "git merge-base" equivalent were only to see
122 - if one commit fast-forwards to the other, which did not need the
123 - full set of merge bases to be computed. They have been updated to
124 - use less expensive checks.
125 -
126 - * The heuristics to detect and silently convert latin1 to utf8 when
127 - we were told to use utf-8 in the log message has been transplanted
128 - from "mailinfo" to "commit" and "commit-tree".
129 -
130 - * Messages given by "git <subcommand> -h" from many subcommands have
131 - been marked for translation.
132 -
133 -
134 - Also contains minor documentation updates and code clean-ups.
135 -
136 -
137 - Fixes since v1.7.12
138 - -------------------
139 -
140 - Unless otherwise noted, all the fixes since v1.7.12 in the
141 - maintenance track are contained in this release (see release notes
142 - to them for details).
143 -
144 - * The attribute system may be asked for a path that itself or its
145 - leading directories no longer exists in the working tree, and it is
146 - fine if we cannot open .gitattribute file in such a case. Failure
147 - to open per-directory .gitattributes with error status other than
148 - ENOENT and ENOTDIR should be diagnosed, but it wasn't.
149 -
150 - * When looking for $HOME/.gitconfig etc., it is OK if we cannot read
151 - them because they do not exist, but we did not diagnose existing
152 - files that we cannot read.
153 -
154 - * When "git am" is fed an input that has multiple "Content-type: ..."
155 - header, it did not grok charset= attribute correctly.
156 -
157 - * "git am" mishandled a patch attached as application/octet-stream
158 - (e.g. not text/*); Content-Transfer-Encoding (e.g. base64) was not
159 - honored correctly.
160 -
161 - * "git blame MAKEFILE" run in a history that has "Makefile" but not
162 - "MAKEFILE" should say "No such file MAKEFILE in HEAD", but got
163 - confused on a case insensitive filesystem and failed to do so.
164 -
165 - * Even during a conflicted merge, "git blame $path" always meant to
166 - blame uncommitted changes to the "working tree" version; make it
167 - more useful by showing cleanly merged parts as coming from the other
168 - branch that is being merged.
169 -
170 - * It was unclear in the documentation for "git blame" that it is
171 - unnecessary for users to use the "--follow" option.
172 -
173 - * Output from "git branch -v" contains "(no branch)" that could be
174 - localized, but the code to align it along with the names of
175 - branches was counting in bytes, not in display columns.
176 -
177 - * "git cherry-pick A C B" used to replay changes in A and then B and
178 - then C if these three commits had committer timestamps in that
179 - order, which is not what the user who said "A C B" naturally
180 - expects.
181 -
182 - * A repository created with "git clone --single" had its fetch
183 - refspecs set up just like a clone without "--single", leading the
184 - subsequent "git fetch" to slurp all the other branches, defeating
185 - the whole point of specifying "only this branch".
186 -
187 - * Documentation talked about "first line of commit log" when it meant
188 - the title of the commit. The description was clarified by defining
189 - how the title is decided and rewording the casual mention of "first
190 - line" to "title".
191 -
192 - * "git cvsimport" did not thoroughly cleanse tag names that it
193 - inferred from the names of the tags it obtained from CVS, which
194 - caused "git tag" to barf and stop the import in the middle.
195 -
196 - * Earlier we made the diffstat summary line that shows the number of
197 - lines added/deleted localizable, but it was found irritating having
198 - to see them in various languages on a list whose discussion language
199 - is English, and this change has been reverted.
200 -
201 - * "git fetch --all", when passed "--no-tags", did not honor the
202 - "--no-tags" option while fetching from individual remotes (the same
203 - issue existed with "--tags", but the combination "--all --tags" makes
204 - much less sense than "--all --no-tags").
205 -
206 - * "git fetch" over http had an old workaround for an unlikely server
207 - misconfiguration; it turns out that this hurts debuggability of the
208 - configuration in general, and has been reverted.
209 -
210 - * "git fetch" over http advertised that it supports "deflate", which
211 - is much less common, and did not advertise the more common "gzip" on
212 - its Accept-Encoding header.
213 -
214 - * "git fetch" over the dumb-http revision walker could segfault when
215 - curl's multi interface was used.
216 -
217 - * "git gc --auto" notified the user that auto-packing has triggered
218 - even under the "--quiet" option.
219 -
220 - * After "gitk" showed the contents of a tag, neither "Reread
221 - references" nor "Reload" updated what is shown as the
222 - contents of it when the user overwrote the tag with "git tag -f".
223 -
224 - * "git log --all-match --grep=A --grep=B" ought to show commits that
225 - mention both A and B, but when these three options are used with
226 - --author or --committer, it showed commits that mention either A or
227 - B (or both) instead.
228 -
229 - * The "-Xours" backend option to "git merge -s recursive" was ignored
230 - for binary files.
231 -
232 - * "git p4", when "--use-client-spec" and "--detect-branches" are used
233 - together, misdetected branches.
234 -
235 - * "git receive-pack" (the counterpart to "git push") did not give
236 - progress output while processing objects it received to the user
237 - when run over the smart-http protocol.
238 -
239 - * When you misspell the command name you give to the "exec" action in
240 - the "git rebase -i" instruction sheet you were told that 'rebase' is not a
241 - git subcommand from "git rebase --continue".
242 -
243 - * The subcommand in "git remote" to remove a defined remote was
244 - "rm" and the command did not take a fully-spelled "remove".
245 -
246 - * The interactive prompt that "git send-email" gives was error prone. It
247 - asked "What e-mail address do you want to use?" with the address it
248 - guessed (correctly) the user would want to use in its prompt,
249 - tempting the user to say "y". But the response was taken as "No,
250 - please use 'y' as the e-mail address instead", which is most
251 - certainly not what the user meant.
252 -
253 - * "git show --format='%ci'" did not give the timestamp correctly for
254 - commits created without human readable name on the "committer" line.
255 -
256 - * "git show --quiet" ought to be a synonym for "git show -s", but
257 - wasn't.
258 -
259 - * "git submodule frotz" was not diagnosed as "frotz" being an unknown
260 - subcommand to "git submodule"; the user instead got a complaint
261 - that "git submodule status" was run with an unknown path "frotz".
262 -
263 - * "git status" honored the ignore=dirty settings in .gitmodules but
264 - "git commit" didn't.
265 -
266 - * "gitweb" did not give the correct committer timezone in its feed
267 - output due to a typo.
deleted Documentation/RelNotes/1.8.1.1.adoc mode 100644
@@ -1,87 +0,0 @@
1 - Git 1.8.1.1 Release Notes
2 - =========================
3 -
4 - Fixes since v1.8.1
5 - ------------------
6 -
7 - * The attribute mechanism didn't allow limiting attributes to be
8 - applied to only a single directory itself with "path/" like the
9 - exclude mechanism does.
10 -
11 - * When attempting to read the XDG-style $HOME/.config/git/config and
12 - finding that $HOME/.config/git is a file, we gave a wrong error
13 - message, instead of treating the case as "a custom config file does
14 - not exist there" and moving on.
15 -
16 - * After failing to create a temporary file using mkstemp(), failing
17 - pathname was not reported correctly on some platforms.
18 -
19 - * http transport was wrong to ask for the username when the
20 - authentication is done by certificate identity.
21 -
22 - * The behaviour visible to the end users was confusing, when they
23 - attempt to kill a process spawned in the editor that was in turn
24 - launched by Git with SIGINT (or SIGQUIT), as Git would catch that
25 - signal and die. We ignore these signals now.
26 -
27 - * A child process that was killed by a signal (e.g. SIGINT) was
28 - reported in an inconsistent way depending on how the process was
29 - spawned by us, with or without a shell in between.
30 -
31 - * After "git add -N" and then writing a tree object out of the
32 - index, the cache-tree data structure got corrupted.
33 -
34 - * "git apply" misbehaved when fixing whitespace breakages by removing
35 - excess trailing blank lines in some corner cases.
36 -
37 - * A tar archive created by "git archive" recorded a directory in a
38 - way that made NetBSD's implementation of "tar" sometimes unhappy.
39 -
40 - * When "git clone --separate-git-dir=$over_there" is interrupted, it
41 - failed to remove the real location of the $GIT_DIR it created.
42 - This was most visible when interrupting a submodule update.
43 -
44 - * "git fetch --mirror" and fetch that uses other forms of refspec
45 - with wildcard used to attempt to update a symbolic ref that match
46 - the wildcard on the receiving end, which made little sense (the
47 - real ref that is pointed at by the symbolic ref would be updated
48 - anyway). Symbolic refs no longer are affected by such a fetch.
49 -
50 - * The "log --graph" codepath fell into infinite loop in some
51 - corner cases.
52 -
53 - * "git merge" started calling prepare-commit-msg hook like "git
54 - commit" does some time ago, but forgot to pay attention to the exit
55 - status of the hook.
56 -
57 - * "git pack-refs" that ran in parallel to another process that
58 - created new refs had a race that can lose new ones.
59 -
60 - * When a line to be wrapped has a solid run of non space characters
61 - whose length exactly is the wrap width, "git shortlog -w" failed
62 - to add a newline after such a line.
63 -
64 - * The way "git svn" asked for password using SSH_ASKPASS and
65 - GIT_ASKPASS was not in line with the rest of the system.
66 -
67 - * "gitweb", when sorting by age to show repositories with new
68 - activities first, used to sort repositories with absolutely
69 - nothing in it early, which was not very useful.
70 -
71 - * "gitweb", when sorting by age to show repositories with new
72 - activities first, used to sort repositories with absolutely
73 - nothing in it early, which was not very useful.
74 -
75 - * When autoconf is used, any build on a different commit always ran
76 - "config.status --recheck" even when unnecessary.
77 -
78 - * Some scripted programs written in Python did not get updated when
79 - PYTHON_PATH changed.
80 -
81 - * We have been carrying a translated and long-unmaintained copy of an
82 - old version of the tutorial; removed.
83 -
84 - * Portability issues in many self-test scripts have been addressed.
85 -
86 -
87 - Also contains other minor fixes and documentation updates.
deleted Documentation/RelNotes/1.8.1.2.adoc mode 100644
@@ -1,25 +0,0 @@
1 - Git 1.8.1.2 Release Notes
2 - =========================
3 -
4 - Fixes since v1.8.1.1
5 - --------------------
6 -
7 - * An element on GIT_CEILING_DIRECTORIES list that does not name the
8 - real path to a directory (i.e. a symbolic link) could have caused
9 - the GIT_DIR discovery logic to escape the ceiling.
10 -
11 - * Command line completion for "tcsh" emitted an unwanted space
12 - after completing a single directory name.
13 -
14 - * Command line completion leaked an unnecessary error message while
15 - looking for possible matches with paths in <tree-ish>.
16 -
17 - * "git archive" did not record uncompressed size in the header when
18 - streaming a zip archive, which confused some implementations of unzip.
19 -
20 - * When users spelled "cc:" in lowercase in the fake "header" in the
21 - trailer part, "git send-email" failed to pick up the addresses from
22 - there. As e-mail headers field names are case insensitive, this
23 - script should follow suit and treat "cc:" and "Cc:" the same way.
24 -
25 - Also contains various documentation fixes.
deleted Documentation/RelNotes/1.8.1.3.adoc mode 100644
@@ -1,47 +0,0 @@
1 - Git 1.8.1.3 Release Notes
2 - =========================
3 -
4 - Fixes since v1.8.1.2
5 - --------------------
6 -
7 - * The attribute mechanism didn't allow limiting attributes to be
8 - applied to only a single directory itself with "path/" like the
9 - exclude mechanism does. The fix for this in 1.8.1.2 had
10 - performance degradations.
11 -
12 - * Command line completion code was inadvertently made incompatible with
13 - older versions of bash by using a newer array notation.
14 -
15 - * Scripts to test bash completion was inherently flaky as it was
16 - affected by whatever random things the user may have on $PATH.
17 -
18 - * A fix was added to the build procedure to work around buggy
19 - versions of ccache broke the auto-generation of dependencies, which
20 - unfortunately is still relevant because some people use ancient
21 - distros.
22 -
23 - * We used to stuff "user@" and then append what we read from
24 - /etc/mailname to come up with a default e-mail ident, but a bug
25 - lost the "user@" part.
26 -
27 - * "git am" did not parse datestamp correctly from Hg generated patch,
28 - when it is run in a locale outside C (or en).
29 -
30 - * Attempt to "branch --edit-description" an existing branch, while
31 - being on a detached HEAD, errored out.
32 -
33 - * "git cherry-pick" did not replay a root commit to an unborn branch.
34 -
35 - * We forgot to close the file descriptor reading from "gpg" output,
36 - killing "git log --show-signature" on a long history.
37 -
38 - * "git rebase --preserve-merges" lost empty merges in recent versions
39 - of Git.
40 -
41 - * Rebasing the history of superproject with change in the submodule
42 - has been broken since v1.7.12.
43 -
44 - * A failure to push due to non-ff while on an unborn branch
45 - dereferenced a NULL pointer when showing an error message.
46 -
47 - Also contains various documentation fixes.
deleted Documentation/RelNotes/1.8.1.4.adoc mode 100644
@@ -1,11 +0,0 @@
1 - Git 1.8.1.4 Release Notes
2 - =========================
3 -
4 - Fixes since v1.8.1.3
5 - --------------------
6 -
7 - * "git imap-send" talking over imaps:// did make sure it received a
8 - valid certificate from the other end, but did not check if the
9 - certificate matched the host it thought it was talking to.
10 -
11 - Also contains various documentation fixes.
deleted Documentation/RelNotes/1.8.1.5.adoc mode 100644
@@ -1,47 +0,0 @@
1 - Git 1.8.1.5 Release Notes
2 - =========================
3 -
4 - Fixes since v1.8.1.4
5 - --------------------
6 -
7 - * Given a string with a multi-byte character that begins with '-' on
8 - the command line where an option is expected, the option parser
9 - used just one byte of the unknown letter when reporting an error.
10 -
11 - * In v1.8.1, the attribute parser was tightened too restrictive to
12 - error out upon seeing an entry that begins with an ! (exclamation),
13 - which may confuse users to expect a "negative match", which does
14 - not exist. This has been demoted to a warning; such an entry is
15 - still ignored.
16 -
17 - * "git apply --summary" has been taught to make sure the similarity
18 - value shown in its output is sensible, even when the input had a
19 - bogus value.
20 -
21 - * "git clean" showed what it was going to do, but sometimes ended
22 - up finding that it was not allowed to do so, which resulted in a
23 - confusing output (e.g. after saying that it will remove an
24 - untracked directory, it found an embedded git repository there
25 - which it is not allowed to remove). It now performs the actions
26 - and then reports the outcome more faithfully.
27 -
28 - * "git clone" used to allow --bare and --separate-git-dir=$there
29 - options at the same time, which was nonsensical.
30 -
31 - * "git cvsimport" mishandled timestamps at DST boundary.
32 -
33 - * We used to have an arbitrary 32 limit for combined diff input,
34 - resulting in incorrect number of leading colons shown when showing
35 - the "--raw --cc" output.
36 -
37 - * The smart HTTP clients forgot to verify the content-type that comes
38 - back from the server side to make sure that the request is being
39 - handled properly.
40 -
41 - * "git help remote-helpers" failed to find the documentation.
42 -
43 - * "gitweb" pages served over HTTPS, when configured to show picon or
44 - gravatar, referred to these external resources to be fetched via
45 - HTTP, resulting in mixed contents warning in browsers.
46 -
47 - Also contains various documentation fixes.
deleted Documentation/RelNotes/1.8.1.6.adoc mode 100644
@@ -1,39 +0,0 @@
1 - Git 1.8.1.6 Release Notes
2 - =========================
3 -
4 - Fixes since v1.8.1.5
5 - --------------------
6 -
7 - * An earlier change to the attribute system introduced at v1.8.1.2 by
8 - mistake stopped a pattern "dir" (without trailing slash) from
9 - matching a directory "dir" (it only wanted to allow pattern "dir/"
10 - to also match).
11 -
12 - * The code to keep track of what directory names are known to Git on
13 - platforms with case insensitive filesystems can get confused upon a
14 - hash collision between these pathnames and looped forever.
15 -
16 - * When the "--prefix" option is used to "checkout-index", the code
17 - did not pick the correct output filter based on the attribute
18 - setting.
19 -
20 - * Annotated tags outside refs/tags/ hierarchy were not advertised
21 - correctly to the ls-remote and fetch with recent version of Git.
22 -
23 - * The logic used by "git diff -M --stat" to shorten the names of
24 - files before and after a rename did not work correctly when the
25 - common prefix and suffix between the two filenames overlapped.
26 -
27 - * "git update-index -h" did not do the usual "-h(elp)" thing.
28 -
29 - * perl/Git.pm::cat_blob slurped everything in core only to write it
30 - out to a file descriptor, which was not a very smart thing to do.
31 -
32 - * The SSL peer verification done by "git imap-send" did not ask for
33 - Server Name Indication (RFC 4366), failing to connect SSL/TLS
34 - sites that serve multiple hostnames on a single IP.
35 -
36 - * "git bundle verify" did not say "records a complete history" for a
37 - bundle that does not have any prerequisites.
38 -
39 - Also contains various documentation fixes.
deleted Documentation/RelNotes/1.8.1.adoc mode 100644
@@ -1,241 +0,0 @@
1 - Git v1.8.1 Release Notes
2 - ========================
3 -
4 - Backward compatibility notes
5 - ----------------------------
6 -
7 - In the next major release (not *this* one), we will change the
8 - behavior of the "git push" command.
9 -
10 - When "git push [$there]" does not say what to push, we have used the
11 - traditional "matching" semantics so far (all your branches were sent
12 - to the remote as long as there already are branches of the same name
13 - over there). We will use the "simple" semantics that pushes the
14 - current branch to the branch with the same name, only when the current
15 - branch is set to integrate with that remote branch. There is a user
16 - preference configuration variable "push.default" to change this, and
17 - "git push" will warn about the upcoming change until you set this
18 - variable in this release.
19 -
20 - "git branch --set-upstream" is deprecated and may be removed in a
21 - relatively distant future. "git branch [-u|--set-upstream-to]" has
22 - been introduced with a saner order of arguments to replace it.
23 -
24 -
25 - Updates since v1.8.0
26 - --------------------
27 -
28 - UI, Workflows & Features
29 -
30 - * Command-line completion scripts for tcsh and zsh have been added.
31 -
32 - * "git-prompt" scriptlet (in contrib/completion) can be told to paint
33 - pieces of the hints in the prompt string in colors.
34 -
35 - * Some documentation pages that used to ship only in the plain text
36 - format are now formatted in HTML as well.
37 -
38 - * We used to have a workaround for a bug in ancient "less" that
39 - causes it to exit without any output when the terminal is resized.
40 - The bug has been fixed in "less" version 406 (June 2007), and the
41 - workaround has been removed in this release.
42 -
43 - * When "git checkout" checks out a branch, it tells the user how far
44 - behind (or ahead) the new branch is relative to the remote tracking
45 - branch it builds upon. The message now also advises how to sync
46 - them up by pushing or pulling. This can be disabled with the
47 - advice.statusHints configuration variable.
48 -
49 - * "git config --get" used to diagnose presence of multiple
50 - definitions of the same variable in the same configuration file as
51 - an error, but it now applies the "last one wins" rule used by the
52 - internal configuration logic. Strictly speaking, this may be an
53 - API regression but it is expected that nobody will notice it in
54 - practice.
55 -
56 - * A new configuration variable "diff.context" can be used to
57 - give the default number of context lines in the patch output, to
58 - override the hardcoded default of 3 lines.
59 -
60 - * "git format-patch" learned the "--notes=<ref>" option to give
61 - notes for the commit after the three-dash lines in its output.
62 -
63 - * "git log -p -S<string>" now looks for the <string> after applying
64 - the textconv filter (if defined); earlier it inspected the contents
65 - of the blobs without filtering.
66 -
67 - * "git log --grep=<pcre>" learned to honor the "grep.patterntype"
68 - configuration set to "perl".
69 -
70 - * "git replace -d <object>" now interprets <object> as an extended
71 - SHA-1 (e.g. HEAD~4 is allowed), instead of only accepting full hex
72 - object name.
73 -
74 - * "git rm $submodule" used to punt on removing a submodule working
75 - tree to avoid losing the repository embedded in it. Because
76 - recent git uses a mechanism to separate the submodule repository
77 - from the submodule working tree, "git rm" learned to detect this
78 - case and removes the submodule working tree when it is safe to do so.
79 -
80 - * "git send-email" used to prompt for the sender address, even when
81 - the committer identity is well specified (e.g. via user.name and
82 - user.email configuration variables). The command no longer gives
83 - this prompt when not necessary.
84 -
85 - * "git send-email" did not allow non-address garbage strings to
86 - appear after addresses on Cc: lines in the patch files (and when
87 - told to pick them up to find more recipients), e.g.
88 -
89 - Cc: Stable Kernel <stable@k.org> # for v3.2 and up
90 -
91 - The command now strips " # for v3.2 and up" part before adding the
92 - remainder of this line to the list of recipients.
93 -
94 - * "git submodule add" learned to add a new submodule at the same
95 - path as the path where an unrelated submodule was bound to in an
96 - existing revision via the "--name" option.
97 -
98 - * "git submodule sync" learned the "--recursive" option.
99 -
100 - * "diff.submodule" configuration variable can be used to give custom
101 - default value to the "git diff --submodule" option.
102 -
103 - * "git symbolic-ref" learned the "-d $symref" option to delete the
104 - named symbolic ref, which is more intuitive way to spell it than
105 - "update-ref -d --no-deref $symref".
106 -
107 -
108 - Foreign Interface
109 -
110 - * "git cvsimport" can be told to record timezones (other than GMT)
111 - per-author via its author info file.
112 -
113 - * The remote helper interface to interact with subversion
114 - repositories (one of the GSoC 2012 projects) has been merged.
115 -
116 - * A new remote-helper interface for Mercurial has been added to
117 - contrib/remote-helpers.
118 -
119 - * The documentation for git(1) was pointing at a page at an external
120 - site for the list of authors that no longer existed. The link has
121 - been updated to point at an alternative site.
122 -
123 -
124 - Performance, Internal Implementation, etc.
125 -
126 - * Compilation on Cygwin with newer header files are supported now.
127 -
128 - * A couple of low-level implementation updates on MinGW.
129 -
130 - * The logic to generate the initial advertisement from "upload-pack"
131 - (i.e. what is invoked by "git fetch" on the other side of the
132 - connection) to list what refs are available in the repository has
133 - been optimized.
134 -
135 - * The logic to find set of attributes that match a given path has
136 - been optimized.
137 -
138 - * Use preloadindex in "git diff-index" and "git update-index", which
139 - has a nice speedup on systems with slow stat calls (and even on
140 - Linux).
141 -
142 -
143 - Also contains minor documentation updates and code clean-ups.
144 -
145 -
146 - Fixes since v1.8.0
147 - ------------------
148 -
149 - Unless otherwise noted, all the fixes since v1.8.0 in the maintenance
150 - track are contained in this release (see release notes to them for
151 - details).
152 -
153 - * The configuration parser had an unnecessary hardcoded limit on
154 - variable names that was not checked consistently.
155 -
156 - * The "say" function in the test scaffolding incorrectly allowed
157 - "echo" to interpret "\a" as if it were a C-string asking for a
158 - BEL output.
159 -
160 - * "git mergetool" feeds /dev/null as a common ancestor when dealing
161 - with an add/add conflict, but p4merge backend cannot handle
162 - it. Work it around by passing a temporary empty file.
163 -
164 - * "git log -F -E --grep='<ere>'" failed to use the given <ere>
165 - pattern as extended regular expression, and instead looked for the
166 - string literally.
167 -
168 - * "git grep -e pattern <tree>" asked the attribute system to read
169 - "<tree>:.gitattributes" file in the working tree, which was
170 - nonsense.
171 -
172 - * A symbolic ref refs/heads/SYM was not correctly removed with "git
173 - branch -d SYM"; the command removed the ref pointed by SYM
174 - instead.
175 -
176 - * Update "remote tracking branch" in the documentation to
177 - "remote-tracking branch".
178 -
179 - * "git pull --rebase" run while the HEAD is detached tried to find
180 - the upstream branch of the detached HEAD (which by definition
181 - does not exist) and emitted unnecessary error messages.
182 -
183 - * The refs/replace hierarchy was not mentioned in the
184 - repository-layout docs.
185 -
186 - * Various rfc2047 quoting issues around a non-ASCII name on the
187 - From: line in the output from format-patch have been corrected.
188 -
189 - * Sometimes curl_multi_timeout() function suggested a wrong timeout
190 - value when there is no file descriptor to wait on and the http
191 - transport ended up sleeping for minutes in select(2) system call.
192 - A workaround has been added for this.
193 -
194 - * For a fetch refspec (or the result of applying wildcard on one),
195 - we always want the RHS to map to something inside "refs/"
196 - hierarchy, but the logic to check it was not exactly right.
197 - (merge 5c08c1f jc/maint-fetch-tighten-refname-check later to maint).
198 -
199 - * "git diff -G<pattern>" did not honor textconv filter when looking
200 - for changes.
201 -
202 - * Some HTTP servers ask for auth only during the actual packing phase
203 - (not in ls-remote phase); this is not really a recommended
204 - configuration, but the clients used to fail to authenticate with
205 - such servers.
206 - (merge 2e736fd jk/maint-http-half-auth-fetch later to maint).
207 -
208 - * "git p4" used to try expanding malformed "$keyword$" that spans
209 - across multiple lines.
210 -
211 - * Syntax highlighting in "gitweb" was not quite working.
212 -
213 - * RSS feed from "gitweb" had a xss hole in its title output.
214 -
215 - * "git config --path $key" segfaulted on "[section] key" (a boolean
216 - "true" spelled without "=", not "[section] key = true").
217 -
218 - * "git checkout -b foo" while on an unborn branch did not say
219 - "Switched to a new branch 'foo'" like other cases.
220 -
221 - * Various codepaths have workaround for a common misconfiguration to
222 - spell "UTF-8" as "utf8", but it was not used uniformly. Most
223 - notably, mailinfo (which is used by "git am") lacked this support.
224 -
225 - * We failed to mention a file without any content change but whose
226 - permission bit was modified, or (worse yet) a new file without any
227 - content in the "git diff --stat" output.
228 -
229 - * When "--stat-count" hides a diffstat for binary contents, the total
230 - number of added and removed lines at the bottom was computed
231 - incorrectly.
232 -
233 - * When "--stat-count" hides a diffstat for unmerged paths, the total
234 - number of affected files at the bottom of the "diff --stat" output
235 - was computed incorrectly.
236 -
237 - * "diff --shortstat" miscounted the total number of affected files
238 - when there were unmerged paths.
239 -
240 - * "update-ref -d --deref SYM" to delete a ref through a symbolic ref
241 - that points to it did not remove it correctly.
deleted Documentation/RelNotes/1.8.2.1.adoc mode 100644
@@ -1,115 +0,0 @@
1 - Git v1.8.2.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.2
5 - ------------------
6 -
7 - * An earlier change to the attribute system introduced at v1.8.1.2 by
8 - mistake stopped a pattern "dir" (without trailing slash) from
9 - matching a directory "dir" (it only wanted to allow pattern "dir/"
10 - to also match).
11 -
12 - * Verification of signed tags were not done correctly when not in C
13 - or en/US locale.
14 -
15 - * 'git commit -m "$msg"' used to add an extra newline even when
16 - $msg already ended with one.
17 -
18 - * The "--match=<pattern>" option of "git describe", when used with
19 - "--all" to allow refs that are not annotated tags to be used as a
20 - base of description, did not restrict the output from the command
21 - to those that match the given pattern.
22 -
23 - * An aliased command spawned from a bare repository that does not say
24 - it is bare with "core.bare = yes" is treated as non-bare by mistake.
25 -
26 - * When "format-patch" quoted a non-ascii strings on the header files,
27 - it incorrectly applied rfc2047 and chopped a single character in
28 - the middle of it.
29 -
30 - * "git archive" reports a failure when asked to create an archive out
31 - of an empty tree. It would be more intuitive to give an empty
32 - archive back in such a case.
33 -
34 - * "git tag -f <tag>" always said "Updated tag '<tag>'" even when
35 - creating a new tag (i.e. not overwriting nor updating).
36 -
37 - * "git cmd -- ':(top'" was not diagnosed as an invalid syntax, and
38 - instead the parser kept reading beyond the end of the string.
39 -
40 - * Annotated tags outside refs/tags/ hierarchy were not advertised
41 - correctly to the ls-remote and fetch with recent version of Git.
42 -
43 - * The code to keep track of what directory names are known to Git on
44 - platforms with case insensitive filesystems can get confused upon a
45 - hash collision between these pathnames and looped forever.
46 -
47 - * The logic used by "git diff -M --stat" to shorten the names of
48 - files before and after a rename did not work correctly when the
49 - common prefix and suffix between the two filenames overlapped.
50 -
51 - * "git submodule update", when recursed into sub-submodules, did not
52 - accumulate the prefix paths.
53 -
54 - * "git am $maildir/" applied messages in an unexpected order; sort
55 - filenames read from the maildir/ in a way that is more likely to
56 - sort messages in the order the writing MUA meant to, by sorting
57 - numeric segment in numeric order and non-numeric segment in
58 - alphabetical order.
59 -
60 - * When export-subst is used, "zip" output recorded incorrect
61 - size of the file.
62 -
63 - * Some platforms and users spell UTF-8 differently; retry with the
64 - most official "UTF-8" when the system does not understand the
65 - user-supplied encoding name that are the common alternative
66 - spellings of UTF-8.
67 -
68 - * "git branch" did not bother to check nonsense command line
69 - parameters and issue errors in many cases.
70 -
71 - * "git update-index -h" did not do the usual "-h(elp)" thing.
72 -
73 - * perl/Git.pm::cat_blob slurped everything in core only to write it
74 - out to a file descriptor, which was not a very smart thing to do.
75 -
76 - * The SSL peer verification done by "git imap-send" did not ask for
77 - Server Name Indication (RFC 4366), failing to connect SSL/TLS
78 - sites that serve multiple hostnames on a single IP.
79 -
80 - * "git index-pack" had a buffer-overflow while preparing an
81 - informational message when the translated version of it was too
82 - long.
83 -
84 - * Clarify in the documentation "what" gets pushed to "where" when the
85 - command line to "git push" does not say these explicitly.
86 -
87 - * In "git reflog expire", REACHABLE bit was not cleared from the
88 - correct objects.
89 -
90 - * The "--color=<when>" argument to the commands in the diff family
91 - was described poorly.
92 -
93 - * The arguments given to pre-rebase hook were not documented.
94 -
95 - * The v4 index format was not documented.
96 -
97 - * The "--match=<pattern>" argument "git describe" takes uses glob
98 - pattern but it wasn't obvious from the documentation.
99 -
100 - * Some sources failed to compile on systems that lack NI_MAXHOST in
101 - their system header (e.g. z/OS).
102 -
103 - * Add an example use of "--env-filter" in "filter-branch"
104 - documentation.
105 -
106 - * "git bundle verify" did not say "records a complete history" for a
107 - bundle that does not have any prerequisites.
108 -
109 - * In the v1.8.0 era, we changed symbols that do not have to be global
110 - to file scope static, but a few functions in graph.c were used by
111 - CGit from sideways bypassing the entry points of the API the
112 - in-tree users use.
113 -
114 - * "git merge-tree" had a typo in the logic to detect d/f conflicts,
115 - which caused it to segfault in some cases.
deleted Documentation/RelNotes/1.8.2.2.adoc mode 100644
@@ -1,61 +0,0 @@
1 - Git v1.8.2.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.2.1
5 - --------------------
6 -
7 - * Zsh completion forgot that '%' character used to signal untracked
8 - files needs to be escaped with another '%'.
9 -
10 - * A commit object whose author or committer ident are malformed
11 - crashed some code that trusted that a name, an email and an
12 - timestamp can always be found in it.
13 -
14 - * The new core.commentchar configuration was not applied to a few
15 - places.
16 -
17 - * "git pull --rebase" did not pass "-v/-q" options to underlying
18 - "git rebase".
19 -
20 - * When receive-pack detects error in the pack header it received in
21 - order to decide which of unpack-objects or index-pack to run, it
22 - returned without closing the error stream, which led to a hang
23 - sideband thread.
24 -
25 - * "git diff --diff-algorithm=algo" was understood by the command line
26 - parser, but "git diff --diff-algorithm algo" was not.
27 -
28 - * "git log -S/-G" started paying attention to textconv filter, but
29 - there was no way to disable this. Make it honor --no-textconv
30 - option.
31 -
32 - * "git merge $(git rev-parse v1.8.2)" behaved quite differently from
33 - "git merge v1.8.2", as if v1.8.2 were written as v1.8.2^0 and did
34 - not pay much attention to the annotated tag payload. Make the code
35 - notice the type of the tag object, in addition to the dwim_ref()
36 - based classification the current code uses (i.e. the name appears
37 - in refs/tags/) to decide when to special case merging of tags.
38 -
39 - * "git cherry-pick" and "git revert" can take more than one commit
40 - on the command line these days, but it was not mentioned on the usage
41 - text.
42 -
43 - * Perl scripts like "git-svn" closed (not redirecting to /dev/null)
44 - the standard error stream, which is not a very smart thing to do.
45 - Later open may return file descriptor #2 for unrelated purpose, and
46 - error reporting code may write into them.
47 -
48 - * "git apply --whitespace=fix" was not prepared to see a line getting
49 - longer after fixing whitespaces (e.g. tab-in-indent aka Python).
50 -
51 - * "git diff/log --cc" did not work well with options that ignore
52 - whitespace changes.
53 -
54 - * Documentation on setting up a http server that requires
55 - authentication only on the push but not fetch has been clarified.
56 -
57 - * A few bugfixes to "git rerere" working on corner case merge
58 - conflicts have been applied.
59 -
60 - * "git bundle" did not like a bundle created using a commit without
61 - any message as its one of the prerequisites.
deleted Documentation/RelNotes/1.8.2.3.adoc mode 100644
@@ -1,19 +0,0 @@
1 - Git v1.8.2.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.2.2
5 - --------------------
6 -
7 - * "rev-list --stdin" and friends kept bogus pointers into the input
8 - buffer around as human readable object names. This was not a
9 - huge problem but was exposed by a new change that uses these
10 - names in error output.
11 -
12 - * When "git difftool" drove "kdiff3", it mistakenly passed --auto
13 - option that was meant while resolving merge conflicts.
14 -
15 - * "git remote add" command did not diagnose extra command line
16 - arguments as an error and silently ignored them.
17 -
18 - Also contains a handful of trivial code clean-ups, documentation
19 - updates, updates to the test suite, etc.
deleted Documentation/RelNotes/1.8.2.adoc mode 100644
@@ -1,495 +0,0 @@
1 - Git v1.8.2 Release Notes
2 - ========================
3 -
4 - Backward compatibility notes (this release)
5 - -------------------------------------------
6 -
7 - "git push $there tag v1.2.3" used to allow replacing a tag v1.2.3
8 - that already exists in the repository $there, if the rewritten tag
9 - you are pushing points at a commit that is a descendant of a commit
10 - that the old tag v1.2.3 points at. This was found to be error prone
11 - and starting with this release, any attempt to update an existing
12 - ref under refs/tags/ hierarchy will fail, without "--force".
13 -
14 - When "git add -u" and "git add -A" that does not specify what paths
15 - to add on the command line is run from inside a subdirectory, the
16 - scope of the operation has always been limited to the subdirectory.
17 - Many users found this counter-intuitive, given that "git commit -a"
18 - and other commands operate on the entire tree regardless of where you
19 - are. In this release, these commands give a warning message that
20 - suggests the users to use "git add -u/-A ." when they want to limit
21 - the scope to the current directory; doing so will squelch the message,
22 - while training their fingers.
23 -
24 -
25 - Backward compatibility notes (for Git 2.0)
26 - ------------------------------------------
27 -
28 - When "git push [$there]" does not say what to push, we have used the
29 - traditional "matching" semantics so far (all your branches were sent
30 - to the remote as long as there already are branches of the same name
31 - over there). In Git 2.0, the default will change to the "simple"
32 - semantics that pushes the current branch to the branch with the same
33 - name, only when the current branch is set to integrate with that
34 - remote branch. There is a user preference configuration variable
35 - "push.default" to change this. If you are an old-timer who is used
36 - to the "matching" semantics, you can set it to "matching" to keep the
37 - traditional behaviour. If you want to live in the future early,
38 - you can set it to "simple" today without waiting for Git 2.0.
39 -
40 - When "git add -u" and "git add -A", that does not specify what paths
41 - to add on the command line is run from inside a subdirectory, these
42 - commands will operate on the entire tree in Git 2.0 for consistency
43 - with "git commit -a" and other commands. Because there will be no
44 - mechanism to make "git add -u" behave as if "git add -u .", it is
45 - important for those who are used to "git add -u" (without pathspec)
46 - updating the index only for paths in the current subdirectory to start
47 - training their fingers to explicitly say "git add -u ." when they mean
48 - it before Git 2.0 comes.
49 -
50 -
51 - Updates since v1.8.1
52 - --------------------
53 -
54 - UI, Workflows & Features
55 -
56 - * Initial ports to QNX and z/OS UNIX System Services have started.
57 -
58 - * Output from the tests is coloured using "green is okay, yellow is
59 - questionable, red is bad and blue is informative" scheme.
60 -
61 - * Mention of "GIT/Git/git" in the documentation have been updated to
62 - be more uniform and consistent. The name of the system and the
63 - concept it embodies is "Git"; the command the users type is "git".
64 - All-caps "GIT" was merely a way to imitate "Git" typeset in small
65 - caps in our ASCII text only documentation and to be avoided.
66 -
67 - * The completion script (in contrib/completion) used to let the
68 - default completer to suggest pathnames, which gave too many
69 - irrelevant choices (e.g. "git add" would not want to add an
70 - unmodified path). It learnt to use a more git-aware logic to
71 - enumerate only relevant ones.
72 -
73 - * In bare repositories, "git shortlog" and other commands now read
74 - mailmap files from the tip of the history, to help running these
75 - tools in server settings.
76 -
77 - * Color specifiers, e.g. "%C(blue)Hello%C(reset)", used in the
78 - "--format=" option of "git log" and friends can be disabled when
79 - the output is not sent to a terminal by prefixing them with
80 - "auto,", e.g. "%C(auto,blue)Hello%C(auto,reset)".
81 -
82 - * Scripts can ask Git that wildcard patterns in pathspecs they give do
83 - not have any significance, i.e. take them as literal strings.
84 -
85 - * The patterns in .gitignore and .gitattributes files can have **/,
86 - as a pattern that matches 0 or more levels of subdirectory.
87 - E.g. "foo/**/bar" matches "bar" in "foo" itself or in a
88 - subdirectory of "foo".
89 -
90 - * When giving arguments without "--" disambiguation, object names
91 - that come earlier on the command line must not be interpretable as
92 - pathspecs and pathspecs that come later on the command line must
93 - not be interpretable as object names. This disambiguation rule has
94 - been tweaked so that ":/" (no other string before or after) is
95 - always interpreted as a pathspec; "git cmd -- :/" is no longer
96 - needed, you can just say "git cmd :/".
97 -
98 - * Various "hint" lines Git gives when it asks the user to edit
99 - messages in the editor are commented out with '#' by default. The
100 - core.commentchar configuration variable can be used to customize
101 - this '#' to a different character.
102 -
103 - * "git add -u" and "git add -A" without pathspec issues warning to
104 - make users aware that they are only operating on paths inside the
105 - subdirectory they are in. Use ":/" (everything from the top) or
106 - "." (everything from the $cwd) to disambiguate.
107 -
108 - * "git blame" (and "git diff") learned the "--no-follow" option.
109 -
110 - * "git branch" now rejects some nonsense combinations of command line
111 - arguments (e.g. giving more than one branch name to rename) with
112 - more case-specific error messages.
113 -
114 - * "git check-ignore" command to help debugging .gitignore files has
115 - been added.
116 -
117 - * "git cherry-pick" can be used to replay a root commit to an unborn
118 - branch.
119 -
120 - * "git commit" can be told to use --cleanup=whitespace by setting the
121 - configuration variable commit.cleanup to 'whitespace'.
122 -
123 - * "git diff" and other Porcelain commands can be told to use a
124 - non-standard algorithm by setting diff.algorithm configuration
125 - variable.
126 -
127 - * "git fetch --mirror" and fetch that uses other forms of refspec
128 - with wildcard used to attempt to update a symbolic ref that match
129 - the wildcard on the receiving end, which made little sense (the
130 - real ref that is pointed at by the symbolic ref would be updated
131 - anyway). Symbolic refs no longer are affected by such a fetch.
132 -
133 - * "git format-patch" now detects more cases in which a whole branch
134 - is being exported, and uses the description for the branch, when
135 - asked to write a cover letter for the series.
136 -
137 - * "git format-patch" learned "-v $count" option, and prepends a
138 - string "v$count-" to the names of its output files, and also
139 - automatically sets the subject prefix to "PATCH v$count". This
140 - allows patches from rerolled series to be stored under different
141 - names and makes it easier to reuse cover letter messages.
142 -
143 - * "git log" and friends can be told with --use-mailmap option to
144 - rewrite the names and email addresses of people using the mailmap
145 - mechanism.
146 -
147 - * "git log --cc --graph" now shows the combined diff output with the
148 - ancestry graph.
149 -
150 - * "git log --grep=<pattern>" honors i18n.logoutputencoding to look
151 - for the pattern after fixing the log message to the specified
152 - encoding.
153 -
154 - * "git mergetool" and "git difftool" learned to list the available
155 - tool backends in a more consistent manner.
156 -
157 - * "git mergetool" is aware of TortoiseGitMerge now and uses it over
158 - TortoiseMerge when available.
159 -
160 - * "git push" now requires "-f" to update a tag, even if it is a
161 - fast-forward, as tags are meant to be fixed points.
162 -
163 - * Error messages from "git push" when it stops to prevent remote refs
164 - from getting overwritten by mistake have been improved to explain
165 - various situations separately.
166 -
167 - * "git push" will stop without doing anything if the new "pre-push"
168 - hook exists and exits with a failure.
169 -
170 - * When "git rebase" fails to generate patches to be applied (e.g. due
171 - to oom), it failed to detect the failure and instead behaved as if
172 - there were nothing to do. A workaround to use a temporary file has
173 - been applied, but we probably would want to revisit this later, as
174 - it hurts the common case of not failing at all.
175 -
176 - * Input and preconditions to "git reset" has been loosened where
177 - appropriate. "git reset $fromtree Makefile" requires $fromtree to
178 - be any tree (it used to require it to be a commit), for example.
179 - "git reset" (without options or parameters) used to error out when
180 - you do not have any commits in your history, but it now gives you
181 - an empty index (to match non-existent commit you are not even on).
182 -
183 - * "git status" says what branch is being bisected or rebased when
184 - able, not just "bisecting" or "rebasing".
185 -
186 - * "git submodule" started learning a new mode to integrate with the
187 - tip of the remote branch (as opposed to integrating with the commit
188 - recorded in the superproject's gitlink).
189 -
190 - * "git upload-pack" which implements the service "ls-remote" and
191 - "fetch" talk to can be told to hide ref hierarchies the server
192 - side internally uses (and that clients have no business learning
193 - about) with transfer.hiderefs configuration.
194 -
195 -
196 - Foreign Interface
197 -
198 - * "git fast-export" has been updated for its use in the context of
199 - the remote helper interface.
200 -
201 - * A new remote helper to interact with bzr has been added to contrib/.
202 -
203 - * "git p4" got various bugfixes around its branch handling. It is
204 - also made usable with Python 2.4/2.5. In addition, its various
205 - portability issues for Cygwin have been addressed.
206 -
207 - * The remote helper to interact with Hg in contrib/ has seen a few
208 - fixes.
209 -
210 -
211 - Performance, Internal Implementation, etc.
212 -
213 - * "git fsck" has been taught to be pickier about entries in tree
214 - objects that should not be there, e.g. ".", ".git", and "..".
215 -
216 - * Matching paths with common forms of pathspecs that contain wildcard
217 - characters has been optimized further.
218 -
219 - * We stopped paying attention to $GIT_CONFIG environment that points
220 - at a single configuration file from any command other than "git config"
221 - quite a while ago, but "git clone" internally set, exported, and
222 - then unexported the variable during its operation unnecessarily.
223 -
224 - * "git reset" internals has been reworked and should be faster in
225 - general. We tried to be careful not to break any behaviour but
226 - there could be corner cases, especially when running the command
227 - from a conflicted state, that we may have missed.
228 -
229 - * The implementation of "imap-send" has been updated to reuse xml
230 - quoting code from http-push codepath, and lost a lot of unused
231 - code.
232 -
233 - * There is a simple-minded checker for the test scripts in t/
234 - directory to catch most common mistakes (it is not enabled by
235 - default).
236 -
237 - * You can build with USE_WILDMATCH=YesPlease to use a replacement
238 - implementation of pattern matching logic used for pathname-like
239 - things, e.g. refnames and paths in the repository. This new
240 - implementation is not expected change the existing behaviour of Git
241 - in this release, except for "git for-each-ref" where you can now
242 - say "refs/**/master" and match with both refs/heads/master and
243 - refs/remotes/origin/master. We plan to use this new implementation
244 - in wider places (e.g. "git ls-files '**/Makefile' may find Makefile
245 - at the top-level, and "git log '**/t*.sh'" may find commits that
246 - touch a shell script whose name begins with "t" at any level) in
247 - future versions of Git, but we are not there yet. By building with
248 - USE_WILDMATCH, using the resulting Git daily and reporting when you
249 - find breakages, you can help us get closer to that goal.
250 -
251 - * Some reimplementations of Git do not write all the stat info back
252 - to the index due to their implementation limitations (e.g. jgit).
253 - A configuration option can tell Git to ignore changes to most of
254 - the stat fields and only pay attention to mtime and size, which
255 - these implementations can reliably update. This can be used to
256 - avoid excessive revalidation of contents.
257 -
258 - * Some platforms ship with old version of expat where xmlparse.h
259 - needs to be included instead of expat.h; the build procedure has
260 - been taught about this.
261 -
262 - * "make clean" on platforms that cannot compute header dependencies
263 - on the fly did not work with implementations of "rm" that do not
264 - like an empty argument list.
265 -
266 - Also contains minor documentation updates and code clean-ups.
267 -
268 -
269 - Fixes since v1.8.1
270 - ------------------
271 -
272 - Unless otherwise noted, all the fixes since v1.8.1 in the maintenance
273 - track are contained in this release (see release notes to them for
274 - details).
275 -
276 - * An element on GIT_CEILING_DIRECTORIES list that does not name the
277 - real path to a directory (i.e. a symbolic link) could have caused
278 - the GIT_DIR discovery logic to escape the ceiling.
279 -
280 - * When attempting to read the XDG-style $HOME/.config/git/config and
281 - finding that $HOME/.config/git is a file, we gave a wrong error
282 - message, instead of treating the case as "a custom config file does
283 - not exist there" and moving on.
284 -
285 - * The behaviour visible to the end users was confusing, when they
286 - attempt to kill a process spawned in the editor that was in turn
287 - launched by Git with SIGINT (or SIGQUIT), as Git would catch that
288 - signal and die. We ignore these signals now.
289 - (merge 0398fc34 pf/editor-ignore-sigint later to maint).
290 -
291 - * A child process that was killed by a signal (e.g. SIGINT) was
292 - reported in an inconsistent way depending on how the process was
293 - spawned by us, with or without a shell in between.
294 -
295 - * After failing to create a temporary file using mkstemp(), failing
296 - pathname was not reported correctly on some platforms.
297 -
298 - * We used to stuff "user@" and then append what we read from
299 - /etc/mailname to come up with a default e-mail ident, but a bug
300 - lost the "user@" part.
301 -
302 - * The attribute mechanism didn't allow limiting attributes to be
303 - applied to only a single directory itself with "path/" like the
304 - exclude mechanism does. The initial implementation of this that
305 - was merged to 'maint' and 1.8.1.2 was with a severe performance
306 - degradations and needs to merge a fix-up topic.
307 -
308 - * The smart HTTP clients forgot to verify the content-type that comes
309 - back from the server side to make sure that the request is being
310 - handled properly.
311 -
312 - * "git am" did not parse datestamp correctly from Hg generated patch,
313 - when it is run in a locale outside C (or en).
314 -
315 - * "git apply" misbehaved when fixing whitespace breakages by removing
316 - excess trailing blank lines.
317 -
318 - * "git apply --summary" has been taught to make sure the similarity
319 - value shown in its output is sensible, even when the input had a
320 - bogus value.
321 -
322 - * A tar archive created by "git archive" recorded a directory in a
323 - way that made NetBSD's implementation of "tar" sometimes unhappy.
324 -
325 - * "git archive" did not record uncompressed size in the header when
326 - streaming a zip archive, which confused some implementations of unzip.
327 -
328 - * "git archive" did not parse configuration values in tar.* namespace
329 - correctly.
330 - (merge b3873c3 jk/config-parsing-cleanup later to maint).
331 -
332 - * Attempt to "branch --edit-description" an existing branch, while
333 - being on a detached HEAD, errored out.
334 -
335 - * "git clean" showed what it was going to do, but sometimes end up
336 - finding that it was not allowed to do so, which resulted in a
337 - confusing output (e.g. after saying that it will remove an
338 - untracked directory, it found an embedded git repository there
339 - which it is not allowed to remove). It now performs the actions
340 - and then reports the outcome more faithfully.
341 -
342 - * When "git clone --separate-git-dir=$over_there" is interrupted, it
343 - failed to remove the real location of the $GIT_DIR it created.
344 - This was most visible when interrupting a submodule update.
345 -
346 - * "git cvsimport" mishandled timestamps at DST boundary.
347 -
348 - * We used to have an arbitrary 32 limit for combined diff input,
349 - resulting in incorrect number of leading colons shown when showing
350 - the "--raw --cc" output.
351 -
352 - * "git fetch --depth" was broken in at least three ways. The
353 - resulting history was deeper than specified by one commit, it was
354 - unclear how to wipe the shallowness of the repository with the
355 - command, and documentation was misleading.
356 - (merge cfb70e1 nd/fetch-depth-is-broken later to maint).
357 -
358 - * "git log --all -p" that walked refs/notes/textconv/ ref can later
359 - try to use the textconv data incorrectly after it gets freed.
360 -
361 - * We forgot to close the file descriptor reading from "gpg" output,
362 - killing "git log --show-signature" on a long history.
363 -
364 - * The way "git svn" asked for password using SSH_ASKPASS and
365 - GIT_ASKPASS was not in line with the rest of the system.
366 -
367 - * The --graph code fell into infinite loop when asked to do what the
368 - code did not expect.
369 -
370 - * http transport was wrong to ask for the username when the
371 - authentication is done by certificate identity.
372 -
373 - * "git pack-refs" that ran in parallel to another process that
374 - created new refs had a nasty race.
375 -
376 - * Rebasing the history of superproject with change in the submodule
377 - has been broken since v1.7.12.
378 -
379 - * After "git add -N" and then writing a tree object out of the
380 - index, the cache-tree data structure got corrupted.
381 -
382 - * "git clone" used to allow --bare and --separate-git-dir=$there
383 - options at the same time, which was nonsensical.
384 -
385 - * "git rebase --preserve-merges" lost empty merges in recent versions
386 - of Git.
387 -
388 - * "git merge --no-edit" computed who were involved in the work done
389 - on the side branch, even though that information is to be discarded
390 - without getting seen in the editor.
391 -
392 - * "git merge" started calling prepare-commit-msg hook like "git
393 - commit" does some time ago, but forgot to pay attention to the exit
394 - status of the hook.
395 -
396 - * A failure to push due to non-ff while on an unborn branch
397 - dereferenced a NULL pointer when showing an error message.
398 -
399 - * When users spell "cc:" in lowercase in the fake "header" in the
400 - trailer part, "git send-email" failed to pick up the addresses from
401 - there. As e-mail headers field names are case insensitive, this
402 - script should follow suit and treat "cc:" and "Cc:" the same way.
403 -
404 - * Output from "git status --ignored" showed an unexpected interaction
405 - with "--untracked".
406 -
407 - * "gitweb", when sorting by age to show repositories with new
408 - activities first, used to sort repositories with absolutely
409 - nothing in it early, which was not very useful.
410 -
411 - * "gitweb"'s code to sanitize control characters before passing it to
412 - "highlight" filter lost known-to-be-safe control characters by
413 - mistake.
414 -
415 - * "gitweb" pages served over HTTPS, when configured to show picon or
416 - gravatar, referred to these external resources to be fetched via
417 - HTTP, resulting in mixed contents warning in browsers.
418 -
419 - * When a line to be wrapped has a solid run of non space characters
420 - whose length exactly is the wrap width, "git shortlog -w" failed
421 - to add a newline after such a line.
422 -
423 - * Command line completion leaked an unnecessary error message while
424 - looking for possible matches with paths in <tree-ish>.
425 -
426 - * Command line completion for "tcsh" emitted an unwanted space
427 - after completing a single directory name.
428 -
429 - * Command line completion code was inadvertently made incompatible with
430 - older versions of bash by using a newer array notation.
431 -
432 - * "git push" was taught to refuse updating the branch that is
433 - currently checked out long time ago, but the user manual was left
434 - stale.
435 - (merge 50995ed wk/man-deny-current-branch-is-default-these-days later to maint).
436 -
437 - * Some shells do not behave correctly when IFS is unset; work it
438 - around by explicitly setting it to the default value.
439 -
440 - * Some scripted programs written in Python did not get updated when
441 - PYTHON_PATH changed.
442 - (cherry-pick 96a4647fca54031974cd6ad1 later to maint).
443 -
444 - * When autoconf is used, any build on a different commit always ran
445 - "config.status --recheck" even when unnecessary.
446 -
447 - * A fix was added to the build procedure to work around buggy
448 - versions of ccache broke the auto-generation of dependencies, which
449 - unfortunately is still relevant because some people use ancient
450 - distros.
451 -
452 - * The autoconf subsystem passed --mandir down to generated
453 - config.mak.autogen but forgot to do the same for --htmldir.
454 - (merge 55d9bf0 ct/autoconf-htmldir later to maint).
455 -
456 - * A change made on v1.8.1.x maintenance track had a nasty regression
457 - to break the build when autoconf is used.
458 - (merge 7f1b697 jn/less-reconfigure later to maint).
459 -
460 - * We have been carrying a translated and long-unmaintained copy of an
461 - old version of the tutorial; removed.
462 -
463 - * t0050 had tests expecting failures from a bug that was fixed some
464 - time ago.
465 -
466 - * t4014, t9502 and t0200 tests had various portability issues that
467 - broke on OpenBSD.
468 -
469 - * t9020 and t3600 tests had various portability issues.
470 -
471 - * t9200 runs "cvs init" on a directory that already exists, but a
472 - platform can configure this fail for the current user (e.g. you
473 - need to be in the cvsadmin group on NetBSD 6.0).
474 -
475 - * t9020 and t9810 had a few non-portable shell script construct.
476 -
477 - * Scripts to test bash completion was inherently flaky as it was
478 - affected by whatever random things the user may have on $PATH.
479 -
480 - * An element on GIT_CEILING_DIRECTORIES could be a "logical" pathname
481 - that uses a symbolic link to point at somewhere else (e.g. /home/me
482 - that points at /net/host/export/home/me, and the latter directory
483 - is automounted). Earlier when Git saw such a pathname e.g. /home/me
484 - on this environment variable, the "ceiling" mechanism did not take
485 - effect. With this release (the fix has also been merged to the
486 - v1.8.1.x maintenance series), elements on GIT_CEILING_DIRECTORIES
487 - are by default checked for such aliasing coming from symbolic
488 - links. As this needs to actually resolve symbolic links for each
489 - element on the GIT_CEILING_DIRECTORIES, you can disable this
490 - mechanism for some elements by listing them after an empty element
491 - on the GIT_CEILING_DIRECTORIES. e.g. Setting /home/me::/home/him to
492 - GIT_CEILING_DIRECTORIES makes Git resolve symbolic links in
493 - /home/me when checking if the current directory is under /home/me,
494 - but does not do so for /home/him.
495 - (merge 7ec30aa mh/maint-ceil-absolute later to maint).
deleted Documentation/RelNotes/1.8.3.1.adoc mode 100644
@@ -1,14 +0,0 @@
1 - Git v1.8.3.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.3
5 - ------------------
6 -
7 - * When $HOME is misconfigured to point at an unreadable directory, we
8 - used to complain and die. The check has been loosened.
9 -
10 - * Handling of negative exclude pattern for directories "!dir" was
11 - broken in the update to v1.8.3.
12 -
13 - Also contains a handful of trivial code clean-ups, documentation
14 - updates, updates to the test suite, etc.
deleted Documentation/RelNotes/1.8.3.2.adoc mode 100644
@@ -1,59 +0,0 @@
1 - Git v1.8.3.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.3.1
5 - --------------------
6 -
7 - * Cloning with "git clone --depth N" while fetch.fsckobjects (or
8 - transfer.fsckobjects) is set to true did not tell the cut-off
9 - points of the shallow history to the process that validates the
10 - objects and the history received, causing the validation to fail.
11 -
12 - * "git checkout foo" DWIMs the intended "upstream" and turns it into
13 - "git checkout -t -b foo remotes/origin/foo". This codepath has been
14 - updated to correctly take existing remote definitions into account.
15 -
16 - * "git fetch" into a shallow repository from a repository that does
17 - not know about the shallow boundary commits (e.g. a different fork
18 - from the repository the current shallow repository was cloned from)
19 - did not work correctly.
20 -
21 - * "git subtree" (in contrib/) had one codepath with loose error
22 - checks to lose data at the remote side.
23 -
24 - * "git log --ancestry-path A...B" did not work as expected, as it did
25 - not pay attention to the fact that the merge base between A and B
26 - was the bottom of the range being specified.
27 -
28 - * "git diff -c -p" was not showing a deleted line from a hunk when
29 - another hunk immediately begins where the earlier one ends.
30 -
31 - * "git merge @{-1}~22" was rewritten to "git merge frotz@{1}~22"
32 - incorrectly when your previous branch was "frotz" (it should be
33 - rewritten to "git merge frotz~22" instead).
34 -
35 - * "git commit --allow-empty-message -m ''" should not start an
36 - editor.
37 -
38 - * "git push --[no-]verify" was not documented.
39 -
40 - * An entry for "file://" scheme in the enumeration of URL types Git
41 - can take in the HTML documentation was made into a clickable link
42 - by mistake.
43 -
44 - * zsh prompt script that borrowed from bash prompt script did not
45 - work due to slight differences in array variable notation between
46 - these two shells.
47 -
48 - * The bash prompt code (in contrib/) displayed the name of the branch
49 - being rebased when "rebase -i/-m/-p" modes are in use, but not the
50 - plain vanilla "rebase".
51 -
52 - * "git push $there HEAD:branch" did not resolve HEAD early enough, so
53 - it was easy to flip it around while push is still going on and push
54 - out a branch that the user did not originally intended when the
55 - command was started.
56 -
57 - * "difftool --dir-diff" did not copy back changes made by the
58 - end-user in the diff tool backend to the working tree in some
59 - cases.
deleted Documentation/RelNotes/1.8.3.3.adoc mode 100644
@@ -1,47 +0,0 @@
1 - Git v1.8.3.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.3.2
5 - --------------------
6 -
7 - * "git apply" parsed patches that add new files, generated by programs
8 - other than Git, incorrectly. This is an old breakage in v1.7.11.
9 -
10 - * Older cURL wanted piece of memory we call it with to be stable, but
11 - we updated the auth material after handing it to a call.
12 -
13 - * "git pull" into nothing trashed "local changes" that were in the
14 - index.
15 -
16 - * Many "git submodule" operations did not work on a submodule at a
17 - path whose name is not in ASCII.
18 -
19 - * "cherry-pick" had a small leak in its error codepath.
20 -
21 - * Logic used by git-send-email to suppress cc mishandled names like
22 - "A U. Thor" <author@example.xz>, where the human readable part
23 - needs to be quoted (the user input may not have the double quotes
24 - around the name, and comparison was done between quoted and
25 - unquoted strings). It also mishandled names that need RFC2047
26 - quoting.
27 -
28 - * "gitweb" forgot to clear a global variable $search_regexp upon each
29 - request, mistakenly carrying over the previous search to a new one
30 - when used as a persistent CGI.
31 -
32 - * The wildmatch engine did not honor WM_CASEFOLD option correctly.
33 -
34 - * "git log -c --follow $path" segfaulted upon hitting the commit that
35 - renamed the $path being followed.
36 -
37 - * When a reflog notation is used for implicit "current branch",
38 - e.g. "git log @{u}", we did not say which branch and worse said
39 - "branch ''" in the error messages.
40 -
41 - * Mac OS X does not like to write(2) more than INT_MAX number of
42 - bytes; work it around by chopping write(2) into smaller pieces.
43 -
44 - * Newer MacOS X encourages the programs to compile and link with
45 - their CommonCrypto, not with OpenSSL.
46 -
47 - Also contains various minor documentation updates.
deleted Documentation/RelNotes/1.8.3.4.adoc mode 100644
@@ -1,20 +0,0 @@
1 - Git v1.8.3.4 Release Notes
2 - ==========================
3 -
4 - This update is mostly to propagate documentation fixes and test
5 - updates from the master front back to the maintenance track.
6 -
7 - Fixes since v1.8.3.3
8 - --------------------
9 -
10 - * The bisect log listed incorrect commits when bisection ends with
11 - only skipped ones.
12 -
13 - * The test coverage framework was left broken for some time.
14 -
15 - * The test suite for HTTP transport did not run with Apache 2.4.
16 -
17 - * "git diff" used to fail when core.safecrlf is set and the working
18 - tree contents had mixed CRLF/LF line endings. Committing such a
19 - content must be prohibited, but "git diff" should help the user to
20 - locate and fix such problems without failing.
deleted Documentation/RelNotes/1.8.3.adoc mode 100644
@@ -1,436 +0,0 @@
1 - Git v1.8.3 Release Notes
2 - ========================
3 -
4 - Backward compatibility notes (for Git 2.0)
5 - ------------------------------------------
6 -
7 - When "git push [$there]" does not say what to push, we have used the
8 - traditional "matching" semantics so far (all your branches were sent
9 - to the remote as long as there already are branches of the same name
10 - over there). In Git 2.0, the default will change to the "simple"
11 - semantics that pushes only the current branch to the branch with the same
12 - name, and only when the current branch is set to integrate with that
13 - remote branch. Use the user preference configuration variable
14 - "push.default" to change this. If you are an old-timer who is used
15 - to the "matching" semantics, you can set the variable to "matching"
16 - to keep the traditional behaviour. If you want to live in the future
17 - early, you can set it to "simple" today without waiting for Git 2.0.
18 -
19 - When "git add -u" (and "git add -A") is run inside a subdirectory and
20 - does not specify which paths to add on the command line, it
21 - will operate on the entire tree in Git 2.0 for consistency
22 - with "git commit -a" and other commands. There will be no
23 - mechanism to make plain "git add -u" behave like "git add -u .".
24 - Current users of "git add -u" (without a pathspec) should start
25 - training their fingers to explicitly say "git add -u ."
26 - before Git 2.0 comes. A warning is issued when these commands are
27 - run without a pathspec and when you have local changes outside the
28 - current directory, because the behaviour in Git 2.0 will be different
29 - from today's version in such a situation.
30 -
31 - In Git 2.0, "git add <path>" will behave as "git add -A <path>", so
32 - that "git add dir/" will notice paths you removed from the directory
33 - and record the removal. Versions before Git 2.0, including this
34 - release, will keep ignoring removals, but the users who rely on this
35 - behaviour are encouraged to start using "git add --ignore-removal <path>"
36 - now before 2.0 is released.
37 -
38 -
39 - Updates since v1.8.2
40 - --------------------
41 -
42 - Foreign interface
43 -
44 - * remote-hg and remote-bzr helpers (in contrib/ since v1.8.2) have
45 - been updated; especially, the latter has been done in an
46 - accelerated schedule (read: we may not have merged to this release
47 - if we were following the usual "cook sufficiently in next before
48 - unleashing it to the world" workflow) in order to help Emacs folks,
49 - whose primary SCM seems to be stagnating.
50 -
51 -
52 - UI, Workflows & Features
53 -
54 - * A handful of updates applied to gitk, including an addition of
55 - "revert" action, showing dates in tags in a nicer way, making
56 - colors configurable, and support for -G'pickaxe' search.
57 -
58 - * The prompt string generator (in contrib/completion/) learned to
59 - show how many changes there are in total and how many have been
60 - replayed during a "git rebase" session.
61 -
62 - * "git branch --vv" learned to paint the name of the branch it
63 - integrates with in a different color (color.branch.upstream,
64 - which defaults to blue).
65 -
66 - * In a sparsely populated working tree, "git checkout <pathspec>" no
67 - longer unmarks paths that match the given pathspec that were
68 - originally ignored with "--sparse" (use --ignore-skip-worktree-bits
69 - option to resurrect these paths out of the index if you really want
70 - to).
71 -
72 - * "git log --format" specifier learned %C(auto) token that tells Git
73 - to use color when interpolating %d (decoration), %h (short commit
74 - object name), etc. for terminal output.
75 -
76 - * "git bisect" leaves the final outcome as a comment in its bisect
77 - log file.
78 -
79 - * "git clone --reference" can now refer to a gitfile "textual symlink"
80 - that points at the real location of the repository.
81 -
82 - * "git count-objects" learned "--human-readable" aka "-H" option to
83 - show various large numbers in Ki/Mi/GiB scaled as necessary.
84 -
85 - * "git cherry-pick $blob" and "git cherry-pick $tree" are nonsense,
86 - and a more readable error message e.g. "can't cherry-pick a tree"
87 - is given (we used to say "expected exactly one commit").
88 -
89 - * The "--annotate" option to "git send-email" can be turned on (or
90 - off) by default with sendemail.annotate configuration variable (you
91 - can use --no-annotate from the command line to override it).
92 -
93 - * The "--cover-letter" option to "git format-patch" can be turned on
94 - (or off) by default with format.coverLetter configuration
95 - variable. By setting it to 'auto', you can turn it on only for a
96 - series with two or more patches.
97 -
98 - * The bash completion support (in contrib/) learned that cherry-pick
99 - takes a few more options than it already knew about.
100 -
101 - * "git help" learned "-g" option to show the list of guides just like
102 - list of commands are given with "-a".
103 -
104 - * A triangular "pull from one place, push to another place" workflow
105 - is supported better by new remote.pushdefault (overrides the
106 - "origin" thing) and branch.*.pushremote (overrides the
107 - branch.*.remote) configuration variables.
108 -
109 - * "git status" learned to report that you are in the middle of a
110 - revert session, just like it does for a cherry-pick and a bisect
111 - session.
112 -
113 - * The handling by "git branch --set-upstream-to" against various forms
114 - of erroneous inputs was suboptimal and has been improved.
115 -
116 - * When the interactive access to git-shell is not enabled, it issues
117 - a message meant to help the system administrator to enable it. An
118 - explicit way has been added to issue custom messages to refuse an
119 - access over the network to help the end users who connect to the
120 - service expecting an interactive shell.
121 -
122 - * In addition to the case where the user edits the log message with
123 - the "e)dit" option of "am -i", replace the "Applying: this patch"
124 - message with the final log message contents after applymsg hook
125 - munges it.
126 -
127 - * "git status" suggests users to look into using --untracked=no option
128 - when it takes too long.
129 -
130 - * "git status" shows a bit more information during a rebase/bisect
131 - session.
132 -
133 - * "git fetch" learned to fetch a commit at the tip of an unadvertised
134 - ref by specifying a raw object name from the command line when the
135 - server side supports this feature.
136 -
137 - * Output from "git log --graph" works better with submodule log
138 - output now.
139 -
140 - * "git count-objects -v" learned to report leftover temporary
141 - packfiles and other garbage in the object store.
142 -
143 - * A new read-only credential helper (in contrib/) to interact with
144 - the .netrc/.authinfo files has been added.
145 -
146 - * "git send-email" can be used with the credential helper system.
147 -
148 - * There was no Porcelain way to say "I no longer am interested in
149 - this submodule", once you express your interest in a submodule with
150 - "submodule init". "submodule deinit" is the way to do so.
151 -
152 - * "git pull --rebase" learned to pass "-v/-q" options to underlying
153 - "git rebase".
154 -
155 - * The new "--follow-tags" option tells "git push" to push relevant
156 - annotated tags when pushing branches out.
157 -
158 - * "git merge" and "git pull" can optionally be told to inspect and
159 - reject when merging a commit that does not carry a trusted GPG
160 - signature.
161 -
162 - * "git mergetool" now feeds files to the "p4merge" backend in the
163 - order that matches the p4 convention, where "theirs" is usually
164 - shown on the left side, which is the opposite from what other backends
165 - expect.
166 -
167 - * "show/log" now honors gpg.program configuration just like other
168 - parts of the code that use GnuPG.
169 -
170 - * "git log" that shows the difference between the parent and the
171 - child has been optimized somewhat.
172 -
173 - * "git difftool" allows the user to write into the temporary files
174 - being shown; if the user makes changes to the working tree at the
175 - same time, it now refrains from overwriting the copy in the working
176 - tree and leaves the temporary file so that changes can be merged
177 - manually.
178 -
179 - * There was no good way to ask "I have a random string that came from
180 - outside world. I want to turn it into a 40-hex object name while
181 - making sure such an object exists". A new peeling suffix ^{object}
182 - can be used for that purpose, together with "rev-parse --verify".
183 -
184 -
185 - Performance, Internal Implementation, etc.
186 -
187 - * Updates for building under msvc.
188 -
189 - * A handful of issues in the code that traverses the working tree to find
190 - untracked and/or ignored files have been fixed, and the general
191 - codepath involved in "status -u" and "clean" have been cleaned up
192 - and optimized.
193 -
194 - * The stack footprint of some codepaths that access an object from a
195 - pack has been shrunk.
196 -
197 - * The logic to coalesce the same lines removed from the parents in
198 - the output from "diff -c/--cc" has been updated, but with O(n^2)
199 - complexity, so this might turn out to be undesirable.
200 -
201 - * The code to enforce permission bits on files in $GIT_DIR/ for
202 - shared repositories has been simplified.
203 -
204 - * A few codepaths know how much data they need to put in the
205 - hashtables they use when they start, but still began with small tables
206 - and repeatedly grew and rehashed them.
207 -
208 - * The API to walk reflog entries from the latest to older, which was
209 - necessary for operations such as "git checkout -", was cumbersome
210 - to use correctly and also inefficient.
211 -
212 - * Codepaths that inspect log-message-to-be and decide when to add a
213 - new Signed-off-by line in various commands have been consolidated.
214 -
215 - * The pkt-line API, implementation and its callers have been cleaned
216 - up to make them more robust.
217 -
218 - * The Cygwin port has a faster-but-lying lstat(2) emulation whose
219 - incorrectness does not matter in practice except for a few
220 - codepaths, and setting permission bits on directories is a codepath
221 - that needs to use a more correct one.
222 -
223 - * "git checkout" had repeated pathspec matches on the same paths,
224 - which have been consolidated. Also a bug in "git checkout dir/"
225 - that is started from an unmerged index has been fixed.
226 -
227 - * A few bugfixes to "git rerere" working on corner case merge
228 - conflicts have been applied.
229 -
230 -
231 - Also contains various documentation updates and code clean-ups.
232 -
233 -
234 - Fixes since v1.8.2
235 - ------------------
236 -
237 - Unless otherwise noted, all the fixes since v1.8.2 in the maintenance
238 - track are contained in this release (see release notes to them for
239 - details).
240 -
241 - * Recent versions of File::Temp (used by "git svn") started blowing
242 - up when its tempfile sub is called as a class method; updated the
243 - callsite to call it as a plain vanilla function to fix it.
244 - (merge eafc2dd hb/git-pm-tempfile later to maint).
245 -
246 - * Various subcommands of "git remote" simply ignored extraneous
247 - command line arguments instead of diagnosing them as errors.
248 -
249 - * When receive-pack detects an error in the pack header it received in
250 - order to decide which of unpack-objects or index-pack to run, it
251 - returned without closing the error stream, which led to a hung
252 - sideband thread.
253 -
254 - * Zsh completion forgot that the '%' character used to signal untracked
255 - files needs to be escaped with another '%'.
256 -
257 - * A commit object whose author or committer ident are malformed
258 - crashed some code that trusted that a name, an email and a
259 - timestamp can always be found in it.
260 -
261 - * When "upload-pack" fails while generating a pack in response to
262 - "git fetch" (or "git clone"), the receiving side had
263 - a programming error that triggered the die handler
264 - recursively.
265 -
266 - * "rev-list --stdin" and friends kept bogus pointers into the input
267 - buffer around as human readable object names. This was not a huge
268 - problem but was exposed by a new change that uses these names in
269 - error output.
270 -
271 - * Smart-capable HTTP servers were not restricted via the
272 - GIT_NAMESPACE mechanism when talking with commit-walking clients,
273 - like they are when talking with smart HTTP clients.
274 - (merge 6130f86 jk/http-dumb-namespaces later to maint).
275 -
276 - * "git merge-tree" did not omit a merge result that is identical to
277 - the "our" side in certain cases.
278 - (merge aacecc3 jk/merge-tree-added-identically later to maint).
279 -
280 - * Perl scripts like "git-svn" closed (instead of redirecting to /dev/null)
281 - the standard error stream, which is not a very smart thing to do.
282 - A later open may return file descriptor #2 for an unrelated purpose, and
283 - error reporting code may write into it.
284 -
285 - * "git show-branch" was not prepared to show a very long run of
286 - ancestor operators e.g. foobar^2~2^2^2^2...^2~4 correctly.
287 -
288 - * "git diff --diff-algorithm algo" is also understood as "git diff
289 - --diff-algorithm=algo".
290 -
291 - * The new core.commentchar configuration was not applied in a few
292 - places.
293 -
294 - * "git bundle" erroneously bailed out when parsing a valid bundle
295 - containing a prerequisite commit without a commit message.
296 -
297 - * "git log -S/-G" started paying attention to textconv filter, but
298 - there was no way to disable this. Make it honor the --no-textconv
299 - option.
300 -
301 - * When used with the "-d temporary-directory" option, "git filter-branch"
302 - failed to come back to the original working tree to perform the
303 - final clean-up procedure.
304 -
305 - * "git merge $(git rev-parse v1.8.2)" behaved quite differently from
306 - "git merge v1.8.2", as if v1.8.2 were written as v1.8.2^0 and did
307 - not pay much attention to the annotated tag payload. Make the code
308 - notice the type of the tag object, in addition to the dwim_ref()
309 - based classification the current code uses (i.e. the name appears
310 - in refs/tags/) to decide when to special-case tag merging.
311 -
312 - * Fix a 1.8.1.x regression that stopped matching "dir" (without a
313 - trailing slash) to a directory "dir".
314 -
315 - * "git apply --whitespace=fix" was not prepared to see a line getting
316 - longer after fixing whitespaces (e.g. tab-in-indent aka Python).
317 -
318 - * The prompt string generator (in contrib/completion/) did not notice
319 - when we are in a middle of a "git revert" session.
320 -
321 - * "submodule summary --summary-limit" option did not support the
322 - "--option=value" form.
323 -
324 - * "index-pack --fix-thin" used an uninitialized value to compute
325 - the delta depths of objects it appends to the resulting pack.
326 -
327 - * "index-pack --verify-stat" used a few counters outside the protection
328 - of a mutex, possibly showing incorrect numbers.
329 -
330 - * The code to keep track of what directory names are known to Git on
331 - platforms with case insensitive filesystems could get confused upon a
332 - hash collision between these pathnames and would loop forever.
333 -
334 - * Annotated tags outside the refs/tags/ hierarchy were not advertised
335 - correctly to ls-remote and fetch with recent versions of Git.
336 -
337 - * Recent optimizations broke shallow clones.
338 -
339 - * "git cmd -- ':(top'" was not diagnosed as an invalid syntax, and
340 - instead the parser kept reading beyond the end of the string.
341 -
342 - * "git tag -f <tag>" always said "Updated tag '<tag>'" even when
343 - creating a new tag (i.e. neither overwriting nor updating).
344 -
345 - * "git p4" did not behave well when the path to the root of the P4
346 - client was not its real path.
347 - (merge bbd8486 pw/p4-symlinked-root later to maint).
348 -
349 - * "git archive" reported a failure when asked to create an archive out
350 - of an empty tree. It is more intuitive to give an empty
351 - archive back in such a case.
352 -
353 - * When "format-patch" quoted a non-ascii string in header files,
354 - it incorrectly applied rfc2047 and chopped a single character in
355 - the middle of the string.
356 -
357 - * An aliased command spawned from a bare repository that does not say
358 - it is bare with "core.bare = yes" was treated as non-bare by mistake.
359 -
360 - * In "git reflog expire", the REACHABLE bit was not cleared from the
361 - correct objects.
362 -
363 - * The logic used by "git diff -M --stat" to shorten the names of
364 - files before and after a rename did not work correctly when the
365 - common prefix and suffix between the two filenames overlapped.
366 -
367 - * The "--match=<pattern>" option of "git describe", when used with
368 - "--all" to allow refs that are not annotated tags to be a
369 - base of description, did not restrict the output from the command
370 - to those refs that match the given pattern.
371 -
372 - * Clarify in the documentation "what" gets pushed to "where" when the
373 - command line to "git push" does not say these explicitly.
374 -
375 - * The "--color=<when>" argument to the commands in the diff family
376 - was described poorly.
377 -
378 - * The arguments given to the pre-rebase hook were not documented.
379 -
380 - * The v4 index format was not documented.
381 -
382 - * The "--match=<pattern>" argument "git describe" takes uses glob
383 - pattern but it wasn't obvious from the documentation.
384 -
385 - * Some sources failed to compile on systems that lack NI_MAXHOST in
386 - their system header (e.g. z/OS).
387 -
388 - * Add an example use of "--env-filter" in "filter-branch"
389 - documentation.
390 -
391 - * "git bundle verify" did not say "records a complete history" for a
392 - bundle that does not have any prerequisites.
393 -
394 - * In the v1.8.0 era, we changed symbols that do not have to be global
395 - to file scope static, but a few functions in graph.c were used by
396 - CGit sideways, bypassing the entry points of the API the
397 - in-tree users use.
398 -
399 - * "git update-index -h" did not do the usual "-h(elp)" thing.
400 -
401 - * "git index-pack" had a buffer-overflow while preparing an
402 - informational message when the translated version of it was too
403 - long.
404 -
405 - * 'git commit -m "$msg"' used to add an extra newline even when
406 - $msg already ended with one.
407 -
408 - * The SSL peer verification done by "git imap-send" did not ask for
409 - Server Name Indication (RFC 4366), failing to connect to SSL/TLS
410 - sites that serve multiple hostnames on a single IP.
411 -
412 - * perl/Git.pm::cat_blob slurped everything in core only to write it
413 - out to a file descriptor, which was not a very smart thing to do.
414 -
415 - * "git branch" did not bother to check nonsense command line
416 - parameters. It now issues errors in many cases.
417 -
418 - * Verification of signed tags was not done correctly when not in C
419 - or en/US locale.
420 -
421 - * Some platforms and users spell UTF-8 differently; retry with the
422 - most official "UTF-8" when the system does not understand the
423 - user-supplied encoding name that is a common alternative
424 - spelling of UTF-8.
425 -
426 - * When export-subst is used, "zip" output recorded an incorrect
427 - size of the file.
428 -
429 - * "git am $maildir/" applied messages in an unexpected order; sort
430 - filenames read from the maildir/ in a way that is more likely to
431 - sort the messages in the order the writing MUA meant to, by sorting
432 - numeric segments in numeric order and non-numeric segments in
433 - alphabetical order.
434 -
435 - * "git submodule update", when recursed into sub-submodules, did not
436 - accumulate the prefix paths.
deleted Documentation/RelNotes/1.8.4.1.adoc mode 100644
@@ -1,71 +0,0 @@
1 - Git v1.8.4.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.4
5 - ------------------
6 -
7 - * Some old versions of bash do not grok some constructs like
8 - 'printf -v varname' which the prompt and completion code started
9 - to use recently. The completion and prompt scripts have been
10 - adjusted to work better with these old versions of bash.
11 -
12 - * In FreeBSD's and NetBSD's "sh", a return in a dot script in a
13 - function returns from the function, not only in the dot script,
14 - breaking "git rebase" on these platforms (regression introduced
15 - in 1.8.4-rc1).
16 -
17 - * "git rebase -i" and other scripted commands were feeding a
18 - random, data dependent error message to 'echo' and expecting it
19 - to come out literally.
20 -
21 - * Setting the "submodule.<name>.path" variable to the empty
22 - "true" caused the configuration parser to segfault.
23 -
24 - * Output from "git log --full-diff -- <pathspec>" looked strange
25 - because comparison was done with the previous ancestor that
26 - touched the specified <pathspec>, causing the patches for paths
27 - outside the pathspec to show more than the single commit has
28 - changed.
29 -
30 - * The auto-tag-following code in "git fetch" tries to reuse the
31 - same transport twice when the serving end does not cooperate and
32 - does not give tags that point to commits that are asked for as
33 - part of the primary transfer. Unfortunately, Git-aware transport
34 - helper interface is not designed to be used more than once, hence
35 - this did not work over smart-http transfer. Fixed.
36 -
37 - * Send a large request to read(2)/write(2) as a smaller but still
38 - reasonably large chunks, which would improve the latency when the
39 - operation needs to be killed and incidentally works around broken
40 - 64-bit systems that cannot take a 2GB write or read in one go.
41 -
42 - * A ".mailmap" file that ends with an incomplete line, when read
43 - from a blob, was not handled properly.
44 -
45 - * The recent "short-cut clone connectivity check" topic broke a
46 - shallow repository when a fetch operation tries to auto-follow
47 - tags.
48 -
49 - * When send-email comes up with an error message to die with upon
50 - failure to start an SSL session, it tried to read the error
51 - string from a wrong place.
52 -
53 - * A call to xread() was used without a loop to cope with short
54 - read in the codepath to stream large blobs to a pack.
55 -
56 - * On platforms with fgetc() and friends defined as macros, the
57 - configuration parser did not compile.
58 -
59 - * New versions of MediaWiki introduced a new API for returning
60 - more than 500 results in response to a query, which would cause
61 - the MediaWiki remote helper to go into an infinite loop.
62 -
63 - * Subversion's serf access method (the only one available in
64 - Subversion 1.8) for http and https URLs in skelta mode tells its
65 - caller to open multiple files at a time, which made "git svn
66 - fetch" complain that "Temp file with moniker 'svn_delta' already
67 - in use" instead of fetching.
68 -
69 -
70 - Also contains a handful of trivial code clean-ups, documentation
71 - updates, updates to the test suite, etc.
deleted Documentation/RelNotes/1.8.4.2.adoc mode 100644
@@ -1,77 +0,0 @@
1 - Git v1.8.4.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.4.1
5 - --------------------
6 -
7 - * "git clone" gave some progress messages to the standard output, not
8 - to the standard error, and did not allow suppressing them with the
9 - "--no-progress" option.
10 -
11 - * "format-patch --from=<whom>" forgot to omit unnecessary in-body
12 - from line, i.e. when <whom> is the same as the real author.
13 -
14 - * "git shortlog" used to choke and die when there is a malformed
15 - commit (e.g. missing authors); it now simply ignore such a commit
16 - and keeps going.
17 -
18 - * "git merge-recursive" did not parse its "--diff-algorithm=" command
19 - line option correctly.
20 -
21 - * "git branch --track" had a minor regression in v1.8.3.2 and later
22 - that made it impossible to base your local work on anything but a
23 - local branch of the upstream repository you are tracking from.
24 -
25 - * "git ls-files -k" needs to crawl only the part of the working tree
26 - that may overlap the paths in the index to find killed files, but
27 - shared code with the logic to find all the untracked files, which
28 - made it unnecessarily inefficient.
29 -
30 - * When there is no sufficient overlap between old and new history
31 - during a "git fetch" into a shallow repository, objects that the
32 - sending side knows the receiving end has were unnecessarily sent.
33 -
34 - * When running "fetch -q", a long silence while the sender side
35 - computes the set of objects to send can be mistaken by proxies as
36 - dropped connection. The server side has been taught to send a
37 - small empty messages to keep the connection alive.
38 -
39 - * When the webserver responds with "405 Method Not Allowed", "git
40 - http-backend" should tell the client what methods are allowed with
41 - the "Allow" header.
42 -
43 - * "git cvsserver" computed the permission mode bits incorrectly for
44 - executable files.
45 -
46 - * The implementation of "add -i" has a crippling code to work around
47 - ActiveState Perl limitation but it by mistake also triggered on Git
48 - for Windows where MSYS perl is used.
49 -
50 - * We made sure that we notice the user-supplied GIT_DIR is actually a
51 - gitfile, but did not do the same when the default ".git" is a
52 - gitfile.
53 -
54 - * When an object is not found after checking the packfiles and then
55 - loose object directory, read_sha1_file() re-checks the packfiles to
56 - prevent racing with a concurrent repacker; teach the same logic to
57 - has_sha1_file().
58 -
59 - * "git commit --author=$name", when $name is not in the canonical
60 - "A. U. Thor <au.thor@example.xz>" format, looks for a matching name
61 - from existing history, but did not consult mailmap to grab the
62 - preferred author name.
63 -
64 - * The commit object names in the insn sheet that was prepared at the
65 - beginning of "rebase -i" session can become ambiguous as the
66 - rebasing progresses and the repository gains more commits. Make
67 - sure the internal record is kept with full 40-hex object names.
68 -
69 - * "git rebase --preserve-merges" internally used the merge machinery
70 - and as a side effect, left merge summary message in the log, but
71 - when rebasing, there should not be a need for merge summary.
72 -
73 - * "git rebase -i" forgot that the comment character can be
74 - configurable while reading its insn sheet.
75 -
76 - Also contains a handful of trivial code clean-ups, documentation
77 - updates, updates to the test suite, etc.
deleted Documentation/RelNotes/1.8.4.3.adoc mode 100644
@@ -1,54 +0,0 @@
1 - Git v1.8.4.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.4.2
5 - --------------------
6 -
7 - * The interaction between use of Perl in our test suite and NO_PERL
8 - has been clarified a bit.
9 -
10 - * A fast-import stream expresses a pathname with funny characters by
11 - quoting them in C style; remote-hg remote helper (in contrib/)
12 - forgot to unquote such a path.
13 -
14 - * One long-standing flaw in the pack transfer protocol used by "git
15 - clone" was that there was no way to tell the other end which branch
16 - "HEAD" points at, and the receiving end needed to guess. A new
17 - capability has been defined in the pack protocol to convey this
18 - information so that cloning from a repository with more than one
19 - branches pointing at the same commit where the HEAD is at now
20 - reliably sets the initial branch in the resulting repository.
21 -
22 - * We did not handle cases where http transport gets redirected during
23 - the authorization request (e.g. from http:// to https://).
24 -
25 - * "git rev-list --objects ^v1.0^ v1.0" gave v1.0 tag itself in the
26 - output, but "git rev-list --objects v1.0^..v1.0" did not.
27 -
28 - * The fall-back parsing of commit objects with broken author or
29 - committer lines were less robust than ideal in picking up the
30 - timestamps.
31 -
32 - * Bash prompting code to deal with an SVN remote as an upstream
33 - were coded in a way not supported by older Bash versions (3.x).
34 -
35 - * "git checkout topic", when there is not yet a local "topic" branch
36 - but there is a unique remote-tracking branch for a remote "topic"
37 - branch, pretended as if "git checkout -t -b topic remote/$r/topic"
38 - (for that unique remote $r) was run. This hack however was not
39 - implemented for "git checkout topic --".
40 -
41 - * Coloring around octopus merges in "log --graph" output was screwy.
42 -
43 - * We did not generate HTML version of documentation to "git subtree"
44 - in contrib/.
45 -
46 - * The synopsis section of "git unpack-objects" documentation has been
47 - clarified a bit.
48 -
49 - * An ancient How-To on serving Git repositories on an HTTP server
50 - lacked a warning that it has been mostly superseded with more
51 - modern way.
52 -
53 - Also contains a handful of trivial code clean-ups, documentation
54 - updates, updates to the test suite, etc.
deleted Documentation/RelNotes/1.8.4.4.adoc mode 100644
@@ -1,10 +0,0 @@
1 - Git v1.8.4.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.4.3
5 - --------------------
6 -
7 - * The fix in v1.8.4.3 to the pack transfer protocol to propagate
8 - the target of symbolic refs broke "git clone/git fetch" from a
9 - repository with too many symbolic refs. As a hotfix/workaround,
10 - we transfer only the information on HEAD.
deleted Documentation/RelNotes/1.8.4.5.adoc mode 100644
@@ -1,13 +0,0 @@
1 - Git v1.8.4.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.4.4
5 - --------------------
6 -
7 - * Recent update to remote-hg that attempted to make it work better
8 - with non ASCII pathnames fed Unicode strings to the underlying Hg
9 - API, which was wrong.
10 -
11 - * "git submodule init" copied "submodule.$name.update" settings from
12 - .gitmodules to .git/config without making sure if the suggested
13 - value was sensible.
deleted Documentation/RelNotes/1.8.4.adoc mode 100644
@@ -1,486 +0,0 @@
1 - Git v1.8.4 Release Notes
2 - ========================
3 -
4 - Backward compatibility notes (for Git 2.0)
5 - ------------------------------------------
6 -
7 - When "git push [$there]" does not say what to push, we have used the
8 - traditional "matching" semantics so far (all your branches were sent
9 - to the remote as long as there already are branches of the same name
10 - over there). In Git 2.0, the default will change to the "simple"
11 - semantics that pushes:
12 -
13 - - only the current branch to the branch with the same name, and only
14 - when the current branch is set to integrate with that remote
15 - branch, if you are pushing to the same remote as you fetch from; or
16 -
17 - - only the current branch to the branch with the same name, if you
18 - are pushing to a remote that is not where you usually fetch from.
19 -
20 - Use the user preference configuration variable "push.default" to
21 - change this. If you are an old-timer who is used to the "matching"
22 - semantics, you can set the variable to "matching" to keep the
23 - traditional behaviour. If you want to live in the future early, you
24 - can set it to "simple" today without waiting for Git 2.0.
25 -
26 - When "git add -u" (and "git add -A") is run inside a subdirectory and
27 - does not specify which paths to add on the command line, it
28 - will operate on the entire tree in Git 2.0 for consistency
29 - with "git commit -a" and other commands. There will be no
30 - mechanism to make plain "git add -u" behave like "git add -u .".
31 - Current users of "git add -u" (without a pathspec) should start
32 - training their fingers to explicitly say "git add -u ."
33 - before Git 2.0 comes. A warning is issued when these commands are
34 - run without a pathspec and when you have local changes outside the
35 - current directory, because the behaviour in Git 2.0 will be different
36 - from today's version in such a situation.
37 -
38 - In Git 2.0, "git add <path>" will behave as "git add -A <path>", so
39 - that "git add dir/" will notice paths you removed from the directory
40 - and record the removal. Versions before Git 2.0, including this
41 - release, will keep ignoring removals, but the users who rely on this
42 - behaviour are encouraged to start using "git add --ignore-removal <path>"
43 - now before 2.0 is released.
44 -
45 -
46 - Updates since v1.8.3
47 - --------------------
48 -
49 - Foreign interfaces, subsystems and ports.
50 -
51 - * Cygwin port has been updated for more recent Cygwin 1.7.
52 -
53 - * "git rebase -i" now honors --strategy and -X options.
54 -
55 - * Git-gui has been updated to its 0.18.0 version.
56 -
57 - * MediaWiki remote helper (in contrib/) has been updated to use the
58 - credential helper interface from Git.pm.
59 -
60 - * Update build for Cygwin 1.[57]. Torsten Bögershausen reports that
61 - this is fine with Cygwin 1.7 (cf. <51A606A0.5060101@web.de>) so let's try moving it
62 - ahead.
63 -
64 - * The credential helper to talk to keychain on OS X (in contrib/) has
65 - been updated to kick in not just when talking http/https but also
66 - imap(s) and smtp.
67 -
68 - * Remote transport helper has been updated to report errors and
69 - maintain ref hierarchy used to keep track of its own state better.
70 -
71 - * With "export" remote-helper protocol, (1) a push that tries to
72 - update a remote ref whose name is different from the pushing side
73 - does not work yet, and (2) the helper may not know how to do
74 - --dry-run; these problematic cases are disabled for now.
75 -
76 - * git-remote-hg/bzr (in contrib/) updates.
77 -
78 - * git-remote-mw (in contrib/) hints users to check the certificate,
79 - when https:// connection failed.
80 -
81 - * git-remote-mw (in contrib/) adds a command to allow previewing the
82 - contents locally before pushing it out, when working with a
83 - MediaWiki remote.
84 -
85 -
86 - UI, Workflows & Features
87 -
88 - * Sample "post-receive-email" hook script got an enhanced replacement
89 - "multimail" (in contrib/).
90 -
91 - * Also in contrib/ is a new "contacts" script that runs "git blame"
92 - to find out the people who may be interested in a set of changes.
93 -
94 - * "git clean" command learned an interactive mode.
95 -
96 - * The "--head" option to "git show-ref" was only to add "HEAD" to the
97 - list of candidate refs to be filtered by the usual rules
98 - (e.g. "--heads" that only show refs under refs/heads). The meaning
99 - of the option has been changed to always show "HEAD" regardless of
100 - what filtering will be applied to any other ref.
101 -
102 - This is a backward incompatible change and might cause breakages to
103 - people's existing scripts.
104 -
105 - * "git show -s" was less discoverable than it should have been. It
106 - now has a natural synonym "git show --no-patch".
107 -
108 - * "git check-mailmap" is a new command that lets you map usernames
109 - and e-mail addresses through the mailmap mechanism, just like many
110 - built-in commands do.
111 -
112 - * "git name-rev" learned to name an annotated tag object back to its
113 - tagname; "git name-rev $(git rev-parse v1.0.0)" gives "tags/v1.0.0",
114 - for example.
115 -
116 - * "git cat-file --batch-check=<format>" is added, primarily to allow
117 - on-disk footprint of objects in packfiles (often they are a lot
118 - smaller than their true size, when expressed as deltas) to be
119 - reported.
120 -
121 - * "git rebase [-i]" used to leave just "rebase" as its reflog messages
122 - for some operations. They have been reworded to be more informative.
123 -
124 - * In addition to the choice from "rebase, merge, or checkout-detach",
125 - "submodule update" can allow a custom command to be used in to
126 - update the working tree of submodules via the "submodule.*.update"
127 - configuration variable.
128 -
129 - * "git submodule update" can optionally clone the submodule
130 - repositories shallowly.
131 -
132 - * "git format-patch" learned "--from[=whom]" option, which sets the
133 - "From: " header to the specified person (or the person who runs the
134 - command, if "=whom" part is missing) and move the original author
135 - information to an in-body From: header as necessary.
136 -
137 - * The configuration variable "merge.ff" was cleary a tri-state to
138 - choose one from "favor fast-forward when possible", "always create
139 - a merge even when the history could fast-forward" and "do not
140 - create any merge, only update when the history fast-forwards", but
141 - the command line parser did not implement the usual convention of
142 - "last one wins, and command line overrides the configuration"
143 - correctly.
144 -
145 - * "gitweb" learned to optionally place extra links that point at the
146 - levels higher than the Gitweb pages themselves in the breadcrumbs,
147 - so that it can be used as part of a larger installation.
148 -
149 - * "git log --format=" now honors i18n.logoutputencoding configuration
150 - variable.
151 -
152 - * The "push.default=simple" mode of "git push" has been updated to
153 - behave like "current" without requiring a remote tracking
154 - information, when you push to a remote that is different from where
155 - you fetch from (i.e. a triangular workflow).
156 -
157 - * Having multiple "fixup!" on a line in the rebase instruction sheet
158 - did not work very well with "git rebase -i --autosquash".
159 -
160 - * "git log" learned the "--author-date-order" option, with which the
161 - output is topologically sorted and commits in parallel histories
162 - are shown intermixed together based on the author timestamp.
163 -
164 - * Various subcommands of "git submodule" refused to run from anywhere
165 - other than the top of the working tree of the superproject, but
166 - they have been taught to let you run from a subdirectory.
167 -
168 - * "git diff" learned a mode that ignores hunks whose change consists
169 - only of additions and removals of blank lines, which is the same as
170 - "diff -B" (ignore blank lines) of GNU diff.
171 -
172 - * "git rm" gives a single message followed by list of paths to report
173 - multiple paths that cannot be removed.
174 -
175 - * "git rebase" can be told with ":/look for this string" syntax commits
176 - to replay the changes onto and where the work to be replayed begins.
177 -
178 - * Many tutorials teach users to set "color.ui" to "auto" as the first
179 - thing after you set "user.name/email" to introduce yourselves to
180 - Git. Now the variable defaults to "auto".
181 -
182 - * On Cygwin, "cygstart" is now recognised as a possible way to start
183 - a web browser (used in "help -w" and "instaweb" among others).
184 -
185 - * "git status" learned status.branch and status.short configuration
186 - variables to use --branch and --short options by default (override
187 - with --no-branch and --no-short options from the command line).
188 -
189 - * "git cmd <name>", when <name> happens to be a 40-hex string,
190 - directly uses the 40-hex string as an object name, even if a ref
191 - "refs/<some hierarchy>/<name>" exists. This disambiguation order
192 - is unlikely to change, but we should warn about the ambiguity just
193 - like we warn when more than one refs/ hierarchies share the same
194 - name.
195 -
196 - * "git rebase" learned "--[no-]autostash" option to save local
197 - changes instead of refusing to run (to which people's normal
198 - response was to stash them and re-run). This introduced a corner
199 - case breakage to "git am --abort" but it has been fixed.
200 -
201 - * "check-ignore" (new feature since 1.8.2) has been updated to work
202 - more like "check-attr" over bidi-pipes.
203 -
204 - * "git describe" learned "--first-parent" option to limit its closest
205 - tagged commit search to the first-parent chain.
206 -
207 - * "git merge foo" that might have meant "git merge origin/foo" is
208 - diagnosed with a more informative error message.
209 -
210 - * "git log -L<line>,<range>:<filename>" has been added. This may
211 - still have leaks and rough edges, though.
212 -
213 - * We used the approxidate() parser for "--expire=<timestamp>" options
214 - of various commands, but it is better to treat --expire=all and
215 - --expire=now a bit more specially than using the current timestamp.
216 - "git gc" and "git reflog" have been updated with a new parsing
217 - function for expiry dates.
218 -
219 - * Updates to completion (both bash and zsh) helpers.
220 -
221 - * The behaviour of the "--chain-reply-to" option of "git send-email"
222 - have changed at 1.7.0, and we added a warning/advice message to
223 - help users adjust to the new behaviour back then, but we kept it
224 - around for too long. The message has finally been removed.
225 -
226 - * "git fetch origin master" unlike "git fetch origin" or "git fetch"
227 - did not update "refs/remotes/origin/master"; this was an early
228 - design decision to keep the update of remote tracking branches
229 - predictable, but in practice it turns out that people find it more
230 - convenient to opportunistically update them whenever we have a
231 - chance, and we have been updating them when we run "git push" which
232 - already breaks the original "predictability" anyway.
233 -
234 - * The configuration variable core.checkstat was advertised in the
235 - documentation but the code expected core.statinfo instead.
236 - For now, we accept both core.checkstat and core.statinfo, but the
237 - latter will be removed in the longer term.
238 -
239 -
240 - Performance, Internal Implementation, etc.
241 -
242 - * On Cygwin, we used to use our own lstat(2) emulation that is
243 - allegedly faster than the platform one in codepaths where some of
244 - the information it returns did not matter, but it started to bite
245 - us in a few codepaths where the trick it uses to cheat does show
246 - breakages. This emulation has been removed and we use the native
247 - lstat(2) emulation supplied by Cygwin now.
248 -
249 - * The function attributes extensions are used to catch mistakes in
250 - use of our own variadic functions that use NULL sentinel at the end
251 - (i.e. like execl(3)) and format strings (i.e. like printf(3)).
252 -
253 - * The code to allow configuration data to be read from in-tree blob
254 - objects is in. This may help working in a bare repository and
255 - submodule updates.
256 -
257 - * Fetching between repositories with many refs employed O(n^2)
258 - algorithm to match up the common objects, which has been corrected.
259 -
260 - * The original way to specify remote repository using .git/branches/
261 - used to have a nifty feature. The code to support the feature was
262 - still in a function but the caller was changed not to call it 5
263 - years ago, breaking that feature and leaving the supporting code
264 - unreachable. The dead code has been removed.
265 -
266 - * "git pack-refs" that races with new ref creation or deletion have
267 - been susceptible to lossage of refs under right conditions, which
268 - has been tightened up.
269 -
270 - * We read loose and packed references in two steps, but after
271 - deciding to read a loose ref but before actually opening it to read
272 - it, another process racing with us can unlink it, which would cause
273 - us to barf. The codepath has been updated to retry when such a
274 - race is detected, instead of outright failing.
275 -
276 - * Uses of the platform fnmatch(3) function (many places in the code,
277 - matching pathspec, .gitignore and .gitattributes to name a few)
278 - have been replaced with wildmatch, allowing "foo/**/bar" that would
279 - match foo/bar, foo/a/bar, foo/a/b/bar, etc.
280 -
281 - * Memory ownership and lifetime rules for what for-each-ref feeds to
282 - its callbacks have been clarified (in short, "you do not own it, so
283 - make a copy if you want to keep it").
284 -
285 - * The revision traversal logic to improve culling of irrelevant
286 - parents while traversing a mergy history has been updated.
287 -
288 - * Some leaks in unpack-trees (used in merge, cherry-pick and other
289 - codepaths) have been plugged.
290 -
291 - * The codepath to read from marks files in fast-import/export did not
292 - have to accept anything but 40-hex representation of the object
293 - name. Further, fast-export did not need full in-core object
294 - representation to have parsed wen reading from them. These
295 - codepaths have been optimized by taking advantage of these access
296 - patterns.
297 -
298 - * Object lookup logic, when the object hashtable starts to become
299 - crowded, has been optimized.
300 -
301 - * When TEST_OUTPUT_DIRECTORY setting is used, it was handled somewhat
302 - inconsistently between the test framework and t/Makefile, and logic
303 - to summarize the results looked at a wrong place.
304 -
305 - * "git clone" uses a lighter-weight implementation when making sure
306 - that the history behind refs are complete.
307 -
308 - * Many warnings from sparse source checker in compat/ area has been
309 - squelched.
310 -
311 - * The code to reading and updating packed-refs file has been updated,
312 - correcting corner case bugs.
313 -
314 -
315 - Also contains various documentation updates and code clean-ups.
316 -
317 -
318 - Fixes since v1.8.3
319 - ------------------
320 -
321 - Unless otherwise noted, all the fixes since v1.8.3 in the maintenance
322 - track are contained in this release (see release notes to them for
323 - details).
324 -
325 - * Newer Net::SMTP::SSL module does not want the user programs to use
326 - the default behaviour to let server certificate go without
327 - verification, so by default enable the verification with a
328 - mechanism to turn it off if needed.
329 - (merge 35035bb rr/send-email-ssl-verify later to maint).
330 -
331 - * When "git" is spawned in such a way that any of the low 3 file
332 - descriptors is closed, our first open() may yield file descriptor 2,
333 - and writing error message to it would screw things up in a big way.
334 - (merge a11c396 tr/protect-low-3-fds later to maint).
335 -
336 - * The mailmap mechanism unnecessarily downcased the e-mail addresses
337 - in the output, and also ignored the human name when it is a single
338 - character name.
339 - (merge bd23794 jc/mailmap-case-insensitivity later to maint).
340 -
341 - * In two places we did not check return value (expected to be a file
342 - descriptor) correctly.
343 - (merge a77f106 tr/fd-gotcha-fixes later to maint).
344 -
345 - * Logic to auto-detect character encodings in the commit log message
346 - did not reject overlong and invalid UTF-8 characters.
347 - (merge 81050ac bc/commit-invalid-utf8 later to maint).
348 -
349 - * Pass port number as a separate argument when "send-email" initializes
350 - Net::SMTP, instead of as a part of the hostname, i.e. host:port.
351 - This allows GSSAPI codepath to match with the hostname given.
352 - (merge 1a741bf bc/send-email-use-port-as-separate-param later to maint).
353 -
354 - * "git diff" refused to even show difference when core.safecrlf is
355 - set to true (i.e. error out) and there are offending lines in the
356 - working tree files.
357 - (merge 5430bb2 jc/maint-diff-core-safecrlf later to maint).
358 -
359 - * A test that should have failed but didn't revealed a bug that needs
360 - to be corrected.
361 - (merge 94d75d1 jc/t1512-fix later to maint).
362 -
363 - * An overlong path to a .git directory may have overflown the
364 - temporary path buffer used to create a name for lockfiles.
365 - (merge 2fbd4f9 mh/maint-lockfile-overflow later to maint).
366 -
367 - * Invocations of "git checkout" used internally by "git rebase" were
368 - counted as "checkout", and affected later "git checkout -", which took
369 - the user to an unexpected place.
370 - (merge 3bed291 rr/rebase-checkout-reflog later to maint).
371 -
372 - * The configuration variable column.ui was poorly documented.
373 - (merge 5e62cc1 rr/column-doc later to maint).
374 -
375 - * "git name-rev --refs=tags/v*" were forbidden, which was a bit
376 - inconvenient (you had to give a pattern to match refs fully, like
377 - --refs=refs/tags/v*).
378 - (merge 98c5c4a nk/name-rev-abbreviated-refs later to maint).
379 -
380 - * "git apply" parsed patches that add new files, generated by
381 - programs other than Git, incorrectly. This is an old breakage in
382 - v1.7.11 and will need to be merged down to the maintenance tracks.
383 -
384 - * Older cURL wanted piece of memory we call it with to be stable, but
385 - we updated the auth material after handing it to a call.
386 -
387 - * "git pull" into nothing trashed "local changes" that were in the
388 - index, and this avoids it.
389 -
390 - * Many "git submodule" operations do not work on a submodule at a
391 - path whose name is not in ASCII.
392 -
393 - * "cherry-pick" had a small leak in an error codepath.
394 -
395 - * Logic used by git-send-email to suppress cc mishandled names like
396 - "A U. Thor" <author@example.xz>, where the human readable part
397 - needs to be quoted (the user input may not have the double quotes
398 - around the name, and comparison was done between quoted and
399 - unquoted strings). It also mishandled names that need RFC2047
400 - quoting.
401 -
402 - * Call to discard_cache/discard_index (used when we use different
403 - contents of the index in-core, in many operations like commit,
404 - apply, and merge) used to leak memory that held the array of index
405 - entries, which has been plugged.
406 - (merge a0fc4db rs/discard-index-discard-array later to maint).
407 -
408 - * "gitweb" forgot to clear a global variable $search_regexp upon each
409 - request, mistakenly carrying over the previous search to a new one
410 - when used as a persistent CGI.
411 -
412 - * The wildmatch engine did not honor WM_CASEFOLD option correctly.
413 -
414 - * "git log -c --follow $path" segfaulted upon hitting the commit that
415 - renamed the $path being followed.
416 -
417 - * When a reflog notation is used for implicit "current branch", we
418 - did not say which branch and worse said "branch ''".
419 -
420 - * "difftool --dir-diff" did not copy back changes made by the
421 - end-user in the diff tool backend to the working tree in some
422 - cases.
423 -
424 - * "git push $there HEAD:branch" did not resolve HEAD early enough, so
425 - it was easy to flip it around while push is still going on and push
426 - out a branch that the user did not originally intended when the
427 - command was started.
428 -
429 - * The bash prompt code (in contrib/) displayed the name of the branch
430 - being rebased when "rebase -i/-m/-p" modes are in use, but not the
431 - plain vanilla "rebase".
432 -
433 - * Handling of negative exclude pattern for directories "!dir" was
434 - broken in the update to v1.8.3.
435 -
436 - * zsh prompt script that borrowed from bash prompt script did not
437 - work due to slight differences in array variable notation between
438 - these two shells.
439 -
440 - * An entry for "file://" scheme in the enumeration of URL types Git
441 - can take in the HTML documentation was made into a clickable link
442 - by mistake.
443 -
444 - * "git push --[no-]verify" was not documented.
445 -
446 - * Stop installing the git-remote-testpy script that is only used for
447 - testing.
448 -
449 - * "git commit --allow-empty-message -m ''" should not start an
450 - editor.
451 -
452 - * "git merge @{-1}~22" was rewritten to "git merge frotz@{1}~22"
453 - incorrectly when your previous branch was "frotz" (it should be
454 - rewritten to "git merge frotz~22" instead).
455 -
456 - * "git diff -c -p" was not showing a deleted line from a hunk when
457 - another hunk immediately begins where the earlier one ends.
458 -
459 - * "git log --ancestry-path A...B" did not work as expected, as it did
460 - not pay attention to the fact that the merge base between A and B
461 - was the bottom of the range being specified.
462 -
463 - * Mac OS X does not like to write(2) more than INT_MAX number of
464 - bytes; work it around by chopping write(2) into smaller pieces.
465 -
466 - * Newer MacOS X encourages the programs to compile and link with
467 - their CommonCrypto, not with OpenSSL.
468 -
469 - * "git clone foo/bar:baz" cannot be a request to clone from a remote
470 - over git-over-ssh specified in the scp style. This case is now
471 - detected and clones from a local repository at "foo/bar:baz".
472 -
473 - * When $HOME is misconfigured to point at an unreadable directory, we
474 - used to complain and die. Loosen the check.
475 -
476 - * "git subtree" (in contrib/) had one codepath with loose error
477 - checks to lose data at the remote side.
478 -
479 - * "git fetch" into a shallow repository from a repository that does
480 - not know about the shallow boundary commits (e.g. a different fork
481 - from the repository the current shallow repository was cloned from)
482 - did not work correctly.
483 -
484 - * "git checkout foo" DWIMs the intended "upstream" and turns it into
485 - "git checkout -t -b foo remotes/origin/foo". This codepath has been
486 - updated to correctly take existing remote definitions into account.
deleted Documentation/RelNotes/1.8.5.1.adoc mode 100644
@@ -1,9 +0,0 @@
1 - Git v1.8.5.1 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.5
5 - ------------------
6 -
7 - * "git submodule init" copied "submodule.$name.update" settings from
8 - .gitmodules to .git/config without making sure if the suggested
9 - value was sensible.
deleted Documentation/RelNotes/1.8.5.2.adoc mode 100644
@@ -1,20 +0,0 @@
1 - Git v1.8.5.2 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.5.1
5 - --------------------
6 -
7 - * "git diff -- ':(icase)makefile'" was unnecessarily rejected at the
8 - command line parser.
9 -
10 - * "git cat-file --batch-check=ok" did not check the existence of
11 - the named object.
12 -
13 - * "git am --abort" sometimes complained about not being able to write
14 - a tree with an 0{40} object in it.
15 -
16 - * Two processes creating loose objects at the same time could have
17 - failed unnecessarily when the name of their new objects started
18 - with the same byte value, due to a race condition.
19 -
20 - Also contains typofixes, documentation updates and trivial code clean-ups.
deleted Documentation/RelNotes/1.8.5.3.adoc mode 100644
@@ -1,27 +0,0 @@
1 - Git v1.8.5.3 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.5.2
5 - --------------------
6 -
7 - * The "--[no-]informative-errors" options to "git daemon" were parsed
8 - a bit too loosely, allowing any other string after these option
9 - names.
10 -
11 - * A "gc" process running as a different user should be able to stop a
12 - new "gc" process from starting.
13 -
14 - * An earlier "clean-up" introduced an unnecessary memory leak to the
15 - credential subsystem.
16 -
17 - * "git mv A B/", when B does not exist as a directory, should error
18 - out, but it didn't.
19 -
20 - * "git rev-parse <revs> -- <paths>" did not implement the usual
21 - disambiguation rules the commands in the "git log" family used in
22 - the same way.
23 -
24 - * "git cat-file --batch=", an admittedly useless command, did not
25 - behave very well.
26 -
27 - Also contains typofixes, documentation updates and trivial code clean-ups.
deleted Documentation/RelNotes/1.8.5.4.adoc mode 100644
@@ -1,48 +0,0 @@
1 - Git v1.8.5.4 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.5.3
5 - --------------------
6 -
7 - * "git fetch --depth=0" was a no-op, and was silently ignored.
8 - Diagnose it as an error.
9 -
10 - * Remote repository URL expressed in scp-style host:path notation are
11 - parsed more carefully (e.g. "foo/bar:baz" is local, "[::1]:/~user" asks
12 - to connect to user's home directory on host at address ::1.
13 -
14 - * SSL-related options were not passed correctly to underlying socket
15 - layer in "git send-email".
16 -
17 - * "git commit -v" appends the patch to the log message before
18 - editing, and then removes the patch when the editor returned
19 - control. However, the patch was not stripped correctly when the
20 - first modified path was a submodule.
21 -
22 - * "git mv A B/", when B does not exist as a directory, should error
23 - out, but it didn't.
24 -
25 - * When we figure out how many file descriptors to allocate for
26 - keeping packfiles open, a system with non-working getrlimit() could
27 - cause us to die(), but because we make this call only to get a
28 - rough estimate of how many is available and we do not even attempt
29 - to use up all file descriptors available ourselves, it is nicer to
30 - fall back to a reasonable low value rather than dying.
31 -
32 - * "git log --decorate" did not handle a tag pointed by another tag
33 - nicely.
34 -
35 - * "git add -A" (no other arguments) in a totally empty working tree
36 - used to emit an error.
37 -
38 - * There is no reason to have a hardcoded upper limit of the number of
39 - parents for an octopus merge, created via the graft mechanism, but
40 - there was.
41 -
42 - * The implementation of 'git stash $cmd "stash@{...}"' did not quote
43 - the stash argument properly and left it split at IFS whitespace.
44 -
45 - * The documentation to "git pull" hinted there is an "-m" option
46 - because it incorrectly shared the documentation with "git merge".
47 -
48 - Also contains typofixes, documentation updates and trivial code clean-ups.
deleted Documentation/RelNotes/1.8.5.5.adoc mode 100644
@@ -1,37 +0,0 @@
1 - Git v1.8.5.5 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.5.4
5 - --------------------
6 -
7 - * The pathspec matching code, while comparing two trees (e.g. "git
8 - diff A B -- path1 path2") was too aggressive and failed to match
9 - some paths when multiple pathspecs were involved.
10 -
11 - * "git repack --max-pack-size=8g" stopped being parsed correctly when
12 - the command was reimplemented in C.
13 -
14 - * A recent update to "git send-email" broke platforms where
15 - /etc/ssl/certs/ directory exists but cannot be used as SSL_ca_path
16 - (e.g. Fedora rawhide).
17 -
18 - * A handful of bugs around interpreting $branch@{upstream} notation
19 - and its lookalike, when $branch part has interesting characters,
20 - e.g. "@", and ":", have been fixed.
21 -
22 - * "git clone" would fail to clone from a repository that has a ref
23 - directly under "refs/", e.g. "refs/stash", because different
24 - validation paths do different things on such a refname. Loosen the
25 - client side's validation to allow such a ref.
26 -
27 - * "git log --left-right A...B" lost the "leftness" of commits
28 - reachable from A when A is a tag as a side effect of a recent
29 - bugfix. This is a regression in 1.8.4.x series.
30 -
31 - * "git merge-base --octopus" used to leave cleaning up suboptimal
32 - result to the caller, but now it does the clean-up itself.
33 -
34 - * "git mv A B/", when B does not exist as a directory, should error
35 - out, but it didn't.
36 -
37 - Also contains typofixes, documentation updates and trivial code clean-ups.
deleted Documentation/RelNotes/1.8.5.6.adoc mode 100644
@@ -1,34 +0,0 @@
1 - Git v1.8.5.6 Release Notes
2 - ==========================
3 -
4 - Fixes since v1.8.5.5
5 - --------------------
6 -
7 - * We used to allow committing a path ".Git/config" with Git that is
8 - running on a case sensitive filesystem, but an attempt to check out
9 - such a path with Git that runs on a case insensitive filesystem
10 - would have clobbered ".git/config", which is definitely not what
11 - the user would have expected. Git now prevents you from tracking
12 - a path with ".Git" (in any case combination) as a path component.
13 -
14 - * On Windows, certain path components that are different from ".git"
15 - are mapped to ".git", e.g. "git~1/config" is treated as if it were
16 - ".git/config". HFS+ has a similar issue, where certain unicode
17 - codepoints are ignored, e.g. ".g\u200cit/config" is treated as if
18 - it were ".git/config". Pathnames with these potential issues are
19 - rejected on the affected systems. Git on systems that are not
20 - affected by this issue (e.g. Linux) can also be configured to
21 - reject them to ensure cross platform interoperability of the hosted
22 - projects.
23 -
24 - * "git fsck" notices a tree object that records such a path that can
25 - be confused with ".git", and with receive.fsckObjects configuration
26 - set to true, an attempt to "git push" such a tree object will be
27 - rejected. Such a path may not be a problem on a well behaving
28 - filesystem but in order to protect those on HFS+ and on case
29 - insensitive filesystems, this check is enabled on all platforms.
30 -
31 - A big "thanks!" for bringing this issue to us goes to our friends in
32 - the Mercurial land, namely, Matt Mackall and Augie Fackler.
33 -
34 - Also contains typofixes, documentation updates and trivial code clean-ups.
deleted Documentation/RelNotes/1.8.5.adoc mode 100644
@@ -1,456 +0,0 @@
1 - Git v1.8.5 Release Notes
2 - ========================
3 -
4 - Backward compatibility notes (for Git 2.0)
5 - ------------------------------------------
6 -
7 - When "git push [$there]" does not say what to push, we have used the
8 - traditional "matching" semantics so far (all your branches were sent
9 - to the remote as long as there already are branches of the same name
10 - over there). In Git 2.0, the default will change to the "simple"
11 - semantics, which pushes:
12 -
13 - - only the current branch to the branch with the same name, and only
14 - when the current branch is set to integrate with that remote
15 - branch, if you are pushing to the same remote as you fetch from; or
16 -
17 - - only the current branch to the branch with the same name, if you
18 - are pushing to a remote that is not where you usually fetch from.
19 -
20 - Use the user preference configuration variable "push.default" to
21 - change this. If you are an old-timer who is used to the "matching"
22 - semantics, you can set the variable to "matching" to keep the
23 - traditional behaviour. If you want to live in the future early, you
24 - can set it to "simple" today without waiting for Git 2.0.
25 -
26 - When "git add -u" (and "git add -A") is run inside a subdirectory and
27 - does not specify which paths to add on the command line, it
28 - will operate on the entire tree in Git 2.0 for consistency
29 - with "git commit -a" and other commands. There will be no
30 - mechanism to make plain "git add -u" behave like "git add -u .".
31 - Current users of "git add -u" (without a pathspec) should start
32 - training their fingers to explicitly say "git add -u ."
33 - before Git 2.0 comes. A warning is issued when these commands are
34 - run without a pathspec and when you have local changes outside the
35 - current directory, because the behaviour in Git 2.0 will be different
36 - from today's version in such a situation.
37 -
38 - In Git 2.0, "git add <path>" will behave as "git add -A <path>", so
39 - that "git add dir/" will notice paths you removed from the directory
40 - and record the removal. Versions before Git 2.0, including this
41 - release, will keep ignoring removals, but the users who rely on this
42 - behaviour are encouraged to start using "git add --ignore-removal <path>"
43 - now before 2.0 is released.
44 -
45 - The default prefix for "git svn" will change in Git 2.0. For a long
46 - time, "git svn" created its remote-tracking branches directly under
47 - refs/remotes, but it will place them under refs/remotes/origin/ unless
48 - it is told otherwise with its --prefix option.
49 -
50 -
51 - Updates since v1.8.4
52 - --------------------
53 -
54 - Foreign interfaces, subsystems and ports.
55 -
56 - * "git-svn" has been taught to use the serf library, which is the
57 - only option SVN 1.8.0 offers us when talking the HTTP protocol.
58 -
59 - * "git-svn" talking over an https:// connection using the serf library
60 - dumped core due to a bug in the serf library that SVN uses. Work
61 - around it on our side, even though the SVN side is being fixed.
62 -
63 - * On MacOS X, we detected if the filesystem needs the "pre-composed
64 - unicode strings" workaround, but did not automatically enable it.
65 - Now we do.
66 -
67 - * remote-hg remote helper misbehaved when interacting with a local Hg
68 - repository relative to the home directory, e.g. "clone hg::~/there".
69 -
70 - * imap-send ported to OS X uses Apple's security framework instead of
71 - OpenSSL's.
72 -
73 - * "git fast-import" treats an empty path given to "ls" as the root of
74 - the tree.
75 -
76 -
77 - UI, Workflows & Features
78 -
79 - * xdg-open can be used as a browser backend for "git web-browse"
80 - (hence to show "git help -w" output), when available.
81 -
82 - * "git grep" and "git show" pay attention to the "--textconv" option
83 - when these commands are told to operate on blob objects (e.g. "git
84 - grep -e pattern --textconv HEAD:Makefile").
85 -
86 - * "git replace" helper no longer allows an object to be replaced with
87 - another object of a different type to avoid confusion (you can
88 - still manually craft such a replacement using "git update-ref", as an
89 - escape hatch).
90 -
91 - * "git status" no longer prints the dirty status information of
92 - submodules for which submodule.$name.ignore is set to "all".
93 -
94 - * "git rebase -i" honours core.abbrev when preparing the insn sheet
95 - for editing.
96 -
97 - * "git status" during a cherry-pick shows which original commit is
98 - being picked.
99 -
100 - * Instead of typing four capital letters "HEAD", you can say "@" now,
101 - e.g. "git log @".
102 -
103 - * "git check-ignore" follows the same rule as "git add" and "git
104 - status" in that the ignore/exclude mechanism does not take effect
105 - on paths that are already tracked. With the "--no-index" option, it
106 - can be used to diagnose which paths that should have been ignored
107 - have been mistakenly added to the index.
108 -
109 - * Some irrelevant "advice" messages that are shared with "git status"
110 - output have been removed from the commit log template.
111 -
112 - * "update-refs" learned a "--stdin" option to read multiple update
113 - requests and perform them in an all-or-none fashion.
114 -
115 - * Just like "make -C <directory>", "git -C <directory> ..." tells Git
116 - to go there before doing anything else.
117 -
118 - * Just like "git checkout -" knows to check out, and "git merge -"
119 - knows to merge, the branch you were previously on, "git cherry-pick"
120 - now understands "git cherry-pick -" to pick from the previous
121 - branch.
122 -
123 - * "git status" now omits the prefix to make its output a comment in a
124 - commit log editor, which is not necessary for human consumption.
125 - Scripts that parse the output of "git status" are advised to use
126 - "git status --porcelain" instead, as its format is stable and easier
127 - to parse.
128 -
129 - * The ref syntax "foo^{tag}" (with the literal string "{tag}") peels a
130 - tag ref to itself, i.e. it's a no-op., and fails if
131 - "foo" is not a tag. "git rev-parse --verify v1.0^{tag}" is
132 - a more convenient way than "test $(git cat-file -t v1.0) = tag" to
133 - check if v1.0 is a tag.
134 -
135 - * "git branch -v -v" (and "git status") did not distinguish among a
136 - branch that is not based on any other branch, a branch that is in
137 - sync with its upstream branch, and a branch that is configured with an
138 - upstream branch that no longer exists.
139 -
140 - * Earlier we started rejecting any attempt to add the 0{40} object name to
141 - the index and to tree objects, but it sometimes is necessary to
142 - allow this to be able to use tools like filter-branch to correct such
143 - broken tree objects. "filter-branch" can again be used to do this.
144 -
145 - * "git config" did not provide a way to set or access numbers larger
146 - than a native "int" on the platform; it now provides 64-bit signed
147 - integers on all platforms.
148 -
149 - * "git pull --rebase" always chose to do the bog-standard flattening
150 - rebase. You can tell it to run "rebase --preserve-merges" with
151 - "git pull --rebase=preserve" or by
152 - setting "pull.rebase" configuration to "preserve".
153 -
154 - * "git push --no-thin" actually disables the "thin pack transfer"
155 - optimization.
156 -
157 - * Magic pathspecs like ":(icase)makefile" (matches both Makefile
158 - and makefile) and ":(glob)foo/**/bar" (matches "bar" in "foo"
159 - and any subdirectory of "foo") can be used in more places.
160 -
161 - * The "http.*" variables can now be specified for individual URLs.
162 - For example,
163 -
164 - [http]
165 - sslVerify = true
166 - [http "https://weak.example.com/"]
167 - sslVerify = false
168 -
169 - would flip http.sslVerify off only when talking to that specific
170 - site.
171 -
172 - * "git mv A B" when moving a submodule has been taught to
173 - relocate the submodule's working tree and to adjust the paths in the
174 - .gitmodules file.
175 -
176 - * "git blame" can now take more than one -L option to discover the
177 - origin of multiple blocks of lines.
178 -
179 - * The http transport clients can optionally ask to save cookies
180 - with the http.savecookies configuration variable.
181 -
182 - * "git push" learned a more fine grained control over a blunt
183 - "--force" when requesting a non-fast-forward update with the
184 - "--force-with-lease=<refname>:<expected object name>" option.
185 -
186 - * "git diff --diff-filter=<classes of changes>" can now take
187 - lowercase letters (e.g. "--diff-filter=d") to mean "show
188 - everything but these classes". "git diff-files -q" is now a
189 - deprecated synonym for "git diff-files --diff-filter=d".
190 -
191 - * "git fetch" (hence "git pull" as well) learned to check
192 - "fetch.prune" and "remote.*.prune" configuration variables and
193 - to behave as if the "--prune" command line option was given.
194 -
195 - * "git check-ignore -z" applied the NUL termination to both its input
196 - (with --stdin) and its output, but "git check-attr -z" ignored the
197 - option on the output side. Make both honor -z on the input and
198 - output side the same way.
199 -
200 - * "git whatchanged" may still be used by old timers, but mention of
201 - it in documents meant for new users will only waste readers' time
202 - wondering what the difference is between it and "git log". Make it
203 - less prominent in the general part of the documentation and explain
204 - that it is merely a "git log" with different default behaviour in
205 - its own document.
206 -
207 -
208 - Performance, Internal Implementation, etc.
209 -
210 - * "git for-each-ref" when asking for merely the object name does not
211 - have to parse the object pointed at by the refs; the codepath has
212 - been optimized.
213 -
214 - * The HTTP transport will try to use TCP keepalive when able.
215 -
216 - * "git repack" is now written in C.
217 -
218 - * Build procedure for MSVC has been updated.
219 -
220 - * If a build-time fallback is set to "cat" instead of "less", we
221 - should apply the same "no subprocess or pipe" optimization as we
222 - apply to user-supplied GIT_PAGER=cat.
223 -
224 - * Many commands use a --dashed-option as an operation mode selector
225 - (e.g. "git tag --delete") that excludes other operation modes
226 - (e.g. "git tag --delete --verify" is nonsense) and that cannot be
227 - negated (e.g. "git tag --no-delete" is nonsense). The parse-options
228 - API learned a new OPT_CMDMODE macro to make it easier to implement
229 - such a set of options.
230 -
231 - * OPT_BOOLEAN() in the parse-options API was misdesigned to be "counting
232 - up" but many subcommands expect it to behave as "on/off". Update
233 - them to use OPT_BOOL() which is a proper boolean.
234 -
235 - * "git gc" exits early without doing any work when it detects
236 - that another instance of itself is already running.
237 -
238 - * Under memory pressure and/or file descriptor pressure, we used to
239 - close pack windows that are not used and also closed filehandles to
240 - open but unused packfiles. These are now controlled separately
241 - to better cope with the load.
242 -
243 - Also contains various documentation updates and code clean-ups.
244 -
245 -
246 - Fixes since v1.8.4
247 - ------------------
248 -
249 - Unless otherwise noted, all the fixes since v1.8.4 in the maintenance
250 - track are contained in this release (see the maintenance releases' notes for
251 - details).
252 -
253 - * An ancient How-To on serving Git repositories on an HTTP server
254 - lacked a warning that it has been mostly superseded with a more
255 - modern way.
256 - (merge 6d52bc3 sc/doc-howto-dumb-http later to maint).
257 -
258 - * The interaction between the use of Perl in our test suite and NO_PERL
259 - has been clarified a bit.
260 - (merge f8fc0ee jn/test-prereq-perl-doc later to maint).
261 -
262 - * The synopsis section of the "git unpack-objects" documentation has been
263 - clarified a bit.
264 - (merge 61e2e22 vd/doc-unpack-objects later to maint).
265 -
266 - * We did not generate the HTML version of the documentation to "git subtree"
267 - in contrib/.
268 - (merge 95c62fb jk/subtree-install-fix later to maint).
269 -
270 - * A fast-import stream expresses a pathname with funny characters by
271 - quoting them in C style; the remote-hg remote helper forgot to unquote
272 - such a path.
273 - (merge 1136265 ap/remote-hg-unquote-cquote later to maint).
274 -
275 - * "git reset -p HEAD" has a codepath to special-case it to behave
276 - differently from resetting to contents of other commits, but a
277 - recent change broke it.
278 -
279 - * Coloring around octopus merges in "log --graph" output was screwy.
280 - (merge 339c17b hn/log-graph-color-octopus later to maint).
281 -
282 - * "git checkout topic", when there is not yet a local "topic" branch
283 - but there is a unique remote-tracking branch for a remote "topic"
284 - branch, pretended as if "git checkout -t -b topic remote/$r/topic"
285 - (for that unique remote $r) was run. This hack however was not
286 - implemented for "git checkout topic --".
287 - (merge bca3969 mm/checkout-auto-track-fix later to maint).
288 -
289 - * One long-standing flaw in the pack transfer protocol used by "git
290 - clone" was that there was no way to tell the other end which branch
291 - "HEAD" points at, and the receiving end needed to guess. A new
292 - capability has been defined in the pack protocol to convey this
293 - information so that cloning from a repository with more than one
294 - branch pointing at the same commit where the HEAD is at now
295 - reliably sets the initial branch in the resulting repository.
296 - (merge 360a326 jc/upload-pack-send-symref later to maint).
297 -
298 - * We did not handle cases where the http transport gets redirected during
299 - the authorization request (e.g. from http:// to https://).
300 - (merge 70900ed jk/http-auth-redirects later to maint).
301 -
302 - * Bash prompting code to deal with an SVN remote as an upstream
303 - was coded in a way unsupported by older Bash versions (3.x).
304 - (merge 52ec889 sg/prompt-svn-remote-fix later to maint).
305 -
306 - * The fall-back parsing of commit objects with broken author or
307 - committer lines was less robust than ideal in picking up the
308 - timestamps.
309 - (merge 03818a4 jk/split-broken-ident later to maint).
310 -
311 - * "git rev-list --objects ^v1.0^ v1.0" gave the v1.0 tag itself in the
312 - output, but "git rev-list --objects v1.0^..v1.0" did not.
313 - (merge 895c5ba jc/revision-range-unpeel later to maint).
314 -
315 - * "git clone" wrote some progress messages to standard output, not
316 - to standard error, and did not suppress them with the
317 - --no-progress option.
318 - (merge 643f918 jk/clone-progress-to-stderr later to maint).
319 -
320 - * "format-patch --from=<whom>" forgot to omit an unnecessary in-body
321 - from line, i.e. when <whom> is the same as the real author.
322 - (merge 662cc30 jk/format-patch-from later to maint).
323 -
324 - * "git shortlog" used to choke and die when there is a malformed
325 - commit (e.g. missing authors); it now simply ignores such a commit
326 - and keeps going.
327 - (merge cd4f09e jk/shortlog-tolerate-broken-commit later to maint).
328 -
329 - * "git merge-recursive" did not parse its "--diff-algorithm=" command
330 - line option correctly.
331 - (merge 6562928 jk/diff-algo later to maint).
332 -
333 - * When running "fetch -q", a long silence while the sender side
334 - computes the set of objects to send can be mistaken by proxies as
335 - dropped connection. The server side has been taught to send a
336 - small empty messages to keep the connection alive.
337 - (merge 115dedd jk/upload-pack-keepalive later to maint).
338 -
339 - * "git rebase" had a portability regression in v1.8.4 that triggered a
340 - bug in some BSD shell implementations.
341 - (merge 99855dd mm/rebase-continue-freebsd-WB later to maint).
342 -
343 - * "git branch --track" had a minor regression in v1.8.3.2 and later
344 - that made it impossible to base your local work on anything but a
345 - local branch of the upstream repository you are tracking.
346 - (merge b0f49ff jh/checkout-auto-tracking later to maint).
347 -
348 - * When the web server responds with "405 Method Not Allowed", "git
349 - http-backend" should tell the client what methods are allowed with
350 - the "Allow" header.
351 - (merge 9247be0 bc/http-backend-allow-405 later to maint).
352 -
353 - * When there is no sufficient overlap between old and new history
354 - during a "git fetch" into a shallow repository, objects that the
355 - sending side knows the receiving end has were unnecessarily sent.
356 - (merge f21d2a7 nd/fetch-into-shallow later to maint).
357 -
358 - * "git cvsserver" computed the permission mode bits incorrectly for
359 - executable files.
360 - (merge 1b48d56 jc/cvsserver-perm-bit-fix later to maint).
361 -
362 - * When send-email obtains an error message to die with upon
363 - failure to start an SSL session, it tried to read the error string
364 - from a wrong place.
365 - (merge 6cb0c88 bc/send-email-ssl-die-message-fix later to maint).
366 -
367 - * The implementation of "add -i" has some crippling code to work around an
368 - ActiveState Perl limitation but it by mistake also triggered on Git
369 - for Windows where MSYS perl is used.
370 - (merge df17e77 js/add-i-mingw later to maint).
371 -
372 - * We made sure that we notice when the user-supplied GIT_DIR is actually a
373 - gitfile, but did not do the same when the default ".git" is a
374 - gitfile.
375 - (merge 487a2b7 nd/git-dir-pointing-at-gitfile later to maint).
376 -
377 - * When an object is not found after checking the packfiles and the
378 - loose object directory, read_sha1_file() re-checks the packfiles to
379 - prevent racing with a concurrent repacker; teach the same logic to
380 - has_sha1_file().
381 - (merge 45e8a74 jk/has-sha1-file-retry-packed later to maint).
382 -
383 - * "git commit --author=$name", when $name is not in the canonical
384 - "A. U. Thor <au.thor@example.xz>" format, looks for a matching name
385 - from existing history, but did not consult mailmap to grab the
386 - preferred author name.
387 - (merge ea16794 ap/commit-author-mailmap later to maint).
388 -
389 - * "git ls-files -k" needs to crawl only the part of the working tree
390 - that may overlap the paths in the index to find killed files, but
391 - shared code with the logic to find all the untracked files, which
392 - made it unnecessarily inefficient.
393 - (merge 680be04 jc/ls-files-killed-optim later to maint).
394 -
395 - * The shortened commit object names in the insn sheet that is prepared at the
396 - beginning of a "rebase -i" session can become ambiguous as the
397 - rebasing progresses and the repository gains more commits. Make
398 - sure the internal record is kept with full 40-hex object names.
399 - (merge 75c6976 es/rebase-i-no-abbrev later to maint).
400 -
401 - * "git rebase --preserve-merges" internally used the merge machinery
402 - and as a side effect left the merge summary message in the log, but
403 - when rebasing there is no need for the merge summary.
404 - (merge a9f739c rt/rebase-p-no-merge-summary later to maint).
405 -
406 - * A call to xread() was used without a loop around it to cope with short
407 - reads in the codepath to stream new contents to a pack.
408 - (merge e92527c js/xread-in-full later to maint).
409 -
410 - * "git rebase -i" forgot that the comment character is
411 - configurable while reading its insn sheet.
412 - (merge 7bca7af es/rebase-i-respect-core-commentchar later to maint).
413 -
414 - * The mailmap support code read past the allocated buffer when the
415 - mailmap file ended with an incomplete line.
416 - (merge f972a16 jk/mailmap-incomplete-line later to maint).
417 -
418 - * We used to send a large request to read(2)/write(2) as a single
419 - system call, which was bad from the latency point of view when
420 - the operation needs to be killed, and also triggered an error on
421 - broken 64-bit systems that refuse to read or write more than 2GB
422 - in one go.
423 - (merge a487916 sp/clip-read-write-to-8mb later to maint).
424 -
425 - * "git fetch" that auto-followed tags incorrectly reused the
426 - connection with Git-aware transport helper (like the sample "ext::"
427 - helper shipped with Git).
428 - (merge 0f73f8b jc/transport-do-not-use-connect-twice-in-fetch later to maint).
429 -
430 - * "git log --full-diff -- <pathspec>" showed a huge diff for paths
431 - outside the given <pathspec> for each commit, instead of showing
432 - the change relative to the parent of the commit. "git reflog -p"
433 - had a similar problem.
434 - (merge 838f9a1 tr/log-full-diff-keep-true-parents later to maint).
435 -
436 - * Setting a submodule.*.path configuration variable to true (without
437 - giving "= value") caused Git to segfault.
438 - (merge 4b05440 jl/some-submodule-config-are-not-boolean later to maint).
439 -
440 - * "git rebase -i" (there could be others, as the root cause is pretty
441 - generic) fed a random, data dependent string to 'echo' and
442 - expected it to come out literally, corrupting its error message.
443 - (merge 89b0230 mm/no-shell-escape-in-die-message later to maint).
444 -
445 - * Some people still use rather old versions of bash, which cannot
446 - grok some constructs like 'printf -v varname' which the prompt and
447 - completion code started to use recently.
448 - (merge a44aa69 bc/completion-for-bash-3.0 later to maint).
449 -
450 - * Code to read configuration from a blob object did not compile on
451 - platforms with fgetc() etc. implemented as macros.
452 - (merge 49d6cfa hv/config-from-blob later to maint-1.8.3).
453 -
454 - * The recent "short-cut clone connectivity check" topic broke a
455 - shallow repository when a fetch operation tries to auto-follow tags.
456 - (merge 6da8bdc nd/fetch-pack-shallow-fix later to maint-1.8.3).
deleted Documentation/RelNotes/1.9.0.adoc mode 100644
@@ -1,345 +0,0 @@
1 - Git v1.9.0 Release Notes
2 - ========================
3 -
4 - Backward compatibility notes
5 - ----------------------------
6 -
7 - "git submodule foreach $cmd $args" used to treat "$cmd $args" the same
8 - way "ssh" did, concatenating them into a single string and letting the
9 - shell unquote. Careless users who forget to sufficiently quote $args
10 - get their argument split at $IFS whitespaces by the shell, and got
11 - unexpected results due to this. Starting from this release, the
12 - command line is passed directly to the shell, if it has an argument.
13 -
14 - Read-only support for experimental loose-object format, in which users
15 - could optionally choose to write their loose objects for a short
16 - while between v1.4.3 and v1.5.3 era, has been dropped.
17 -
18 - The meanings of the "--tags" option to "git fetch" has changed; the
19 - command fetches tags _in addition to_ what is fetched by the same
20 - command line without the option.
21 -
22 - The way "git push $there $what" interprets the $what part given on the
23 - command line, when it does not have a colon that explicitly tells us
24 - what ref at the $there repository is to be updated, has been enhanced.
25 -
26 - A handful of ancient commands that have long been deprecated are
27 - finally gone (repo-config, tar-tree, lost-found, and peek-remote).
28 -
29 -
30 - Backward compatibility notes (for Git 2.0.0)
31 - --------------------------------------------
32 -
33 - When "git push [$there]" does not say what to push, we have used the
34 - traditional "matching" semantics so far (all your branches were sent
35 - to the remote as long as there already are branches of the same name
36 - over there). In Git 2.0, the default will change to the "simple"
37 - semantics, which pushes:
38 -
39 - - only the current branch to the branch with the same name, and only
40 - when the current branch is set to integrate with that remote
41 - branch, if you are pushing to the same remote as you fetch from; or
42 -
43 - - only the current branch to the branch with the same name, if you
44 - are pushing to a remote that is not where you usually fetch from.
45 -
46 - Use the user preference configuration variable "push.default" to
47 - change this. If you are an old-timer who is used to the "matching"
48 - semantics, you can set the variable to "matching" to keep the
49 - traditional behaviour. If you want to live in the future early, you
50 - can set it to "simple" today without waiting for Git 2.0.
51 -
52 - When "git add -u" (and "git add -A") is run inside a subdirectory and
53 - does not specify which paths to add on the command line, it
54 - will operate on the entire tree in Git 2.0 for consistency
55 - with "git commit -a" and other commands. There will be no
56 - mechanism to make plain "git add -u" behave like "git add -u .".
57 - Current users of "git add -u" (without a pathspec) should start
58 - training their fingers to explicitly say "git add -u ."
59 - before Git 2.0 comes. A warning is issued when these commands are
60 - run without a pathspec and when you have local changes outside the
61 - current directory, because the behaviour in Git 2.0 will be different
62 - from today's version in such a situation.
63 -
64 - In Git 2.0, "git add <path>" will behave as "git add -A <path>", so
65 - that "git add dir/" will notice paths you removed from the directory
66 - and record the removal. Versions before Git 2.0, including this
67 - release, will keep ignoring removals, but the users who rely on this
68 - behaviour are encouraged to start using "git add --ignore-removal <path>"
69 - now before 2.0 is released.
70 -
71 - The default prefix for "git svn" will change in Git 2.0. For a long
72 - time, "git svn" created its remote-tracking branches directly under
73 - refs/remotes, but it will place them under refs/remotes/origin/ unless
74 - it is told otherwise with its --prefix option.
75 -
76 -
77 - Updates since v1.8.5
78 - --------------------
79 -
80 - Foreign interfaces, subsystems and ports.
81 -
82 - * The HTTP transport, when talking GSS-Negotiate, uses "100
83 - Continue" response to avoid having to rewind and resend a large
84 - payload, which may not be always doable.
85 -
86 - * Various bugfixes to remote-bzr and remote-hg (in contrib/).
87 -
88 - * The build procedure is aware of MirBSD now.
89 -
90 - * Various "git p4", "git svn" and "gitk" updates.
91 -
92 -
93 - UI, Workflows & Features
94 -
95 - * Fetching from a shallowly-cloned repository used to be forbidden,
96 - primarily because the codepaths involved were not carefully vetted
97 - and we did not bother supporting such usage. This release attempts
98 - to allow object transfer out of a shallowly-cloned repository in a
99 - more controlled way (i.e. the receiver becomes a shallow repository
100 - with a truncated history).
101 -
102 - * Just like we give a reasonable default for "less" via the LESS
103 - environment variable, we now specify a reasonable default for "lv"
104 - via the "LV" environment variable when spawning the pager.
105 -
106 - * Two-level configuration variable names in "branch.*" and "remote.*"
107 - hierarchies, whose variables are predominantly three-level, were
108 - not completed by hitting a <TAB> in bash and zsh completions.
109 -
110 - * Fetching a 'frotz' branch with "git fetch", while a 'frotz/nitfol'
111 - remote-tracking branch from an earlier fetch was still there, would
112 - error out, primarily because the command was not told that it is
113 - allowed to lose any information on our side. "git fetch --prune"
114 - now can be used to remove 'frotz/nitfol' to make room for fetching and
115 - storing the 'frotz' remote-tracking branch.
116 -
117 - * "diff.orderfile=<file>" configuration variable can be used to
118 - pretend as if the "-O<file>" option were given from the command
119 - line of "git diff", etc.
120 -
121 - * The negative pathspec syntax allows "git log -- . ':!dir'" to tell
122 - us "I am interested in everything but 'dir' directory".
123 -
124 - * "git difftool" shows how many different paths there are in total,
125 - and how many of them have been shown so far, to indicate progress.
126 -
127 - * "git push origin master" used to push our 'master' branch to update
128 - the 'master' branch at the 'origin' repository. This has been
129 - enhanced to use the same ref mapping "git push origin" would use to
130 - determine what ref at the 'origin' to be updated with our 'master'.
131 - For example, with this configuration
132 -
133 - [remote "origin"]
134 - push = refs/heads/*:refs/review/*
135 -
136 - that would cause "git push origin" to push out our local branches
137 - to corresponding refs under refs/review/ hierarchy at 'origin',
138 - "git push origin master" would update 'refs/review/master' over
139 - there. Alternatively, if push.default is set to 'upstream' and our
140 - 'master' is set to integrate with 'topic' from the 'origin' branch,
141 - running "git push origin" while on our 'master' would update their
142 - 'topic' branch, and running "git push origin master" while on any
143 - of our branches does the same.
144 -
145 - * "gitweb" learned to treat ref hierarchies other than refs/heads as
146 - if they are additional branch namespaces (e.g. refs/changes/ in
147 - Gerrit).
148 -
149 - * "git for-each-ref --format=..." learned a few formatting directives;
150 - e.g. "%(color:red)%(HEAD)%(color:reset) %(refname:short) %(subject)".
151 -
152 - * The command string given to "git submodule foreach" is passed
153 - directly to the shell, without being eval'ed. This is a backward
154 - incompatible change that may break existing users.
155 -
156 - * "git log" and friends learned the "--exclude=<glob>" option, to
157 - allow people to say "list history of all branches except those that
158 - match this pattern" with "git log --exclude='*/*' --branches".
159 -
160 - * "git rev-parse --parseopt" learned a new "--stuck-long" option to
161 - help scripts parse options with an optional parameter.
162 -
163 - * The "--tags" option to "git fetch" no longer tells the command to
164 - fetch _only_ the tags. It instead fetches tags _in addition to_
165 - what are fetched by the same command line without the option.
166 -
167 -
168 - Performance, Internal Implementation, etc.
169 -
170 - * When parsing a 40-hex string into the object name, the string is
171 - checked to see if it can be interpreted as a ref so that a warning
172 - can be given for ambiguity. The code kicked in even when the
173 - core.warnambiguousrefs is set to false to squelch this warning, in
174 - which case the cycles spent to look at the ref namespace were an
175 - expensive no-op, as the result was discarded without being used.
176 -
177 - * The naming convention of the packfiles has been updated; it used to
178 - be based on the enumeration of names of the objects that are
179 - contained in the pack, but now it also depends on how the packed
180 - result is represented--packing the same set of objects using
181 - different settings (or delta order) would produce a pack with
182 - different name.
183 -
184 - * "git diff --no-index" mode used to unnecessarily attempt to read
185 - the index when there is one.
186 -
187 - * The deprecated parse-options macro OPT_BOOLEAN has been removed;
188 - use OPT_BOOL or OPT_COUNTUP in new code.
189 -
190 - * A few duplicate implementations of prefix/suffix string comparison
191 - functions have been unified to starts_with() and ends_with().
192 -
193 - * The new PERLLIB_EXTRA makefile variable can be used to specify
194 - additional directories Perl modules (e.g. the ones necessary to run
195 - git-svn) are installed on the platform when building.
196 -
197 - * "git merge-base" learned the "--fork-point" mode, that implements
198 - the same logic used in "git pull --rebase" to find a suitable fork
199 - point out of the reflog entries for the remote-tracking branch the
200 - work has been based on. "git rebase" has the same logic that can be
201 - triggered with the "--fork-point" option.
202 -
203 - * A third-party "receive-pack" (the responder to "git push") can
204 - advertise the "no-thin" capability to tell "git push" not to use
205 - the thin-pack optimization. Our receive-pack has always been
206 - capable of accepting and fattening a thin-pack, and will continue
207 - not to ask "git push" to use a non-thin pack.
208 -
209 -
210 - Also contains various documentation updates and code clean-ups.
211 -
212 -
213 - Fixes since v1.8.5
214 - ------------------
215 -
216 - Unless otherwise noted, all the fixes since v1.8.5 in the maintenance
217 - track are contained in this release (see the maintenance releases' notes
218 - for details).
219 -
220 - * The pathspec matching code, while comparing two trees (e.g. "git
221 - diff A B -- path1 path2") was too aggressive and failed to match
222 - some paths when multiple pathspecs were involved.
223 -
224 - * "git repack --max-pack-size=8g" stopped being parsed correctly when
225 - the command was reimplemented in C.
226 -
227 - * An earlier update in v1.8.4.x to "git rev-list --objects" with
228 - negative ref had a performance regression.
229 - (merge 200abe7 jk/mark-edges-uninteresting later to maint).
230 -
231 - * A recent update to "git send-email" broke platforms where
232 - /etc/ssl/certs/ directory exists but cannot be used as SSL_ca_path
233 - (e.g. Fedora rawhide).
234 -
235 - * A handful of bugs around interpreting $branch@{upstream} notation
236 - and its lookalike, when $branch part has interesting characters,
237 - e.g. "@", and ":", have been fixed.
238 -
239 - * "git clone" would fail to clone from a repository that has a ref
240 - directly under "refs/", e.g. "refs/stash", because different
241 - validation paths do different things on such a refname. Loosen the
242 - client side's validation to allow such a ref.
243 -
244 - * "git log --left-right A...B" lost the "leftness" of commits
245 - reachable from A when A is a tag as a side effect of a recent
246 - bugfix. This is a regression in 1.8.4.x series.
247 -
248 - * documentations to "git pull" hinted there is an "-m" option because
249 - it incorrectly shared the documentation with "git merge".
250 -
251 - * "git diff A B submod" and "git diff A B submod/" ought to have done
252 - the same for a submodule "submod", but didn't.
253 -
254 - * "git clone $origin foo\bar\baz" on Windows failed to create the
255 - leading directories (i.e. a moral-equivalent of "mkdir -p").
256 -
257 - * "submodule.*.update=checkout", when propagated from .gitmodules to
258 - .git/config, turned into a "submodule.*.update=none", which did not
259 - make much sense.
260 - (merge efa8fd7 fp/submodule-checkout-mode later to maint).
261 -
262 - * The implementation of 'git stash $cmd "stash@{...}"' did not quote
263 - the stash argument properly and left it split at IFS whitespace.
264 -
265 - * The "--[no-]informative-errors" options to "git daemon" were parsed
266 - a bit too loosely, allowing any other string after these option
267 - names.
268 -
269 - * There is no reason to have a hardcoded upper limit for the number of
270 - parents of an octopus merge, created via the graft mechanism, but
271 - there was.
272 -
273 - * The basic test used to leave unnecessary trash directories in the
274 - t/ directory.
275 - (merge 738a8be jk/test-framework-updates later to maint).
276 -
277 - * "git merge-base --octopus" used to leave cleaning up suboptimal
278 - result to the caller, but now it does the clean-up itself.
279 -
280 - * A "gc" process running as a different user should be able to stop a
281 - new "gc" process from starting, but it didn't.
282 -
283 - * An earlier "clean-up" introduced an unnecessary memory leak.
284 -
285 - * "git add -A" (no other arguments) in a totally empty working tree
286 - used to emit an error.
287 -
288 - * "git log --decorate" did not handle a tag pointed by another tag
289 - nicely.
290 -
291 - * When we figure out how many file descriptors to allocate for
292 - keeping packfiles open, a system with non-working getrlimit() could
293 - cause us to die(), but because we make this call only to get a
294 - rough estimate of how many are available and we do not even attempt
295 - to use up all available file descriptors ourselves, it is nicer to
296 - fall back to a reasonable low value rather than dying.
297 -
298 - * read_sha1_file(), that is the workhorse to read the contents given
299 - an object name, honoured object replacements, but there was no
300 - corresponding mechanism to sha1_object_info() that was used to
301 - obtain the metainfo (e.g. type & size) about the object. This led
302 - callers to weird inconsistencies.
303 - (merge 663a856 cc/replace-object-info later to maint).
304 -
305 - * "git cat-file --batch=", an admittedly useless command, did not
306 - behave very well.
307 -
308 - * "git rev-parse <revs> -- <paths>" did not implement the usual
309 - disambiguation rules the commands in the "git log" family used in
310 - the same way.
311 -
312 - * "git mv A B/", when B does not exist as a directory, should error
313 - out, but it didn't.
314 -
315 - * A workaround to an old bug in glibc prior to glibc 2.17 has been
316 - retired; this would remove a side effect of the workaround that
317 - corrupts system error messages in non-C locales.
318 -
319 - * SSL-related options were not passed correctly to underlying socket
320 - layer in "git send-email".
321 -
322 - * "git commit -v" appends the patch to the log message before
323 - editing, and then removes the patch when the editor returned
324 - control. However, the patch was not stripped correctly when the
325 - first modified path was a submodule.
326 -
327 - * "git fetch --depth=0" was a no-op, and was silently ignored.
328 - Diagnose it as an error.
329 -
330 - * Remote repository URLs expressed in scp-style host:path notation are
331 - parsed more carefully (e.g. "foo/bar:baz" is local, "[::1]:/~user" asks
332 - to connect to user's home directory on host at address ::1.
333 -
334 - * "git diff -- ':(icase)makefile'" was unnecessarily rejected at the
335 - command line parser.
336 -
337 - * "git cat-file --batch-check=ok" did not check the existence of
338 - the named object.
339 -
340 - * "git am --abort" sometimes complained about not being able to write
341 - a tree with an 0{40} object in it.
342 -
343 - * Two processes creating loose objects at the same time could have
344 - failed unnecessarily when the name of their new objects started
345 - with the same byte value, due to a race condition.
deleted Documentation/RelNotes/1.9.1.adoc mode 100644
@@ -1,59 +0,0 @@
1 - Git v1.9.1 Release Notes
2 - ========================
3 -
4 - Fixes since v1.9.0
5 - ------------------
6 -
7 - * "git clean -d pathspec" did not use the given pathspec correctly
8 - and ended up cleaning too much.
9 -
10 - * "git difftool" misbehaved when the repository is bound to the
11 - working tree with the ".git file" mechanism, where a textual file
12 - ".git" tells us where it is.
13 -
14 - * "git push" did not pay attention to branch.*.pushremote if it is
15 - defined earlier than remote.pushdefault; the order of these two
16 - variables in the configuration file should not matter, but it did
17 - by mistake.
18 -
19 - * Codepaths that parse timestamps in commit objects have been
20 - tightened.
21 -
22 - * "git diff --external-diff" incorrectly fed the submodule directory
23 - in the working tree to the external diff driver when it knew it is
24 - the same as one of the versions being compared.
25 -
26 - * "git reset" needs to refresh the index when working in a working
27 - tree (it can also be used to match the index to the HEAD in an
28 - otherwise bare repository), but it failed to set up the working
29 - tree properly, causing GIT_WORK_TREE to be ignored.
30 -
31 - * "git check-attr" when working on a repository with a working tree
32 - did not work well when the working tree was specified via the
33 - --work-tree (and obviously with --git-dir) option.
34 -
35 - * "merge-recursive" was broken in 1.7.7 era and stopped working in
36 - an empty (temporary) working tree, when there are renames
37 - involved. This has been corrected.
38 -
39 - * "git rev-parse" was loose in rejecting command line arguments
40 - that do not make sense, e.g. "--default" without the required
41 - value for that option.
42 -
43 - * include.path variable (or any variable that expects a path that
44 - can use ~username expansion) in the configuration file is not a
45 - boolean, but the code failed to check it.
46 -
47 - * "git diff --quiet -- pathspec1 pathspec2" sometimes did not return
48 - correct status value.
49 -
50 - * Attempting to deepen a shallow repository by fetching over smart
51 - HTTP transport failed in the protocol exchange, when no-done
52 - extension was used. The fetching side waited for the list of
53 - shallow boundary commits after the sending end stopped talking to
54 - it.
55 -
56 - * Allow "git cmd path/", when the 'path' is where a submodule is
57 - bound to the top-level working tree, to match 'path', despite the
58 - extra and unnecessary trailing slash (such a slash is often
59 - given by command line completion).
deleted Documentation/RelNotes/1.9.2.adoc mode 100644
@@ -1,67 +0,0 @@
1 - Git v1.9.2 Release Notes
2 - ========================
3 -
4 - Fixes since v1.9.1
5 - ------------------
6 -
7 - * Documentation and in-code comments had many instances of mistaken
8 - use of "nor", which have been corrected.
9 -
10 - * "git fetch --prune", when the right-hand-side of multiple fetch
11 - refspecs overlap (e.g. storing "refs/heads/*" to
12 - "refs/remotes/origin/*", while storing "refs/frotz/*" to
13 - "refs/remotes/origin/fr/*"), aggressively thought that lack of
14 - "refs/heads/fr/otz" on the origin site meant we should remove
15 - "refs/remotes/origin/fr/otz" from us, without checking their
16 - "refs/frotz/otz" first.
17 -
18 - Note that such a configuration is inherently unsafe (think what
19 - should happen when "refs/heads/fr/otz" does appear on the origin
20 - site), but that is not a reason not to be extra careful.
21 -
22 - * "git update-ref --stdin" did not fail a request to create a ref
23 - when the ref already existed.
24 -
25 - * "git diff --no-index -Mq a b" fell into an infinite loop.
26 -
27 - * When it is not necessary to edit a commit log message (e.g. "git
28 - commit -m" is given a message without specifying "-e"), we used to
29 - disable the spawning of the editor by overriding GIT_EDITOR, but
30 - this means all the uses of the editor, other than to edit the
31 - commit log message, are also affected.
32 -
33 - * "git status --porcelain --branch" showed its output with labels
34 - "ahead/behind/gone" translated to the user's locale.
35 -
36 - * "git mv" that moves a submodule forgot to adjust the array that
37 - uses to keep track of which submodules were to be moved to update
38 - its configuration.
39 -
40 - * Length limit for the pathname used when removing a path in a deep
41 - subdirectory has been removed to avoid buffer overflows.
42 -
43 - * The test helper lib-terminal always run an actual test_expect_*
44 - when included, which screwed up with the use of skil-all that may
45 - have to be done later.
46 -
47 - * "git index-pack" used a wrong variable to name the keep-file in an
48 - error message when the file cannot be written or closed.
49 -
50 - * "rebase -i" produced a broken insn sheet when the title of a commit
51 - happened to contain '\n' (or ended with '\c') due to a careless use
52 - of 'echo'.
53 -
54 - * There were a few instances of 'git-foo' remaining in the
55 - documentation that should have been spelled 'git foo'.
56 -
57 - * Serving objects from a shallow repository needs to write a
58 - new file to hold the temporary shallow boundaries but it was not
59 - cleaned when we exit due to die() or a signal.
60 -
61 - * When "git stash pop" stops after failing to apply the stash
62 - (e.g. due to conflicting changes), the stash is not dropped. State
63 - that explicitly in the output to let the users know.
64 -
65 - * The labels in "git status" output that describe the nature of
66 - conflicts (e.g. "both deleted") were limited to 20 bytes, which was
67 - too short for some l10n (e.g. fr).
deleted Documentation/RelNotes/1.9.3.adoc mode 100644
@@ -1,21 +0,0 @@
1 - Git v1.9.3 Release Notes
2 - ========================
3 -
4 - Fixes since v1.9.2
5 - ------------------
6 -
7 - * "git p4" dealing with changes in binary files were broken by a
8 - change in 1.9 release.
9 -
10 - * The shell prompt script (in contrib/), when using the PROMPT_COMMAND
11 - interface, used an unsafe construct when showing the branch name in
12 - $PS1.
13 -
14 - * "git rebase" used a POSIX shell construct FreeBSD /bin/sh does not
15 - work well with.
16 -
17 - * Some more Unicode codepoints defined in Unicode 6.3 as having
18 - zero width have been taught to our display column counting logic.
19 -
20 - * Some tests used shell constructs that did not work well on
21 - FreeBSD.
deleted Documentation/RelNotes/1.9.4.adoc mode 100644
@@ -1,16 +0,0 @@
1 - Git v1.9.4 Release Notes
2 - ========================
3 -
4 - Fixes since v1.9.3
5 - ------------------
6 -
7 - * Commands that take pathspecs on the command line misbehaved when
8 - the pathspec is given as an absolute pathname (which is a
9 - practice not particularly encouraged) that points at a symbolic
10 - link in the working tree.
11 -
12 - * An earlier fix to the shell prompt script (in contrib/) for using
13 - the PROMPT_COMMAND interface did not correctly check if the extra
14 - code path needs to trigger, causing the branch name not to appear
15 - when 'promptvars' option is disabled in bash or PROMPT_SUBST is
16 - unset in zsh.
deleted Documentation/RelNotes/1.9.5.adoc mode 100644
@@ -1,34 +0,0 @@
1 - Git v1.9.5 Release Notes
2 - ========================
3 -
4 - Fixes since v1.9.4
5 - ------------------
6 -
7 - * We used to allow committing a path ".Git/config" with Git that is
8 - running on a case sensitive filesystem, but an attempt to check out
9 - such a path with Git that runs on a case insensitive filesystem
10 - would have clobbered ".git/config", which is definitely not what
11 - the user would have expected. Git now prevents you from tracking
12 - a path with ".Git" (in any case combination) as a path component.
13 -
14 - * On Windows, certain path components that are different from ".git"
15 - are mapped to ".git", e.g. "git~1/config" is treated as if it were
16 - ".git/config". HFS+ has a similar issue, where certain unicode
17 - codepoints are ignored, e.g. ".g\u200cit/config" is treated as if
18 - it were ".git/config". Pathnames with these potential issues are
19 - rejected on the affected systems. Git on systems that are not
20 - affected by this issue (e.g. Linux) can also be configured to
21 - reject them to ensure cross platform interoperability of the hosted
22 - projects.
23 -
24 - * "git fsck" notices a tree object that records such a path that can
25 - be confused with ".git", and with receive.fsckObjects configuration
26 - set to true, an attempt to "git push" such a tree object will be
27 - rejected. Such a path may not be a problem on a well behaving
28 - filesystem but in order to protect those on HFS+ and on case
29 - insensitive filesystems, this check is enabled on all platforms.
30 -
31 - A big "thanks!" for bringing this issue to us goes to our friends in
32 - the Mercurial land, namely, Matt Mackall and Augie Fackler.
33 -
34 - Also contains typofixes, documentation updates and trivial code clean-ups.
deleted Documentation/RelNotes/2.0.0.adoc mode 100644
@@ -1,364 +0,0 @@
1 - Git v2.0 Release Notes
2 - ======================
3 -
4 - Backward compatibility notes
5 - ----------------------------
6 -
7 - When "git push [$there]" does not say what to push, we have used the
8 - traditional "matching" semantics so far (all your branches were sent
9 - to the remote as long as there already are branches of the same name
10 - over there). In Git 2.0, the default is now the "simple" semantics,
11 - which pushes:
12 -
13 - - only the current branch to the branch with the same name, and only
14 - when the current branch is set to integrate with that remote
15 - branch, if you are pushing to the same remote as you fetch from; or
16 -
17 - - only the current branch to the branch with the same name, if you
18 - are pushing to a remote that is not where you usually fetch from.
19 -
20 - You can use the configuration variable "push.default" to change
21 - this. If you are an old-timer who wants to keep using the
22 - "matching" semantics, you can set the variable to "matching", for
23 - example. Read the documentation for other possibilities.
24 -
25 - When "git add -u" and "git add -A" are run inside a subdirectory
26 - without specifying which paths to add on the command line, they
27 - operate on the entire tree for consistency with "git commit -a" and
28 - other commands (these commands used to operate only on the current
29 - subdirectory). Say "git add -u ." or "git add -A ." if you want to
30 - limit the operation to the current directory.
31 -
32 - "git add <path>" is the same as "git add -A <path>" now, so that
33 - "git add dir/" will notice paths you removed from the directory and
34 - record the removal. In older versions of Git, "git add <path>" used
35 - to ignore removals. You can say "git add --ignore-removal <path>" to
36 - add only added or modified paths in <path>, if you really want to.
37 -
38 - The "-q" option to "git diff-files", which does *NOT* mean "quiet",
39 - has been removed (it told Git to ignore deletion, which you can do
40 - with "git diff-files --diff-filter=d").
41 -
42 - "git request-pull" lost a few "heuristics" that often led to mistakes.
43 -
44 - The default prefix for "git svn" has changed in Git 2.0. For a long
45 - time, "git svn" created its remote-tracking branches directly under
46 - refs/remotes, but it now places them under refs/remotes/origin/ unless
47 - it is told otherwise with its "--prefix" option.
48 -
49 -
50 - Updates since v1.9 series
51 - -------------------------
52 -
53 - UI, Workflows & Features
54 -
55 - * The "multi-mail" post-receive hook (in contrib/) has been updated
56 - to a more recent version from upstream.
57 -
58 - * The "remote-hg/bzr" remote-helper interfaces (used to be in
59 - contrib/) are no more. They are now maintained separately as
60 - third-party plug-ins in their own repositories.
61 -
62 - * "git gc --aggressive" learned "--depth" option and
63 - "gc.aggressiveDepth" configuration variable to allow use of a less
64 - insane depth than the built-in default value of 250.
65 -
66 - * "git log" learned the "--show-linear-break" option to show where a
67 - single strand-of-pearls is broken in its output.
68 -
69 - * The "rev-parse --parseopt" mechanism used by scripted Porcelains to
70 - parse command-line options and to give help text learned to take
71 - the argv-help (the placeholder string for an option parameter,
72 - e.g. "key-id" in "--gpg-sign=<key-id>").
73 -
74 - * The pattern to find where the function begins in C/C++ used in
75 - "diff" and "grep -p" has been updated to improve viewing C++
76 - sources.
77 -
78 - * "git rebase" learned to interpret a lone "-" as "@{-1}", the
79 - branch that we were previously on.
80 -
81 - * "git commit --cleanup=<mode>" learned a new mode, scissors.
82 -
83 - * "git tag --list" output can be sorted using "version sort" with
84 - "--sort=version:refname".
85 -
86 - * Discard the accumulated "heuristics" to guess from which branch the
87 - result wants to be pulled from and make sure that what the end user
88 - specified is not second-guessed by "git request-pull", to avoid
89 - mistakes. When you pushed out your 'master' branch to your public
90 - repository as 'for-linus', use the new "master:for-linus" syntax to
91 - denote the branch to be pulled.
92 -
93 - * "git grep" learned to behave in a way similar to native grep when
94 - "-h" (no header) and "-c" (count) options are given.
95 -
96 - * "git push" via transport-helper interface has been updated to
97 - allow forced ref updates in a way similar to the natively
98 - supported transports.
99 -
100 - * The "simple" mode is the default for "git push".
101 -
102 - * "git add -u" and "git add -A", when run without any pathspec, is a
103 - tree-wide operation even when run inside a subdirectory of a
104 - working tree.
105 -
106 - * "git add <path>" is the same as "git add -A <path>" now.
107 -
108 - * "core.statinfo" configuration variable, which is a
109 - never-advertised synonym to "core.checkstat", has been removed.
110 -
111 - * The "-q" option to "git diff-files", which does *NOT* mean
112 - "quiet", has been removed (it told Git to ignore deletion, which
113 - you can do with "git diff-files --diff-filter=d").
114 -
115 - * Server operators can loosen the "tips of refs only" restriction for
116 - the remote archive service with the uploadarchive.allowUnreachable
117 - configuration option.
118 -
119 - * The progress indicators from various time-consuming commands have
120 - been marked for i18n/l10n.
121 -
122 - * "git notes -C <blob>" diagnoses as an error an attempt to use an
123 - object that is not a blob.
124 -
125 - * "git config" learned to read from the standard input when "-" is
126 - given as the value to its "--file" parameter (attempting an
127 - operation to update the configuration in the standard input is
128 - rejected, of course).
129 -
130 - * Trailing whitespaces in .gitignore files, unless they are quoted
131 - for fnmatch(3), e.g. "path\ ", are warned and ignored. Strictly
132 - speaking, this is a backward-incompatible change, but very unlikely
133 - to bite any sane user and adjusting should be obvious and easy.
134 -
135 - * Many commands that create commits, e.g. "pull" and "rebase",
136 - learned to take the "--gpg-sign" option on the command line.
137 -
138 - * "git commit" can be told to always GPG sign the resulting commit
139 - by setting the "commit.gpgsign" configuration variable to "true"
140 - (the command-line option "--no-gpg-sign" should override it).
141 -
142 - * "git pull" can be told to only accept fast-forward by setting the
143 - new "pull.ff" configuration variable.
144 -
145 - * "git reset" learned the "-N" option, which does not reset the index
146 - fully for paths the index knows about but the tree-ish the command
147 - resets to does not (these paths are kept as intend-to-add entries).
148 -
149 -
150 - Performance, Internal Implementation, etc.
151 -
152 - * The compilation options to port to AIX and to MSVC have been
153 - updated.
154 -
155 - * We started using wildmatch() in place of fnmatch(3) a few releases
156 - ago; complete the process and stop using fnmatch(3).
157 -
158 - * Uses of curl's "multi" interface and "easy" interface do not mix
159 - well when we attempt to reuse outgoing connections. Teach the RPC
160 - over HTTP code, used in the smart HTTP transport, not to use the
161 - "easy" interface.
162 -
163 - * The bitmap-index feature from JGit has been ported, which should
164 - significantly improve performance when serving objects from a
165 - repository that uses it.
166 -
167 - * The way "git log --cc" shows a combined diff against multiple
168 - parents has been optimized.
169 -
170 - * The prefixcmp() and suffixcmp() functions are gone. Use
171 - starts_with() and ends_with(), and also consider if skip_prefix()
172 - suits your needs better when using the former.
173 -
174 -
175 - Also contains various documentation updates and code clean-ups. Many
176 - of them came from flurry of activities as GSoC candidate microproject
177 - exercises.
178 -
179 -
180 - Fixes since v1.9 series
181 - -----------------------
182 -
183 - Unless otherwise noted, all the fixes since v1.9 in the maintenance
184 - track are contained in this release (see the maintenance releases'
185 - notes for details).
186 -
187 - * "git p4" was broken in 1.9 release to deal with changes in binary
188 - files.
189 - (merge 749b668 cl/p4-use-diff-tree later to maint).
190 -
191 - * The shell prompt script (in contrib/), when using the PROMPT_COMMAND
192 - interface, used an unsafe construct when showing the branch name in
193 - $PS1.
194 - (merge 1e4119c8 rh/prompt-pcmode-avoid-eval-on-refname later to maint).
195 -
196 - * "git rebase" used a POSIX shell construct FreeBSD's /bin/sh does not
197 - work well with.
198 - (merge 8cd6596 km/avoid-non-function-return-in-rebase later to maint).
199 -
200 - * zsh prompt (in contrib/) leaked unnecessary error messages.
201 -
202 - * Bash completion (in contrib/) did not complete the refs and remotes
203 - correctly given "git pu<TAB>" when "pu" is aliased to "push".
204 -
205 - * Some more Unicode code points, defined in Unicode 6.3 as having zero
206 - width, have been taught to our display column counting logic.
207 - (merge d813ab9 tb/unicode-6.3-zero-width later to maint).
208 -
209 - * Some tests used shell constructs that did not work well on FreeBSD
210 - (merge ff7a1c6 km/avoid-bs-in-shell-glob later to maint).
211 - (merge 00764ca km/avoid-cp-a later to maint).
212 -
213 - * "git update-ref --stdin" did not fail a request to create a ref
214 - when the ref already existed.
215 - (merge b9d56b5 mh/update-ref-batch-create-fix later to maint).
216 -
217 - * "git diff --no-index -Mq a b" fell into an infinite loop.
218 - (merge ad1c3fb jc/fix-diff-no-index-diff-opt-parse later to maint).
219 -
220 - * "git fetch --prune", when the right-hand side of multiple fetch
221 - refspecs overlap (e.g. storing "refs/heads/*" to
222 - "refs/remotes/origin/*", while storing "refs/frotz/*" to
223 - "refs/remotes/origin/fr/*"), aggressively thought that lack of
224 - "refs/heads/fr/otz" on the origin site meant we should remove
225 - "refs/remotes/origin/fr/otz" from us, without checking their
226 - "refs/frotz/otz" first.
227 -
228 - Note that such a configuration is inherently unsafe (think what
229 - should happen when "refs/heads/fr/otz" does appear on the origin
230 - site), but that is not a reason not to be extra careful.
231 - (merge e6f6371 cn/fetch-prune-overlapping-destination later to maint).
232 -
233 - * "git status --porcelain --branch" showed its output with labels
234 - "ahead/behind/gone" translated to the user's locale.
235 - (merge 7a76c28 mm/status-porcelain-format-i18n-fix later to maint).
236 -
237 - * A stray environment variable $prefix could have leaked into and
238 - affected the behaviour of the "subtree" script (in contrib/).
239 -
240 - * When it is not necessary to edit a commit log message (e.g. "git
241 - commit -m" is given a message without specifying "-e"), we used to
242 - disable the spawning of the editor by overriding GIT_EDITOR, but
243 - this means all the uses of the editor, other than to edit the
244 - commit log message, are also affected.
245 - (merge b549be0 bp/commit-p-editor later to maint).
246 -
247 - * "git mv" that moves a submodule forgot to adjust the array that
248 - uses to keep track of which submodules were to be moved to update
249 - its configuration.
250 - (merge fb8a4e8 jk/mv-submodules-fix later to maint).
251 -
252 - * Length limit for the pathname used when removing a path in a deep
253 - subdirectory has been removed to avoid buffer overflows.
254 - (merge 2f29e0c mh/remove-subtree-long-pathname-fix later to maint).
255 -
256 - * The test helper lib-terminal always run an actual test_expect_*
257 - when included, which screwed up with the use of skil-all that may
258 - have to be done later.
259 - (merge 7e27173 jk/lib-terminal-lazy later to maint).
260 -
261 - * "git index-pack" used a wrong variable to name the keep-file in an
262 - error message when the file cannot be written or closed.
263 - (merge de983a0 nd/index-pack-error-message later to maint).
264 -
265 - * "rebase -i" produced a broken insn sheet when the title of a commit
266 - happened to contain '\n' (or ended with '\c') due to a careless use
267 - of 'echo'.
268 - (merge cb1aefd us/printf-not-echo later to maint).
269 -
270 - * There were a few instances of 'git-foo' remaining in the
271 - documentation that should have been spelled 'git foo'.
272 - (merge 3c3e6f5 rr/doc-merge-strategies later to maint).
273 -
274 - * Serving objects from a shallow repository needs to write a
275 - new file to hold the temporary shallow boundaries, but it was not
276 - cleaned when we exit due to die() or a signal.
277 - (merge 7839632 jk/shallow-update-fix later to maint).
278 -
279 - * When "git stash pop" stops after failing to apply the stash
280 - (e.g. due to conflicting changes), the stash is not dropped. State
281 - that explicitly in the output to let the users know.
282 - (merge 2d4c993 jc/stash-pop-not-popped later to maint).
283 -
284 - * The labels in "git status" output that describe the nature of
285 - conflicts (e.g. "both deleted") were limited to 20 bytes, which was
286 - too short for some l10n (e.g. fr).
287 - (merge c7cb333 jn/wt-status later to maint).
288 -
289 - * "git clean -d pathspec" did not use the given pathspec correctly
290 - and ended up cleaning too much.
291 - (merge 1f2e108 jk/clean-d-pathspec later to maint).
292 -
293 - * "git difftool" misbehaved when the repository is bound to the
294 - working tree with the ".git file" mechanism, where a textual file
295 - ".git" tells us where it is.
296 - (merge fcfec8b da/difftool-git-files later to maint).
297 -
298 - * "git push" did not pay attention to "branch.*.pushremote" if it is
299 - defined earlier than "remote.pushdefault"; the order of these two
300 - variables in the configuration file should not matter, but it did
301 - by mistake.
302 - (merge 98b406f jk/remote-pushremote-config-reading later to maint).
303 -
304 - * Code paths that parse timestamps in commit objects have been
305 - tightened.
306 - (merge f80d1f9 jk/commit-dates-parsing-fix later to maint).
307 -
308 - * "git diff --external-diff" incorrectly fed the submodule directory
309 - in the working tree to the external diff driver when it knew that it
310 - is the same as one of the versions being compared.
311 - (merge aba4727 tr/diff-submodule-no-reuse-worktree later to maint).
312 -
313 - * "git reset" needs to refresh the index when working in a working
314 - tree (it can also be used to match the index to the HEAD in an
315 - otherwise bare repository), but it failed to set up the working
316 - tree properly, causing GIT_WORK_TREE to be ignored.
317 - (merge b7756d4 nd/reset-setup-worktree later to maint).
318 -
319 - * "git check-attr" when working on a repository with a working tree
320 - did not work well when the working tree was specified via the
321 - "--work-tree" (and obviously with "--git-dir") option.
322 - (merge cdbf623 jc/check-attr-honor-working-tree later to maint).
323 -
324 - * "merge-recursive" was broken in 1.7.7 era and stopped working in
325 - an empty (temporary) working tree, when there are renames
326 - involved. This has been corrected.
327 - (merge 6e2068a bk/refresh-missing-ok-in-merge-recursive later to maint.)
328 -
329 - * "git rev-parse" was loose in rejecting command-line arguments
330 - that do not make sense, e.g. "--default" without the required
331 - value for that option.
332 - (merge a43219f ds/rev-parse-required-args later to maint.)
333 -
334 - * "include.path" variable (or any variable that expects a path that
335 - can use ~username expansion) in the configuration file is not a
336 - boolean, but the code failed to check it.
337 - (merge 67beb60 jk/config-path-include-fix later to maint.)
338 -
339 - * Commands that take pathspecs on the command line misbehaved when
340 - the pathspec is given as an absolute pathname (which is a
341 - practice not particularly encouraged) that points at a symbolic
342 - link in the working tree.
343 - (merge 6127ff6 mw/symlinks later to maint.)
344 -
345 - * "git diff --quiet -- pathspec1 pathspec2" sometimes did not return
346 - the correct status value.
347 - (merge f34b205 nd/diff-quiet-stat-dirty later to maint.)
348 -
349 - * Attempting to deepen a shallow repository by fetching over smart
350 - HTTP transport failed in the protocol exchange, when the no-done
351 - extension was used. The fetching side waited for the list of
352 - shallow boundary commits after the sending side stopped talking to
353 - it.
354 - (merge 0232852 nd/http-fetch-shallow-fix later to maint.)
355 -
356 - * Allow "git cmd path/", when the 'path' is where a submodule is
357 - bound to the top-level working tree, to match 'path', despite the
358 - extra and unnecessary trailing slash (such a slash is often
359 - given by command-line completion).
360 - (merge 2e70c01 nd/submodule-pathspec-ending-with-slash later to maint.)
361 -
362 - * Documentation and in-code comments had many instances of mistaken
363 - use of "nor", which have been corrected.
364 - (merge 235e8d5 jl/nor-or-nand-and later to maint).
deleted Documentation/RelNotes/2.0.1.adoc mode 100644
@@ -1,115 +0,0 @@
1 - Git v2.0.1 Release Notes
2 - ========================
3 -
4 - * We used to unconditionally disable the pager in the pager process
5 - we spawn to feed out output, but that prevented people who want to
6 - run "less" within "less" from doing so.
7 -
8 - * Tools that read diagnostic output in our standard error stream do
9 - not want to see terminal control sequence (e.g. erase-to-eol).
10 - Detect them by checking if the standard error stream is connected
11 - to a tty.
12 - * Reworded the error message given upon a failure to open an existing
13 - loose object file due to e.g. permission issues; it was reported as
14 - the object being corrupt, but that is not quite true.
15 -
16 - * "git log -2master" is a common typo that shows two commits starting
17 - from whichever random branch that is not 'master' that happens to
18 - be checked out currently.
19 -
20 - * The "%<(10,trunc)%s" pretty format specifier in the log family of
21 - commands is used to truncate the string to a given length (e.g. 10
22 - in the example) with padding to column-align the output, but did
23 - not take into account that number of bytes and number of display
24 - columns are different.
25 -
26 - * The "mailmap.file" configuration option did not support the tilde
27 - expansion (i.e. ~user/path and ~/path).
28 -
29 - * The completion scripts (in contrib/) did not know about quite a few
30 - options that are common between "git merge" and "git pull", and a
31 - couple of options unique to "git merge".
32 -
33 - * "--ignore-space-change" option of "git apply" ignored the spaces
34 - at the beginning of line too aggressively, which is inconsistent
35 - with the option of the same name "diff" and "git diff" have.
36 -
37 - * "git blame" miscounted number of columns needed to show localized
38 - timestamps, resulting in jaggy left-side-edge of the source code
39 - lines in its output.
40 -
41 - * "git blame" assigned the blame to the copy in the working-tree if
42 - the repository is set to core.autocrlf=input and the file used CRLF
43 - line endings.
44 -
45 - * "git commit --allow-empty-message -C $commit" did not work when the
46 - commit did not have any log message.
47 -
48 - * "git diff --find-copies-harder" sometimes pretended as if the mode
49 - bits have changed for paths that are marked with assume-unchanged
50 - bit.
51 -
52 - * "git format-patch" did not enforce the rule that the "--follow"
53 - option from the log/diff family of commands must be used with
54 - exactly one pathspec.
55 -
56 - * "git gc --auto" was recently changed to run in the background to
57 - give control back early to the end-user sitting in front of the
58 - terminal, but it forgot that housekeeping involving reflogs should
59 - be done without other processes competing for accesses to the refs.
60 -
61 - * "git grep -O" to show the lines that hit in the pager did not work
62 - well with case insensitive search. We now spawn "less" with its
63 - "-I" option when it is used as the pager (which is the default).
64 -
65 - * We used to disable threaded "git index-pack" on platforms without
66 - thread-safe pread(); use a different workaround for such
67 - platforms to allow threaded "git index-pack".
68 -
69 - * The error reporting from "git index-pack" has been improved to
70 - distinguish missing objects from type errors.
71 -
72 - * "git mailinfo" used to read beyond the end of header string while
73 - parsing an incoming e-mail message to extract the patch.
74 -
75 - * On a case insensitive filesystem, merge-recursive incorrectly
76 - deleted the file that is to be renamed to a name that is the same
77 - except for case differences.
78 -
79 - * "git pack-objects" unnecessarily copied the previous contents when
80 - extending the hashtable, even though it will populate the table
81 - from scratch anyway.
82 -
83 - * "git rerere forget" did not work well when merge.conflictstyle
84 - was set to a non-default value.
85 -
86 - * "git remote rm" and "git remote prune" can involve removing many
87 - refs at once, which is not a very efficient thing to do when very
88 - many refs exist in the packed-refs file.
89 -
90 - * "git log --exclude=<glob> --all | git shortlog" worked as expected,
91 - but "git shortlog --exclude=<glob> --all", which is supposed to be
92 - identical to the above pipeline, was not accepted at the command
93 - line argument parser level.
94 -
95 - * The autostash mode of "git rebase -i" did not restore the dirty
96 - working tree state if the user aborted the interactive rebase by
97 - emptying the insn sheet.
98 -
99 - * "git show -s" (i.e. show log message only) used to incorrectly emit
100 - an extra blank line after a merge commit.
101 -
102 - * "git status", even though it is a read-only operation, tries to
103 - update the index with refreshed lstat(2) info to optimize future
104 - accesses to the working tree opportunistically, but this could
105 - race with a "read-write" operation that modify the index while it
106 - is running. Detect such a race and avoid overwriting the index.
107 -
108 - * "git status" (and "git commit") behaved as if changes in a modified
109 - submodule are not there if submodule.*.ignore configuration is set,
110 - which was misleading. The configuration is only to unclutter diff
111 - output during the course of development, and should not to hide
112 - changes in the "status" output to cause the users forget to commit
113 - them.
114 -
115 - * The mode to run tests with HTTP server tests disabled was broken.
deleted Documentation/RelNotes/2.0.2.adoc mode 100644
@@ -1,32 +0,0 @@
1 - Git v2.0.2 Release Notes
2 - ========================
3 -
4 - * Documentation for "git submodule sync" forgot to say that the subcommand
5 - can take the "--recursive" option.
6 -
7 - * Mishandling of patterns in .gitignore that has trailing SPs quoted
8 - with backslashes (e.g. ones that end with "\ ") have been
9 - corrected.
10 -
11 - * Recent updates to "git repack" started to duplicate objects that
12 - are in packfiles marked with .keep flag into the new packfile by
13 - mistake.
14 -
15 - * "git clone -b brefs/tags/bar" would have mistakenly thought we were
16 - following a single tag, even though it was a name of the branch,
17 - because it incorrectly used strstr().
18 -
19 - * "%G" (nothing after G) is an invalid pretty format specifier, but
20 - the parser did not notice it as garbage.
21 -
22 - * Code to avoid adding the same alternate object store twice was
23 - subtly broken for a long time, but nobody seems to have noticed.
24 -
25 - * A handful of code paths had to read the commit object more than
26 - once when showing header fields that are usually not parsed. The
27 - internal data structure to keep track of the contents of the commit
28 - object has been updated to reduce the need for this double-reading,
29 - and to allow the caller find the length of the object.
30 -
31 - * During "git rebase --merge", a conflicted patch could not be
32 - skipped with "--skip" if the next one also conflicted.
deleted Documentation/RelNotes/2.0.3.adoc mode 100644
@@ -1,17 +0,0 @@
1 - Git v2.0.3 Release Notes
2 - ========================
3 -
4 - * An ancient rewrite passed a wrong pointer to a curl library
5 - function in a rarely used code path.
6 -
7 - * "filter-branch" left an empty single-parent commit that results when
8 - all parents of a merge commit gets mapped to the same commit, even
9 - under "--prune-empty".
10 -
11 - * "log --show-signature" incorrectly decided the color to paint a
12 - mergetag that was and was not correctly validated.
13 -
14 - * "log --show-signature" did not pay attention to "--graph" option.
15 -
16 - Also a lot of fixes to the tests and some updates to the docs are
17 - included.
deleted Documentation/RelNotes/2.0.4.adoc mode 100644
@@ -1,5 +0,0 @@
1 - Git v2.0.4 Release Notes
2 - ========================
3 -
4 - * An earlier update to v2.0.2 broken output from "git diff-tree",
5 - which is fixed in this release.
deleted Documentation/RelNotes/2.0.5.adoc mode 100644
@@ -1,34 +0,0 @@
1 - Git v2.0.5 Release Notes
2 - ========================
3 -
4 - Fixes since v2.0.4
5 - ------------------
6 -
7 - * We used to allow committing a path ".Git/config" with Git that is
8 - running on a case sensitive filesystem, but an attempt to check out
9 - such a path with Git that runs on a case insensitive filesystem
10 - would have clobbered ".git/config", which is definitely not what
11 - the user would have expected. Git now prevents you from tracking
12 - a path with ".Git" (in any case combination) as a path component.
13 -
14 - * On Windows, certain path components that are different from ".git"
15 - are mapped to ".git", e.g. "git~1/config" is treated as if it were
16 - ".git/config". HFS+ has a similar issue, where certain unicode
17 - codepoints are ignored, e.g. ".g\u200cit/config" is treated as if
18 - it were ".git/config". Pathnames with these potential issues are
19 - rejected on the affected systems. Git on systems that are not
20 - affected by this issue (e.g. Linux) can also be configured to
21 - reject them to ensure cross platform interoperability of the hosted
22 - projects.
23 -
24 - * "git fsck" notices a tree object that records such a path that can
25 - be confused with ".git", and with receive.fsckObjects configuration
26 - set to true, an attempt to "git push" such a tree object will be
27 - rejected. Such a path may not be a problem on a well behaving
28 - filesystem but in order to protect those on HFS+ and on case
29 - insensitive filesystems, this check is enabled on all platforms.
30 -
31 - A big "thanks!" for bringing this issue to us goes to our friends in
32 - the Mercurial land, namely, Matt Mackall and Augie Fackler.
33 -
34 - Also contains typofixes, documentation updates and trivial code clean-ups.
deleted Documentation/RelNotes/2.1.0.adoc mode 100644
@@ -1,391 +0,0 @@
1 - Git v2.1 Release Notes
2 - ======================
3 -
4 - Backward compatibility notes
5 - ----------------------------
6 -
7 - * The default value we give to the environment variable LESS has been
8 - changed from "FRSX" to "FRX", losing "S" (chop long lines instead
9 - of wrapping). Existing users who prefer not to see line-wrapped
10 - output may want to set
11 -
12 - $ git config core.pager "less -S"
13 -
14 - to restore the traditional behaviour. It is expected that people
15 - find output from most subcommands easier to read with the new
16 - default, except for "blame" which tends to produce really long
17 - lines. To override the new default only for "git blame", you can
18 - do this:
19 -
20 - $ git config pager.blame "less -S"
21 -
22 - * A few disused directories in contrib/ have been retired.
23 -
24 -
25 - Updates since v2.0
26 - ------------------
27 -
28 - UI, Workflows & Features
29 -
30 - * Since the very beginning of Git, we gave the LESS environment a
31 - default value "FRSX" when we spawn "less" as the pager. "S" (chop
32 - long lines instead of wrapping) has been removed from this default
33 - set of options, because it is more or less a personal taste thing,
34 - as opposed to the others that have good justifications (i.e. "R" is
35 - very much justified because many kinds of output we produce are
36 - colored and "FX" is justified because output we produce is often
37 - shorter than a page).
38 -
39 - * The logic and data used to compute the display width needed for
40 - UTF-8 strings have been updated to match Unicode 7.0 better.
41 -
42 - * HTTP-based transports learned to better propagate the error messages from
43 - the webserver to the client coming over the HTTP transport.
44 -
45 - * The completion script for bash (in contrib/) has been updated to
46 - better handle aliases that define a complex sequence of commands.
47 -
48 - * The "core.preloadindex" configuration variable is enabled by default,
49 - allowing modern platforms to take advantage of their
50 - multiple cores.
51 -
52 - * "git clone" applies the "if cloning from a local disk, physically
53 - copy the repository using hardlinks, unless otherwise told not to with
54 - --no-local" optimization when the url.*.insteadOf mechanism rewrites a
55 - remote-repository "git clone $URL" into a
56 - clone from a local disk.
57 -
58 - * "git commit --date=<date>" option learned more
59 - timestamp formats, including "--date=now".
60 -
61 - * The `core.commentChar` configuration variable is used to specify a
62 - custom comment character (other than the default "#") for
63 - the commit message editor. This can be set to `auto` to attempt to
64 - choose a different character that does not conflict with any that
65 - already starts a line in the message being edited, for cases like
66 - "git commit --amend".
67 -
68 - * "git format-patch" learned --signature-file=<file> to add the contents
69 - of a file as a signature to the mail message it produces.
70 -
71 - * "git grep" learned the grep.fullname configuration variable to force
72 - "--full-name" to be the default. This may cause regressions for
73 - scripted users who do not expect this new behaviour.
74 -
75 - * "git imap-send" learned to ask the credential helper for auth
76 - material.
77 -
78 - * "git log" and friends now understand the value "auto" for the
79 - "log.decorate" configuration variable to enable the "--decorate"
80 - option automatically when the output is sent to tty.
81 -
82 - * "git merge" without an argument, even when there is an upstream
83 - defined for the current branch, refused to run until
84 - merge.defaultToUpstream is set to true. Flip the default of that
85 - configuration variable to true.
86 -
87 - * "git mergetool" learned to drive the vimdiff3 backend.
88 -
89 - * mergetool.prompt used to default to 'true', always asking "do you
90 - really want to run the tool on this path?". The default has been
91 - changed to 'false'. However, the prompt will still appear if
92 - mergetool used its autodetection system to guess which tool to use.
93 - Users who explicitly specify or configure a tool will no longer see
94 - the prompt by default.
95 -
96 - Strictly speaking, this is a backward incompatible change and
97 - users need to explicitly set the variable to 'true' if they want
98 - to be prompted to confirm running the tool on each path.
99 -
100 - * "git replace" learned the "--edit" subcommand to create a
101 - replacement by editing an existing object.
102 -
103 - * "git replace" learned a "--graft" option to rewrite the parents of a
104 - commit.
105 -
106 - * "git send-email" learned "--to-cover" and "--cc-cover" options, to
107 - tell it to copy To: and Cc: headers found in the first input file
108 - when emitting later input files.
109 -
110 - * "git svn" learned to cope with malformed timestamps with only one
111 - digit in the hour part, e.g. 2014-01-07T5:01:02.048176Z, emitted
112 - by some broken subversion server implementations.
113 -
114 - * "git tag" when editing the tag message shows the name of the tag
115 - being edited as a comment in the editor.
116 -
117 - * "git tag" learned to pay attention to "tag.sort" configuration, to
118 - be used as the default sort order when no --sort=<value> option
119 - is given.
120 -
121 - * A new "git verify-commit" command, to check GPG signatures in signed
122 - commits, in a way similar to "git verify-tag" is used to check
123 - signed tags, was added.
124 -
125 -
126 - Performance, Internal Implementation, etc.
127 -
128 - * Build procedure for 'subtree' (in contrib/) has been cleaned up.
129 -
130 - * Support for the profile-feedback build, which has
131 - bit-rotted for quite a while, has been updated.
132 -
133 - * An experimental format to use two files (the base file and
134 - incremental changes relative to it) to represent the index has been
135 - introduced; this may reduce I/O cost of rewriting a large index
136 - when only small part of the working tree changes.
137 -
138 - * Effort to shrink the size of patches Windows folks maintain on top
139 - by upstreaming them continues. More tests that are not applicable
140 - to the Windows environment are identified and either skipped or
141 - made more portable.
142 -
143 - * Eradication of "test $condition -a $condition" from our scripts
144 - continues.
145 -
146 - * The `core.deltabasecachelimit` used to default to 16 MiB , but this
147 - proved to be too small, and has been bumped to 96 MiB.
148 -
149 - * "git blame" has been optimized greatly by reorganising the data
150 - structure that is used to keep track of the work to be done.
151 -
152 - * "git diff" that compares 3-or-more trees (e.g. parents and the
153 - result of a merge) has been optimized.
154 -
155 - * The API to update/delete references are being converted to handle
156 - updates to multiple references in a transactional way. As an
157 - example, "update-ref --stdin [-z]" has been updated to use this
158 - API.
159 -
160 - * skip_prefix() and strip_suffix() API functions are used a lot more
161 - widely throughout the codebase now.
162 -
163 - * Parts of the test scripts can be skipped by using a range notation,
164 - e.g. "sh t1234-test.sh --run='1-4 6 8-'" to omit test piece 5 and 7
165 - and run everything else.
166 -
167 -
168 - Also contains various documentation updates and code clean-ups.
169 -
170 -
171 - Fixes since v2.0
172 - ----------------
173 -
174 - Unless otherwise noted, all the fixes since v2.0 in the maintenance
175 - track are contained in this release (see the maintenance releases'
176 - notes for details).
177 -
178 - * We used to unconditionally disable the pager in the pager process
179 - we spawn to feed out output, but that prevented people who want to
180 - run "less" within "less" from doing so.
181 - (merge c0459ca je/pager-do-not-recurse later to maint).
182 -
183 - * Tools that read diagnostic output in our standard error stream do
184 - not want to see terminal control sequence (e.g. erase-to-eol).
185 - Detect them by checking if the standard error stream is connected
186 - to a tty.
187 - (merge 38de156 mn/sideband-no-ansi later to maint).
188 -
189 - * Mishandling of patterns in .gitignore that have trailing SPs quoted
190 - with backslashes (e.g. ones that end with "\ ") has been
191 - corrected.
192 - (merge 97c1364be6b pb/trim-trailing-spaces later to maint).
193 -
194 - * Reworded the error message given upon a failure to open an existing
195 - loose object file due to e.g. permission issues; it was reported as
196 - the object being corrupt, but that is not quite true.
197 - (merge d6c8a05 jk/report-fail-to-read-objects-better later to maint).
198 -
199 - * "git log -2master" is a common typo that shows two commits starting
200 - from whichever random branch that is not 'master' that happens to
201 - be checked out currently.
202 - (merge e3fa568 jc/revision-dash-count-parsing later to maint).
203 -
204 - * Code to avoid adding the same alternate object store twice was
205 - subtly broken for a long time, but nobody seems to have noticed.
206 - (merge 80b4785 rs/fix-alt-odb-path-comparison later to maint).
207 - (merge 539e750 ek/alt-odb-entry-fix later to maint).
208 -
209 - * The "%<(10,trunc)%s" pretty format specifier in the log family of
210 - commands is used to truncate the string to a given length (e.g. 10
211 - in the example) with padding to column-align the output, but did
212 - not take into account that number of bytes and number of display
213 - columns are different.
214 - (merge 7d50987 as/pretty-truncate later to maint).
215 -
216 - * "%G" (nothing after G) is an invalid pretty format specifier, but
217 - the parser did not notice it as garbage.
218 - (merge 958b2eb jk/pretty-G-format-fixes later to maint).
219 -
220 - * A handful of code paths had to read the commit object more than
221 - once when showing header fields that are usually not parsed. The
222 - internal data structure to keep track of the contents of the commit
223 - object has been updated to reduce the need for this double-reading,
224 - and to allow the caller find the length of the object.
225 - (merge 218aa3a jk/commit-buffer-length later to maint).
226 -
227 - * The "mailmap.file" configuration option did not support tilde
228 - expansion (i.e. ~user/path and ~/path).
229 - (merge 9352fd5 ow/config-mailmap-pathname later to maint).
230 -
231 - * The completion scripts (in contrib/) did not know about quite a few
232 - options that are common between "git merge" and "git pull", and a
233 - couple of options unique to "git merge".
234 - (merge 8fee872 jk/complete-merge-pull later to maint).
235 -
236 - * The unix-domain socket used by the sample credential cache daemon
237 - tried to unlink an existing stale one at a wrong path, if the path
238 - to the socket was given as an overlong path that does not fit in
239 - the sun_path member of the sockaddr_un structure.
240 - (merge 2869b3e rs/fix-unlink-unix-socket later to maint).
241 -
242 - * An ancient rewrite passed a wrong pointer to a curl library
243 - function in a rarely used code path.
244 - (merge 479eaa8 ah/fix-http-push later to maint).
245 -
246 - * "--ignore-space-change" option of "git apply" ignored the spaces
247 - at the beginning of lines too aggressively, which is inconsistent
248 - with the option of the same name that "diff" and "git diff" have.
249 - (merge 14d3bb4 jc/apply-ignore-whitespace later to maint).
250 -
251 - * "git blame" miscounted the number of columns needed to show localized
252 - timestamps, resulting in a jaggy left-side-edge for the source code
253 - lines in its output.
254 - (merge dd75553 jx/blame-align-relative-time later to maint).
255 -
256 - * "git blame" assigned the blame to the copy in the working-tree if
257 - the repository is set to core.autocrlf=input and the file used CRLF
258 - line endings.
259 - (merge 4d4813a bc/blame-crlf-test later to maint).
260 -
261 - * "git clone -b brefs/tags/bar" would have mistakenly thought we were
262 - following a single tag, even though it was a name of the branch,
263 - because it incorrectly used strstr().
264 - (merge 60a5f5f jc/fix-clone-single-starting-at-a-tag later to maint).
265 -
266 - * "git commit --allow-empty-message -C $commit" did not work when the
267 - commit did not have any log message.
268 - (merge 076cbd6 jk/commit-C-pick-empty later to maint).
269 -
270 - * "git diff --find-copies-harder" sometimes pretended as if the mode
271 - bits have changed for paths that are marked with the assume-unchanged
272 - bit.
273 - (merge 5304810 jk/diff-files-assume-unchanged later to maint).
274 -
275 - * "filter-branch" left an empty single-parent commit that results when
276 - all parents of a merge commit get mapped to the same commit, even
277 - under "--prune-empty".
278 - (merge 79bc4ef cb/filter-branch-prune-empty-degenerate-merges later to maint).
279 -
280 - * "git format-patch" did not enforce the rule that the "--follow"
281 - option from the log/diff family of commands must be used with
282 - exactly one pathspec.
283 - (merge dd63f16 jk/diff-follow-must-take-one-pathspec later to maint).
284 -
285 - * "git gc --auto" was recently changed to run in the background to
286 - give control back early to the end-user sitting in front of the
287 - terminal, but it forgot that housekeeping involving reflogs should
288 - be done without other processes competing for accesses to the refs.
289 - (merge 62aad18 nd/daemonize-gc later to maint).
290 -
291 - * "git grep -O" to show the lines that hit in the pager did not work
292 - well with case insensitive search. We now spawn "less" with its
293 - "-I" option when it is used as the pager (which is the default).
294 - (merge f7febbe sk/spawn-less-case-insensitively-from-grep-O-i later to maint).
295 -
296 - * We used to disable threaded "git index-pack" on platforms without
297 - thread-safe pread(); use a different workaround for such
298 - platforms to allow threaded "git index-pack".
299 - (merge 3953949 nd/index-pack-one-fd-per-thread later to maint).
300 -
301 - * The error reporting from "git index-pack" has been improved to
302 - distinguish missing objects from type errors.
303 - (merge 77583e7 jk/index-pack-report-missing later to maint).
304 -
305 - * "log --show-signature" incorrectly decided the color to paint a
306 - mergetag that was and was not correctly validated.
307 - (merge 42c55ce mg/fix-log-mergetag-color later to maint).
308 -
309 - * "log --show-signature" did not pay attention to the "--graph" option.
310 - (merge cf3983d zk/log-graph-showsig later to maint).
311 -
312 - * "git mailinfo" used to read beyond the ends of header strings while
313 - parsing an incoming e-mail message to extract the patch.
314 - (merge b1a013d rs/mailinfo-header-cmp later to maint).
315 -
316 - * On a case insensitive filesystem, merge-recursive incorrectly
317 - deleted the file that is to be renamed to a name that is the same
318 - except for case differences.
319 - (merge baa37bf dt/merge-recursive-case-insensitive later to maint).
320 -
321 - * Merging changes into a file that ends in an incomplete line made the
322 - last line into a complete one, even when the other branch did not
323 - change anything around the end of file.
324 - (merge ba31180 mk/merge-incomplete-files later to maint).
325 -
326 - * "git pack-objects" unnecessarily copied the previous contents when
327 - extending the hashtable, even though it will populate the table
328 - from scratch anyway.
329 - (merge fb79947 rs/pack-objects-no-unnecessary-realloc later to maint).
330 -
331 - * Recent updates to "git repack" started to duplicate objects that
332 - are in packfiles marked with the .keep flag into the new packfile by
333 - mistake.
334 - (merge d078d85 jk/repack-pack-keep-objects later to maint).
335 -
336 - * "git rerere forget" did not work well when merge.conflictstyle
337 - was set to a non-default value.
338 - (merge de3d8bb fc/rerere-conflict-style later to maint).
339 -
340 - * "git remote rm" and "git remote prune" can involve removing many
341 - refs at once, which is not a very efficient thing to do when very
342 - many refs exist in the packed-refs file.
343 - (merge e6bea66 jl/remote-rm-prune later to maint).
344 -
345 - * "git log --exclude=<glob> --all | git shortlog" worked as expected,
346 - but "git shortlog --exclude=<glob> --all", which is supposed to be
347 - identical to the above pipeline, was not accepted at the command
348 - line argument parser level.
349 - (merge eb07774 jc/shortlog-ref-exclude later to maint).
350 -
351 - * The autostash mode of "git rebase -i" did not restore the dirty
352 - working tree state if the user aborted the interactive rebase by
353 - emptying the insn sheet.
354 - (merge ddb5432 rr/rebase-autostash-fix later to maint).
355 -
356 - * "git rebase --fork-point" did not filter out patch-identical
357 - commits correctly.
358 -
359 - * During "git rebase --merge", a conflicted patch could not be
360 - skipped with "--skip" if the next one also conflicted.
361 - (merge 95104c7 bc/fix-rebase-merge-skip later to maint).
362 -
363 - * "git show -s" (i.e. show log message only) used to incorrectly emit
364 - an extra blank line after a merge commit.
365 - (merge ad2f725 mk/show-s-no-extra-blank-line-for-merges later to maint).
366 -
367 - * "git status", even though it is a read-only operation, tries to
368 - update the index with refreshed lstat(2) info to optimize future
369 - accesses to the working tree opportunistically, but this could
370 - race with a "read-write" operation that modifies the index while it
371 - is running. Detect such a race and avoid overwriting the index.
372 - (merge 426ddee ym/fix-opportunistic-index-update-race later to maint).
373 -
374 - * "git status" (and "git commit") behaved as if changes in a modified
375 - submodule are not there if submodule.*.ignore configuration is set,
376 - which was misleading. The configuration is only to unclutter diff
377 - output during the course of development, and not to hide
378 - changes in the "status" output to cause the users forget to commit
379 - them.
380 - (merge c215d3d jl/status-added-submodule-is-never-ignored later to maint).
381 -
382 - * Documentation for "git submodule sync" forgot to say that the subcommand
383 - can take the "--recursive" option.
384 - (merge 9393ae7 mc/doc-submodule-sync-recurse later to maint).
385 -
386 - * "git update-index --cacheinfo" in 2.0 release crashed on a
387 - malformed command line.
388 - (merge c8e1ee4 jc/rev-parse-argh-dashed-multi-words later to maint).
389 -
390 - * The mode to run tests with HTTP server tests disabled was broken.
391 - (merge afa53fe na/no-http-test-in-the-middle later to maint).
deleted Documentation/RelNotes/2.1.1.adoc mode 100644
@@ -1,44 +0,0 @@
1 - Git v2.1.1 Release Notes
2 - ========================
3 -
4 - * Git 2.0 had a regression where "git fetch" into a shallowly
5 - cloned repository from a repository with bitmap object index
6 - enabled did not work correctly. This has been corrected.
7 -
8 - * Git 2.0 had a regression which broke (rarely used) "git diff-tree
9 - -t". This has been corrected.
10 -
11 - * "git log --pretty/format=" with an empty format string did not
12 - mean the more obvious "No output whatsoever" but "Use default
13 - format", which was counterintuitive. Now it means "nothing shown
14 - for the log message part".
15 -
16 - * "git -c section.var command" and "git -c section.var= command"
17 - should pass the configuration differently (the former should be a
18 - boolean true, the latter should be an empty string), but they
19 - didn't work that way. Now it does.
20 -
21 - * Applying a patch not generated by Git in a subdirectory used to
22 - check the whitespace breakage using the attributes for incorrect
23 - paths. Also whitespace checks were performed even for paths
24 - excluded via "git apply --exclude=<path>" mechanism.
25 -
26 - * "git bundle create" with date-range specification were meant to
27 - exclude tags outside the range, but it did not work correctly.
28 -
29 - * "git add x" where x that used to be a directory has become a
30 - symbolic link to a directory misbehaved.
31 -
32 - * The prompt script checked $GIT_DIR/ref/stash file to see if there
33 - is a stash, which was a no-no.
34 -
35 - * "git checkout -m" did not switch to another branch while carrying
36 - the local changes forward when a path was deleted from the index.
37 -
38 - * With sufficiently long refnames, fast-import could have overflown
39 - an on-stack buffer.
40 -
41 - * After "pack-refs --prune" packed refs at the top-level, it failed
42 - to prune them.
43 -
44 - * "git gc --auto" triggered from "git fetch --quiet" was not quiet.
deleted Documentation/RelNotes/2.1.2.adoc mode 100644
@@ -1,20 +0,0 @@
1 - Git v2.1.2 Release Notes
2 - ========================
3 -
4 - * "git push" over HTTP transport had an artificial limit on number of
5 - refs that can be pushed imposed by the command line length.
6 -
7 - * When receiving an invalid pack stream that records the same object
8 - twice, multiple threads got confused due to a race.
9 -
10 - * An attempt to remove the entire tree in the "git fast-import" input
11 - stream caused it to misbehave.
12 -
13 - * Reachability check (used in "git prune" and friends) did not add a
14 - detached HEAD as a starting point to traverse objects still in use.
15 -
16 - * "git config --add section.var val" used to lose existing
17 - section.var whose value was an empty string.
18 -
19 - * "git fsck" failed to report that it found corrupt objects via its
20 - exit status in some cases.
deleted Documentation/RelNotes/2.1.3.adoc mode 100644
@@ -1,26 +0,0 @@
1 - Git v2.1.3 Release Notes
2 - ========================
3 -
4 - * Some MUAs mangled a line in a message that begins with "From " to
5 - ">From " when writing to a mailbox file and feeding such an input to
6 - "git am" used to lose such a line.
7 -
8 - * "git daemon" (with NO_IPV6 build configuration) used to incorrectly
9 - use the hostname even when gethostbyname() reported that the given
10 - hostname is not found.
11 -
12 - * Newer versions of 'meld' breaks the auto-detection we use to see if
13 - they are new enough to support the `--output` option.
14 -
15 - * "git pack-objects" forgot to disable the codepath to generate
16 - object reachability bitmap when it needs to split the resulting
17 - pack.
18 -
19 - * "gitweb" used deprecated CGI::startfrom, which was removed from
20 - CGI.pm as of 4.04; use CGI::start_from instead.
21 -
22 - * "git log" documentation had an example section marked up not
23 - quite correctly, which passed AsciiDoc but failed with
24 - AsciiDoctor.
25 -
26 - Also contains some documentation updates.
deleted Documentation/RelNotes/2.1.4.adoc mode 100644
@@ -1,34 +0,0 @@
1 - Git v2.1.4 Release Notes
2 - ========================
3 -
4 - Fixes since v2.1.3
5 - ------------------
6 -
7 - * We used to allow committing a path ".Git/config" with Git that is
8 - running on a case sensitive filesystem, but an attempt to check out
9 - such a path with Git that runs on a case insensitive filesystem
10 - would have clobbered ".git/config", which is definitely not what
11 - the user would have expected. Git now prevents you from tracking
12 - a path with ".Git" (in any case combination) as a path component.
13 -
14 - * On Windows, certain path components that are different from ".git"
15 - are mapped to ".git", e.g. "git~1/config" is treated as if it were
16 - ".git/config". HFS+ has a similar issue, where certain unicode
17 - codepoints are ignored, e.g. ".g\u200cit/config" is treated as if
18 - it were ".git/config". Pathnames with these potential issues are
19 - rejected on the affected systems. Git on systems that are not
20 - affected by this issue (e.g. Linux) can also be configured to
21 - reject them to ensure cross platform interoperability of the hosted
22 - projects.
23 -
24 - * "git fsck" notices a tree object that records such a path that can
25 - be confused with ".git", and with receive.fsckObjects configuration
26 - set to true, an attempt to "git push" such a tree object will be
27 - rejected. Such a path may not be a problem on a well behaving
28 - filesystem but in order to protect those on HFS+ and on case
29 - insensitive filesystems, this check is enabled on all platforms.
30 -
31 - A big "thanks!" for bringing this issue to us goes to our friends in
32 - the Mercurial land, namely, Matt Mackall and Augie Fackler.
33 -
34 - Also contains typofixes, documentation updates and trivial code clean-ups.
deleted Documentation/RelNotes/2.10.0.adoc mode 100644
@@ -1,675 +0,0 @@
1 - Git 2.10 Release Notes
2 - ======================
3 -
4 - Backward compatibility notes
5 - ----------------------------
6 -
7 - Updates since v2.9
8 - ------------------
9 -
10 - UI, Workflows & Features
11 -
12 - * "git pull --rebase --verify-signature" learned to warn the user
13 - that "--verify-signature" is a no-op when rebasing.
14 -
15 - * An upstream project can make a recommendation to shallowly clone
16 - some submodules in the .gitmodules file it ships.
17 -
18 - * "git worktree add" learned that '-' can be used as a short-hand for
19 - "@{-1}", the previous branch.
20 -
21 - * Update the funcname definition to support css files.
22 -
23 - * The completion script (in contrib/) learned to complete "git
24 - status" options.
25 -
26 - * Messages that are generated by auto gc during "git push" on the
27 - receiving end are now passed back to the sending end in such a way
28 - that they are shown with "remote: " prefix to avoid confusing the
29 - users.
30 -
31 - * "git add -i/-p" learned to honor diff.compactionHeuristic
32 - experimental knob, so that the user can work on the same hunk split
33 - as "git diff" output.
34 -
35 - * "upload-pack" allows a custom "git pack-objects" replacement when
36 - responding to "fetch/clone" via the uploadpack.packObjectsHook.
37 - (merge b738396 jk/upload-pack-hook later to maint).
38 -
39 - * Teach format-patch and mailsplit (hence "am") how a line that
40 - happens to begin with "From " in the e-mail message is quoted with
41 - ">", so that these lines can be restored to their original shape.
42 - (merge d9925d1 ew/mboxrd-format-am later to maint).
43 -
44 - * "git repack" learned the "--keep-unreachable" option, which sends
45 - loose unreachable objects to a pack instead of leaving them loose.
46 - This helps heuristics based on the number of loose objects
47 - (e.g. "gc --auto").
48 - (merge e26a8c4 jk/repack-keep-unreachable later to maint).
49 -
50 - * "log --graph --format=" learned that "%>|(N)" specifies the width
51 - relative to the terminal's left edge, not relative to the area to
52 - draw text that is to the right of the ancestry-graph section. It
53 - also now accepts negative N that means the column limit is relative
54 - to the right border.
55 -
56 - * A careless invocation of "git send-email directory/" after editing
57 - 0001-change.patch with an editor often ends up sending both
58 - 0001-change.patch and its backup file, 0001-change.patch~, causing
59 - embarrassment and a minor confusion. Detect such an input and
60 - offer to skip the backup files when sending the patches out.
61 - (merge 531220b jc/send-email-skip-backup later to maint).
62 -
63 - * "git submodule update" that drives many "git clone" could
64 - eventually hit flaky servers/network conditions on one of the
65 - submodules; the command learned to retry the attempt.
66 -
67 - * The output coloring scheme learned two new attributes, italic and
68 - strike, in addition to existing bold, reverse, etc.
69 -
70 - * "git log" learns log.showSignature configuration variable, and a
71 - command line option "--no-show-signature" to countermand it.
72 - (merge fce04c3 mj/log-show-signature-conf later to maint).
73 -
74 - * More markings of messages for i18n, with updates to various tests
75 - to pass GETTEXT_POISON tests.
76 -
77 - * "git archive" learned to handle files that are larger than 8GB and
78 - commits far in the future than expressible by the traditional US-TAR
79 - format.
80 - (merge 560b0e8 jk/big-and-future-archive-tar later to maint).
81 -
82 -
83 - * A new configuration variable core.sshCommand has been added to
84 - specify what value for GIT_SSH_COMMAND to use per repository.
85 -
86 - * "git worktree prune" protected worktrees that are marked as
87 - "locked" by creating a file in a known location. "git worktree"
88 - command learned a dedicated command pair to create and remove such
89 - a file, so that the users do not have to do this with editor.
90 -
91 - * A handful of "git svn" updates.
92 -
93 - * "git push" learned to accept and pass extra options to the
94 - receiving end so that hooks can read and react to them.
95 -
96 - * "git status" learned to suggest "merge --abort" during a conflicted
97 - merge, just like it already suggests "rebase --abort" during a
98 - conflicted rebase.
99 -
100 - * "git jump" script (in contrib/) has been updated a bit.
101 - (merge a91e692 jk/git-jump later to maint).
102 -
103 - * "git push" and "git clone" learned to give better progress meters
104 - to the end user who is waiting on the terminal.
105 -
106 - * An entry "git log --decorate" for the tip of the current branch is
107 - shown as "HEAD -> name" (where "name" is the name of the branch);
108 - the arrow is now painted in the same color as "HEAD", not in the
109 - color for commits.
110 -
111 - * "git format-patch" learned format.from configuration variable to
112 - specify the default settings for its "--from" option.
113 -
114 - * "git am -3" calls "git merge-recursive" when it needs to fall back
115 - to a three-way merge; this call has been turned into an internal
116 - subroutine call instead of spawning a separate subprocess.
117 -
118 - * The command line completion scripts (in contrib/) now knows about
119 - "git branch --delete/--move [--remote]".
120 - (merge 2703c22 vs/completion-branch-fully-spelled-d-m-r later to maint).
121 -
122 - * "git rev-parse --git-path hooks/<hook>" learned to take
123 - core.hooksPath configuration variable (introduced during 2.9 cycle)
124 - into account.
125 - (merge 9445b49 ab/hooks later to maint).
126 -
127 - * "git log --show-signature" and other commands that display the
128 - verification status of PGP signature now shows the longer key-id,
129 - as 32-bit key-id is so last century.
130 -
131 -
132 - Performance, Internal Implementation, Development Support etc.
133 -
134 - * "git fast-import" learned the same performance trick to avoid
135 - creating too small a packfile as "git fetch" and "git push" have,
136 - using *.unpackLimit configuration.
137 -
138 - * When "git daemon" is run without --[init-]timeout specified, a
139 - connection from a client that silently goes offline can hang around
140 - for a long time, wasting resources. The socket-level KEEPALIVE has
141 - been enabled to allow the OS to notice such failed connections.
142 -
143 - * "git upload-pack" command has been updated to use the parse-options
144 - API.
145 -
146 - * The "git apply" standalone program is being libified; the first
147 - step to move many state variables into a structure that can be
148 - explicitly (re)initialized to make the machinery callable more
149 - than once has been merged.
150 -
151 - * HTTP transport gained an option to produce more detailed debugging
152 - trace.
153 - (merge 73e57aa ep/http-curl-trace later to maint).
154 -
155 - * Instead of taking advantage of the fact that a struct string_list
156 - that is allocated with all NULs happens to be the INIT_NODUP kind,
157 - the users of string_list structures are taught to initialize them
158 - explicitly as such, to document their behaviour better.
159 - (merge 2721ce2 jk/string-list-static-init later to maint).
160 -
161 - * HTTPd tests learned to show the server error log to help diagnosing
162 - a failing tests.
163 - (merge 44f243d nd/test-lib-httpd-show-error-log-in-verbose later to maint).
164 -
165 - * The ownership rule for the piece of memory that hold references to
166 - be fetched in "git fetch" was screwy, which has been cleaned up.
167 -
168 - * "git bisect" makes an internal call to "git diff-tree" when
169 - bisection finds the culprit, but this call did not initialize the
170 - data structure to pass to the diff-tree API correctly.
171 -
172 - * Further preparatory clean-up for "worktree" feature continues.
173 - (merge 0409e0b nd/worktree-cleanup-post-head-protection later to maint).
174 -
175 - * Formats of the various data (and how to validate them) where we use
176 - GPG signature have been documented.
177 -
178 - * A new run-command API function pipe_command() is introduced to
179 - sanely feed data to the standard input while capturing data from
180 - the standard output and the standard error of an external process,
181 - which is cumbersome to hand-roll correctly without deadlocking.
182 -
183 - * The codepath to sign data in a prepared buffer with GPG has been
184 - updated to use this API to read from the status-fd to check for
185 - errors (instead of relying on GPG's exit status).
186 - (merge efee955 jk/gpg-interface-cleanup later to maint).
187 -
188 - * Allow t/perf framework to use the features from the most recent
189 - version of Git even when testing an older installed version.
190 -
191 - * The commands in the "log/diff" family have had an FILE* pointer in the
192 - data structure they pass around for a long time, but some codepaths
193 - used to always write to the standard output. As a preparatory step
194 - to make "git format-patch" available to the internal callers, these
195 - codepaths have been updated to consistently write into that FILE*
196 - instead.
197 -
198 - * Conversion from unsigned char sha1[20] to struct object_id
199 - continues.
200 -
201 - * Improve the look of the way "git fetch" reports what happened to
202 - each ref that was fetched.
203 -
204 - * The .c/.h sources are marked as such in our .gitattributes file so
205 - that "git diff -W" and friends would work better.
206 -
207 - * Code clean-up to avoid using a variable string that compilers may
208 - feel untrustable as printf-style format given to write_file()
209 - helper function.
210 -
211 - * "git p4" used a location outside $GIT_DIR/refs/ to place its
212 - temporary branches, which has been moved to refs/git-p4-tmp/.
213 -
214 - * Existing autoconf generated test for the need to link with pthread
215 - library did not check all the functions from pthread libraries;
216 - recent FreeBSD has some functions in libc but not others, and we
217 - mistakenly thought linking with libc is enough when it is not.
218 -
219 - * When "git fsck" reports a broken link (e.g. a tree object contains
220 - a blob that does not exist), both containing object and the object
221 - that is referred to were reported with their 40-hex object names.
222 - The command learned the "--name-objects" option to show the path to
223 - the containing object from existing refs (e.g. "HEAD~24^2:file.txt").
224 -
225 - * Allow http daemon tests in Travis CI tests.
226 -
227 - * Makefile assumed that -lrt is always available on platforms that
228 - want to use clock_gettime() and CLOCK_MONOTONIC, which is not a
229 - case for recent Mac OS X. The necessary symbols are often found in
230 - libc on many modern systems and having -lrt on the command line, as
231 - long as the library exists, had no effect, but when the platform
232 - removes librt.a that is a different matter--having -lrt will break
233 - the linkage.
234 -
235 - This change could be seen as a regression for those who do need to
236 - specify -lrt, as they now specifically ask for NEEDS_LIBRT when
237 - building. Hopefully they are in the minority these days.
238 -
239 - * Further preparatory work on the refs API before the pluggable
240 - backend series can land.
241 -
242 - * Error handling in the codepaths that updates refs has been
243 - improved.
244 -
245 - * The API to iterate over all the refs (i.e. for_each_ref(), etc.)
246 - has been revamped.
247 -
248 - * The handling of the "text=auto" attribute has been corrected.
249 - $ echo "* text=auto eol=crlf" >.gitattributes
250 - used to have the same effect as
251 - $ echo "* text eol=crlf" >.gitattributes
252 - i.e. declaring all files are text (ignoring "auto"). The
253 - combination has been fixed to be equivalent to doing
254 - $ git config core.autocrlf true
255 -
256 - * Documentation has been updated to show better example usage
257 - of the updated "text=auto" attribute.
258 -
259 - * A few tests that specifically target "git rebase -i" have been
260 - added.
261 -
262 - * Dumb http transport on the client side has been optimized.
263 - (merge ecba195 ew/http-walker later to maint).
264 -
265 - * Users of the parse_options_concat() API function need to allocate
266 - extra slots in advance and fill them with OPT_END() when they want
267 - to decide the set of supported options dynamically, which makes the
268 - code error-prone and hard to read. This has been corrected by tweaking
269 - the API to allocate and return a new copy of "struct option" array.
270 -
271 - * "git fetch" exchanges batched have/ack messages between the sender
272 - and the receiver, initially doubling every time and then falling
273 - back to enlarge the window size linearly. The "smart http"
274 - transport, being an half-duplex protocol, outgrows the preset limit
275 - too quickly and becomes inefficient when interacting with a large
276 - repository. The internal mechanism learned to grow the window size
277 - more aggressively when working with the "smart http" transport.
278 -
279 - * Tests for "git svn" have been taught to reuse the lib-httpd test
280 - infrastructure when testing the subversion integration that
281 - interacts with subversion repositories served over the http://
282 - protocol.
283 - (merge a8a5d25 ew/git-svn-http-tests later to maint).
284 -
285 - * "git pack-objects" has a few options that tell it not to pack
286 - objects found in certain packfiles, which require it to scan .idx
287 - files of all available packs. The codepaths involved in these
288 - operations have been optimized for a common case of not having any
289 - non-local pack and/or any .kept pack.
290 -
291 - * The t3700 test about "add --chmod=-x" have been made a bit more
292 - robust and generally cleaned up.
293 - (merge 766cdc4 ib/t3700-add-chmod-x-updates later to maint).
294 -
295 - * The build procedure learned PAGER_ENV knob that lists what default
296 - environment variable settings to export for popular pagers. This
297 - mechanism is used to tweak the default settings to MORE on FreeBSD.
298 - (merge 995bc22 ew/build-time-pager-tweaks later to maint).
299 -
300 - * The http-backend (the server-side component of smart-http
301 - transport) used to trickle the HTTP header one at a time. Now
302 - these write(2)s are batched.
303 - (merge b36045c ew/http-backend-batch-headers later to maint).
304 -
305 - * When "git rebase" tries to compare set of changes on the updated
306 - upstream and our own branch, it computes patch-id for all of these
307 - changes and attempts to find matches. This has been optimized by
308 - lazily computing the full patch-id (which is expensive) to be
309 - compared only for changes that touch the same set of paths.
310 - (merge ba67504 kw/patch-ids-optim later to maint).
311 -
312 - * A handful of tests that were broken under gettext-poison build have
313 - been fixed.
314 -
315 - * The recent i18n patch we added during this cycle did a bit too much
316 - refactoring of the messages to avoid word-legos; the repetition has
317 - been reduced to help translators.
318 -
319 -
320 - Also contains various documentation updates and code clean-ups.
321 -
322 -
323 - Fixes since v2.9
324 - ----------------
325 -
326 - Unless otherwise noted, all the fixes since v2.8 in the maintenance
327 - track are contained in this release (see the maintenance releases'
328 - notes for details).
329 -
330 - * The commands in `git log` family take %C(auto) in a custom format
331 - string. This unconditionally turned the color on, ignoring
332 - --no-color or with --color=auto when the output is not connected to
333 - a tty; this was corrected to make the format truly behave as
334 - "auto".
335 -
336 - * "git rev-list --count" whose walk-length is limited with "-n"
337 - option did not work well with the counting optimized to look at the
338 - bitmap index.
339 -
340 - * "git show -W" (extend hunks to cover the entire function, delimited
341 - by lines that match the "funcname" pattern) used to show the entire
342 - file when a change added an entire function at the end of the file,
343 - which has been fixed.
344 -
345 - * The documentation set has been updated so that literal commands,
346 - configuration variables and environment variables are consistently
347 - typeset in fixed-width font and bold in manpages.
348 -
349 - * "git svn propset" subcommand that was added in 2.3 days is
350 - documented now.
351 -
352 - * The documentation tries to consistently spell "GPG"; when
353 - referring to the specific program name, "gpg" is used.
354 -
355 - * "git reflog" stopped upon seeing an entry that denotes a branch
356 - creation event (aka "unborn"), which made it appear as if the
357 - reflog was truncated.
358 -
359 - * The git-prompt scriptlet (in contrib/) was not friendly with those
360 - who uses "set -u", which has been fixed.
361 -
362 - * compat/regex code did not cleanly compile.
363 -
364 - * A codepath that used alloca(3) to place an unbounded amount of data
365 - on the stack has been updated to avoid doing so.
366 -
367 - * "git update-index --add --chmod=+x file" may be usable as an escape
368 - hatch, but not a friendly thing to force for people who do need to
369 - use it regularly. "git add --chmod=+x file" can be used instead.
370 -
371 - * Build improvements for gnome-keyring (in contrib/)
372 -
373 - * "git status" used to say "working directory" when it meant "working
374 - tree".
375 -
376 - * Comments about misbehaving FreeBSD shells have been clarified with
377 - the version number (9.x and before are broken, newer ones are OK).
378 -
379 - * "git cherry-pick A" worked on an unborn branch, but "git
380 - cherry-pick A..B" didn't.
381 -
382 - * Fix an unintended regression in v2.9 that breaks "clone --depth"
383 - that recurses down to submodules by forcing the submodules to also
384 - be cloned shallowly, which many server instances that host upstream
385 - of the submodules are not prepared for.
386 -
387 - * Fix unnecessarily waste in the idiomatic use of ': ${VAR=default}'
388 - to set the default value, without enclosing it in double quotes.
389 -
390 - * Some platform-specific code had non-ANSI strict declarations of C
391 - functions that do not take any parameters, which has been
392 - corrected.
393 -
394 - * The internal code used to show local timezone offset is not
395 - prepared to handle timestamps beyond year 2100, and gave a
396 - bogus offset value to the caller. Use a more benign looking
397 - +0000 instead and let "git log" going in such a case, instead
398 - of aborting.
399 -
400 - * One among four invocations of readlink(1) in our test suite has
401 - been rewritten so that the test can run on systems without the
402 - command (others are in valgrind test framework and t9802).
403 -
404 - * t/perf needs /usr/bin/time with GNU extension; the invocation of it
405 - is updated to "gtime" on Darwin.
406 -
407 - * A bug, which caused "git p4" while running under verbose mode to
408 - report paths that are omitted due to branch prefix incorrectly, has
409 - been fixed; the command said "Ignoring file outside of prefix" for
410 - paths that are _inside_.
411 -
412 - * The top level documentation "git help git" still pointed at the
413 - documentation set hosted at now-defunct google-code repository.
414 - Update it to point to https://git.github.io/htmldocs/git.html
415 - instead.
416 -
417 - * A helper function that takes the contents of a commit object and
418 - finds its subject line did not ignore leading blank lines, as is
419 - commonly done by other codepaths. Make it ignore leading blank
420 - lines to match.
421 -
422 - * For a long time, we carried an in-code comment that said our
423 - colored output would work only when we use fprintf/fputs on
424 - Windows, which no longer is the case for the past few years.
425 -
426 - * "gc.autoPackLimit" when set to 1 should not trigger a repacking
427 - when there is only one pack, but the code counted poorly and did
428 - so.
429 -
430 - * Add a test to specify the desired behaviour that currently is not
431 - available in "git rebase -Xsubtree=...".
432 -
433 - * More mark-up updates to typeset strings that are expected to
434 - literally typed by the end user in fixed-width font.
435 -
436 - * "git commit --amend --allow-empty-message -S" for a commit without
437 - any message body could have misidentified where the header of the
438 - commit object ends.
439 -
440 - * "git rebase -i --autostash" did not restore the auto-stashed change
441 - when the operation was aborted.
442 -
443 - * Git does not know what the contents in the index should be for a
444 - path added with "git add -N" yet, so "git grep --cached" should not
445 - show hits (or show lack of hits, with -L) in such a path, but that
446 - logic does not apply to "git grep", i.e. searching in the working
447 - tree files. But we did so by mistake, which has been corrected.
448 -
449 - * "git blame -M" missed a single line that was moved within the file.
450 -
451 - * Fix recently introduced codepaths that are involved in parallel
452 - submodule operations, which gave up on reading too early, and
453 - could have wasted CPU while attempting to write under a corner
454 - case condition.
455 -
456 - * "git grep -i" has been taught to fold case in non-ascii locales
457 - correctly.
458 -
459 - * A test that unconditionally used "mktemp" learned that the command
460 - is not necessarily available everywhere.
461 -
462 - * There are certain house-keeping tasks that need to be performed at
463 - the very beginning of any Git program, and programs that are not
464 - built-in commands had to do them exactly the same way as "git"
465 - potty does. It was easy to make mistakes in one-off standalone
466 - programs (like test helpers). A common "main()" function that
467 - calls cmd_main() of individual program has been introduced to
468 - make it harder to make mistakes.
469 - (merge de61ceb jk/common-main later to maint).
470 -
471 - * The test framework learned a new helper test_match_signal to
472 - check an exit code from getting killed by an expected signal.
473 -
474 - * General code clean-up around a helper function to write a
475 - single-liner to a file.
476 - (merge 7eb6e10 jk/write-file later to maint).
477 -
478 - * One part of "git am" had an oddball helper function that called
479 - stuff from outside "his" as opposed to calling what we have "ours",
480 - which was not gender-neutral and also inconsistent with the rest of
481 - the system where outside stuff is usually called "theirs" in
482 - contrast to "ours".
483 -
484 - * "git blame file" allowed the lineage of lines in the uncommitted,
485 - unadded contents of "file" to be inspected, but it refused when
486 - "file" did not appear in the current commit. When "file" was
487 - created by renaming an existing file (but the change has not been
488 - committed), this restriction was unnecessarily tight.
489 -
490 - * "git add -N dir/file && git write-tree" produced an incorrect tree
491 - when there are other paths in the same directory that sorts after
492 - "file".
493 -
494 - * "git fetch http://user:pass@host/repo..." scrubbed the userinfo
495 - part, but "git push" didn't.
496 -
497 - * "git merge" with renormalization did not work well with
498 - merge-recursive, due to "safer crlf" conversion kicking in when it
499 - shouldn't.
500 - (merge 1335d76 jc/renormalize-merge-kill-safer-crlf later to maint).
501 -
502 - * The use of strbuf in "git rm" to build filename to remove was a bit
503 - suboptimal, which has been fixed.
504 -
505 - * An age old bug that caused "git diff --ignore-space-at-eol"
506 - misbehave has been fixed.
507 -
508 - * "git notes merge" had a code to see if a path exists (and fails if
509 - it does) and then open the path for writing (when it doesn't).
510 - Replace it with open with O_EXCL.
511 -
512 - * "git pack-objects" and "git index-pack" mostly operate with off_t
513 - when talking about the offset of objects in a packfile, but there
514 - were a handful of places that used "unsigned long" to hold that
515 - value, leading to an unintended truncation.
516 -
517 - * Recent update to "git daemon" tries to enable the socket-level
518 - KEEPALIVE, but when it is spawned via inetd, the standard input
519 - file descriptor may not necessarily be connected to a socket.
520 - Suppress an ENOTSOCK error from setsockopt().
521 -
522 - * Recent FreeBSD stopped making perl available at /usr/bin/perl;
523 - switch the default the built-in path to /usr/local/bin/perl on not
524 - too ancient FreeBSD releases.
525 -
526 - * "git commit --help" said "--no-verify" is only about skipping the
527 - pre-commit hook, and failed to say that it also skipped the
528 - commit-msg hook.
529 -
530 - * "git merge" in Git v2.9 was taught to forbid merging an unrelated
531 - lines of history by default, but that is exactly the kind of thing
532 - the "--rejoin" mode of "git subtree" (in contrib/) wants to do.
533 - "git subtree" has been taught to use the "--allow-unrelated-histories"
534 - option to override the default.
535 -
536 - * The build procedure for "git persistent-https" helper (in contrib/)
537 - has been updated so that it can be built with more recent versions
538 - of Go.
539 -
540 - * There is an optimization used in "git diff $treeA $treeB" to borrow
541 - an already checked-out copy in the working tree when it is known to
542 - be the same as the blob being compared, expecting that open/mmap of
543 - such a file is faster than reading it from the object store, which
544 - involves inflating and applying delta. This however kicked in even
545 - when the checked-out copy needs to go through the convert-to-git
546 - conversion (including the clean filter), which defeats the whole
547 - point of the optimization. The optimization has been disabled when
548 - the conversion is necessary.
549 -
550 - * "git -c grep.patternType=extended log --basic-regexp" misbehaved
551 - because the internal API to access the grep machinery was not
552 - designed well.
553 -
554 - * Windows port was failing some tests in t4130, due to the lack of
555 - inum in the returned values by its lstat(2) emulation.
556 -
557 - * The reflog output format is documented better, and a new format
558 - --date=unix to report the seconds-since-epoch (without timezone)
559 - has been added.
560 - (merge 442f6fd jk/reflog-date later to maint).
561 -
562 - * "git difftool <paths>..." started in a subdirectory failed to
563 - interpret the paths relative to that directory, which has been
564 - fixed.
565 -
566 - * The characters in the label shown for tags/refs for commits in
567 - "gitweb" output are now properly escaped for proper HTML output.
568 -
569 - * FreeBSD can lie when asked mtime of a directory, which made the
570 - untracked cache code to fall back to a slow-path, which in turn
571 - caused tests in t7063 to fail because it wanted to verify the
572 - behaviour of the fast-path.
573 -
574 - * Squelch compiler warnings for nedmalloc (in compat/) library.
575 -
576 - * A small memory leak in the command line parsing of "git blame"
577 - has been plugged.
578 -
579 - * The API documentation for hashmap was unclear if hashmap_entry
580 - can be safely discarded without any other consideration. State
581 - that it is safe to do so.
582 -
583 - * Not-so-recent rewrite of "git am" that started making internal
584 - calls into the commit machinery had an unintended regression, in
585 - that no matter how many seconds it took to apply many patches, the
586 - resulting committer timestamp for the resulting commits were all
587 - the same.
588 -
589 - * "git push --force-with-lease" already had enough logic to allow
590 - ensuring that such a push results in creation of a ref (i.e. the
591 - receiving end did not have another push from sideways that would be
592 - discarded by our force-pushing), but didn't expose this possibility
593 - to the users. It does so now.
594 - (merge 9eed4f3 jk/push-force-with-lease-creation later to maint).
595 -
596 - * The mechanism to limit the pack window memory size, when packing is
597 - done using multiple threads (which is the default), is per-thread,
598 - but this was not documented clearly.
599 - (merge 954176c ms/document-pack-window-memory-is-per-thread later to maint).
600 -
601 - * "import-tars" fast-import script (in contrib/) used to ignore a
602 - hardlink target and replaced it with an empty file, which has been
603 - corrected to record the same blob as the other file the hardlink is
604 - shared with.
605 - (merge 04e0869 js/import-tars-hardlinks later to maint).
606 -
607 - * "git mv dir non-existing-dir/" did not work in some environments
608 - the same way as existing mainstream platforms. The code now moves
609 - "dir" to "non-existing-dir", without relying on rename("A", "B/")
610 - that strips the trailing slash of '/'.
611 - (merge 189d035 js/mv-dir-to-new-directory later to maint).
612 -
613 - * The "t/" hierarchy is prone to get an unusual pathname; "make test"
614 - has been taught to make sure they do not contain paths that cannot
615 - be checked out on Windows (and the mechanism can be reusable to
616 - catch pathnames that are not portable to other platforms as need
617 - arises).
618 - (merge c2cafd3 js/test-lint-pathname later to maint).
619 -
620 - * When "git merge-recursive" works on history with many criss-cross
621 - merges in "verbose" mode, the names the command assigns to the
622 - virtual merge bases could have overwritten each other by unintended
623 - reuse of the same piece of memory.
624 - (merge 5447a76 rs/pull-signed-tag later to maint).
625 -
626 - * "git checkout --detach <branch>" used to give the same advice
627 - message as that is issued when "git checkout <tag>" (or anything
628 - that is not a branch name) is given, but asking with "--detach" is
629 - an explicit enough sign that the user knows what is going on. The
630 - advice message has been squelched in this case.
631 - (merge 779b88a sb/checkout-explit-detach-no-advice later to maint).
632 -
633 - * "git difftool" by default ignores the error exit from the backend
634 - commands it spawns, because often they signal that they found
635 - differences by exiting with a non-zero status code just like "diff"
636 - does; the exit status codes 126 and above however are special in
637 - that they are used to signal that the command is not executable,
638 - does not exist, or killed by a signal. "git difftool" has been
639 - taught to notice these exit status codes.
640 - (merge 45a4f5d jk/difftool-command-not-found later to maint).
641 -
642 - * On Windows, help.browser configuration variable used to be ignored,
643 - which has been corrected.
644 - (merge 6db5967 js/no-html-bypass-on-windows later to maint).
645 -
646 - * The "git -c var[=val] cmd" facility to append a configuration
647 - variable definition at the end of the search order was described in
648 - git(1) manual page, but not in git-config(1), which was more likely
649 - place for people to look for when they ask "can I make a one-shot
650 - override, and if so how?"
651 - (merge ae1f709 dg/document-git-c-in-git-config-doc later to maint).
652 -
653 - * The tempfile (hence its user lockfile) API lets the caller to open
654 - a file descriptor to a temporary file, write into it and then
655 - finalize it by first closing the filehandle and then either
656 - removing or renaming the temporary file. When the process spawns a
657 - subprocess after obtaining the file descriptor, and if the
658 - subprocess has not exited when the attempt to remove or rename is
659 - made, the last step fails on Windows, because the subprocess has
660 - the file descriptor still open. Open tempfile with O_CLOEXEC flag
661 - to avoid this (on Windows, this is mapped to O_NOINHERIT).
662 - (merge 05d1ed6 bw/mingw-avoid-inheriting-fd-to-lockfile later to maint).
663 -
664 - * Correct an age-old calco (is that a typo-like word for calc)
665 - in the documentation.
666 - (merge 7841c48 ls/packet-line-protocol-doc-fix later to maint).
667 -
668 - * Other minor clean-ups and documentation updates
669 - (merge 02a8cfa rs/merge-add-strategies-simplification later to maint).
670 - (merge af4941d rs/merge-recursive-string-list-init later to maint).
671 - (merge 1eb47f1 rs/use-strbuf-add-unique-abbrev later to maint).
672 - (merge ddd0bfa jk/tighten-alloc later to maint).
673 - (merge ecf30b2 rs/mailinfo-lib later to maint).
674 - (merge 0eb75ce sg/reflog-past-root later to maint).
675 - (merge 4369523 hv/doc-commit-reference-style later to maint).
deleted Documentation/RelNotes/2.10.1.adoc mode 100644
@@ -1,131 +0,0 @@
1 - Git v2.10.1 Release Notes
2 - =========================
3 -
4 - Fixes since v2.10
5 - -----------------
6 -
7 - * Clarify various ways to specify the "revision ranges" in the
8 - documentation.
9 -
10 - * "diff-highlight" script (in contrib/) learned to work better with
11 - "git log -p --graph" output.
12 -
13 - * The test framework left the number of tests and success/failure
14 - count in the t/test-results directory, keyed by the name of the
15 - test script plus the process ID. The latter however turned out not
16 - to serve any useful purpose. The process ID part of the filename
17 - has been removed.
18 -
19 - * Having a submodule whose ".git" repository is somehow corrupt
20 - caused a few commands that recurse into submodules loop forever.
21 -
22 - * "git symbolic-ref -d HEAD" happily removes the symbolic ref, but
23 - the resulting repository becomes an invalid one. Teach the command
24 - to forbid removal of HEAD.
25 -
26 - * A test spawned a short-lived background process, which sometimes
27 - prevented the test directory from getting removed at the end of the
28 - script on some platforms.
29 -
30 - * Update a few tests that used to use GIT_CURL_VERBOSE to use the
31 - newer GIT_TRACE_CURL.
32 -
33 - * Update Japanese translation for "git-gui".
34 -
35 - * "git fetch http::/site/path" did not die correctly and segfaulted
36 - instead.
37 -
38 - * "git commit-tree" stopped reading commit.gpgsign configuration
39 - variable that was meant for Porcelain "git commit" in Git 2.9; we
40 - forgot to update "git gui" to look at the configuration to match
41 - this change.
42 -
43 - * "git log --cherry-pick" used to include merge commits as candidates
44 - to be matched up with other commits, resulting a lot of wasted time.
45 - The patch-id generation logic has been updated to ignore merges to
46 - avoid the wastage.
47 -
48 - * The http transport (with curl-multi option, which is the default
49 - these days) failed to remove curl-easy handle from a curlm session,
50 - which led to unnecessary API failures.
51 -
52 - * "git diff -W" output needs to extend the context backward to
53 - include the header line of the current function and also forward to
54 - include the body of the entire current function up to the header
55 - line of the next one. This process may have to merge to adjacent
56 - hunks, but the code forgot to do so in some cases.
57 -
58 - * Performance tests done via "t/perf" did not use the same set of
59 - build configuration if the user relied on autoconf generated
60 - configuration.
61 -
62 - * "git format-patch --base=..." feature that was recently added
63 - showed the base commit information after "-- " e-mail signature
64 - line, which turned out to be inconvenient. The base information
65 - has been moved above the signature line.
66 -
67 - * Even when "git pull --rebase=preserve" (and the underlying "git
68 - rebase --preserve") can complete without creating any new commit
69 - (i.e. fast-forwards), it still insisted on having a usable ident
70 - information (read: user.email is set correctly), which was less
71 - than nice. As the underlying commands used inside "git rebase"
72 - would fail with a more meaningful error message and advice text
73 - when the bogus ident matters, this extra check was removed.
74 -
75 - * "git gc --aggressive" used to limit the delta-chain length to 250,
76 - which is way too deep for gaining additional space savings and is
77 - detrimental for runtime performance. The limit has been reduced to
78 - 50.
79 -
80 - * Documentation for individual configuration variables to control use
81 - of color (like `color.grep`) said that their default value is
82 - 'false', instead of saying their default is taken from `color.ui`.
83 - When we updated the default value for color.ui from 'false' to
84 - 'auto' quite a while ago, all of them broke. This has been
85 - corrected.
86 -
87 - * A shell script example in check-ref-format documentation has been
88 - fixed.
89 -
90 - * "git checkout <word>" does not follow the usual disambiguation
91 - rules when the <word> can be both a rev and a path, to allow
92 - checking out a branch 'foo' in a project that happens to have a
93 - file 'foo' in the working tree without having to disambiguate.
94 - This was poorly documented and the check was incorrect when the
95 - command was run from a subdirectory.
96 -
97 - * Some codepaths in "git diff" used regexec(3) on a buffer that was
98 - mmap(2)ed, which may not have a terminating NUL, leading to a read
99 - beyond the end of the mapped region. This was fixed by introducing
100 - a regexec_buf() helper that takes a <ptr,len> pair with REG_STARTEND
101 - extension.
102 -
103 - * The procedure to build Git on Mac OS X for Travis CI hardcoded the
104 - internal directory structure we assumed HomeBrew uses, which was a
105 - no-no. The procedure has been updated to ask HomeBrew things we
106 - need to know to fix this.
107 -
108 - * When "git rebase -i" is given a broken instruction, it told the
109 - user to fix it with "--edit-todo", but didn't say what the step
110 - after that was (i.e. "--continue").
111 -
112 - * "git add --chmod=+x" added recently lacked documentation, which has
113 - been corrected.
114 -
115 - * "git add --chmod=+x <pathspec>" added recently only toggled the
116 - executable bit for paths that are either new or modified. This has
117 - been corrected to flip the executable bit for all paths that match
118 - the given pathspec.
119 -
120 - * "git pack-objects --include-tag" was taught that when we know that
121 - we are sending an object C, we want a tag B that directly points at
122 - C but also a tag A that points at the tag B. We used to miss the
123 - intermediate tag B in some cases.
124 -
125 - * Documentation around tools to import from CVS was fairly outdated.
126 -
127 - * In the codepath that comes up with the hostname to be used in an
128 - e-mail when the user didn't tell us, we looked at ai_canonname
129 - field in struct addrinfo without making sure it is not NULL first.
130 -
131 - Also contains minor documentation updates and code clean-ups.
deleted Documentation/RelNotes/2.10.2.adoc mode 100644
@@ -1,111 +0,0 @@
1 - Git v2.10.2 Release Notes
2 - =========================
3 -
4 - Fixes since v2.10.1
5 - -------------------
6 -
7 - * The code that parses the format parameter of for-each-ref command
8 - has seen a micro-optimization.
9 -
10 - * The "graph" API used in "git log --graph" miscounted the number of
11 - output columns consumed so far when drawing a padding line, which
12 - has been fixed; this did not affect any existing code as nobody
13 - tried to write anything after the padding on such a line, though.
14 -
15 - * Almost everybody uses DEFAULT_ABBREV to refer to the default
16 - setting for the abbreviation, but "git blame" peeked into
17 - underlying variable bypassing the macro for no good reason.
18 -
19 - * Doc update to clarify what "log -3 --reverse" does.
20 -
21 - * An author name, that spelled a backslash-quoted double quote in the
22 - human readable part "My \"double quoted\" name", was not unquoted
23 - correctly while applying a patch from a piece of e-mail.
24 -
25 - * The original command line syntax for "git merge", which was "git
26 - merge <msg> HEAD <parent>...", has been deprecated for quite some
27 - time, and "git gui" was the last in-tree user of the syntax. This
28 - is finally fixed, so that we can move forward with the deprecation.
29 -
30 - * Codepaths that read from an on-disk loose object were too loose in
31 - validating what they are reading is a proper object file and
32 - sometimes read past the data they read from the disk, which has
33 - been corrected. H/t to Gustavo Grieco for reporting.
34 -
35 - * "git worktree", even though it used the default_abbrev setting that
36 - ought to be affected by core.abbrev configuration variable, ignored
37 - the variable setting. The command has been taught to read the
38 - default set of configuration variables to correct this.
39 -
40 - * A low-level function verify_packfile() was meant to show errors
41 - that were detected without dying itself, but under some conditions
42 - it didn't and died instead, which has been fixed.
43 -
44 - * When "git fetch" tries to find where the history of the repository
45 - it runs in has diverged from what the other side has, it has a
46 - mechanism to avoid digging too deep into irrelevant side branches.
47 - This however did not work well over the "smart-http" transport due
48 - to a design bug, which has been fixed.
49 -
50 - * When we started cURL to talk to imap server when a new enough
51 - version of cURL library is available, we forgot to explicitly add
52 - imap(s):// before the destination. To some folks, that didn't work
53 - and the library tried to make HTTP(s) requests instead.
54 -
55 - * The ./configure script generated from configure.ac was taught how
56 - to detect support of SSL by libcurl better.
57 -
58 - * http.emptyauth configuration is a way to allow an empty username to
59 - pass when attempting to authenticate using mechanisms like
60 - Kerberos. We took an unspecified (NULL) username and sent ":"
61 - (i.e. no username, no password) to CURLOPT_USERPWD, but did not do
62 - the same when the username is explicitly set to an empty string.
63 -
64 - * "git clone" of a local repository can be done at the filesystem
65 - level, but the codepath did not check errors while copying and
66 - adjusting the file that lists alternate object stores.
67 -
68 - * Documentation for "git commit" was updated to clarify that "commit
69 - -p <paths>" adds to the current contents of the index to come up
70 - with what to commit.
71 -
72 - * A stray symbolic link in $GIT_DIR/refs/ directory could make name
73 - resolution loop forever, which has been corrected.
74 -
75 - * The "submodule.<name>.path" stored in .gitmodules is never copied
76 - to .git/config and such a key in .git/config has no meaning, but
77 - the documentation described it and submodule.<name>.url next to
78 - each other as if both belong to .git/config. This has been fixed.
79 -
80 - * Recent git allows submodule.<name>.branch to use a special token
81 - "." instead of the branch name; the documentation has been updated
82 - to describe it.
83 -
84 - * In a worktree connected to a repository elsewhere, created via "git
85 - worktree", "git checkout" attempts to protect users from confusion
86 - by refusing to check out a branch that is already checked out in
87 - another worktree. However, this also prevented checking out a
88 - branch, which is designated as the primary branch of a bare
89 - repository, in a worktree that is connected to the bare
90 - repository. The check has been corrected to allow it.
91 -
92 - * "git rebase" immediately after "git clone" failed to find the fork
93 - point from the upstream.
94 -
95 - * When fetching from a remote that has many tags that are irrelevant
96 - to branches we are following, we used to waste way too many cycles
97 - when checking if the object pointed at by a tag (that we are not
98 - going to fetch!) exists in our repository too carefully.
99 -
100 - * The Travis CI configuration we ship ran the tests with --verbose
101 - option but this risks non-TAP output that happens to be "ok" to be
102 - misinterpreted as TAP signalling a test that passed. This resulted
103 - in unnecessary failure. This has been corrected by introducing a
104 - new mode to run our tests in the test harness to send the verbose
105 - output separately to the log file.
106 -
107 - * Some AsciiDoc formatter mishandles a displayed illustration with
108 - tabs in it. Adjust a few of them in merge-base documentation to
109 - work around them.
110 -
111 - Also contains minor documentation updates and code clean-ups.
deleted Documentation/RelNotes/2.10.3.adoc mode 100644
@@ -1,55 +0,0 @@
1 - Git v2.10.3 Release Notes
2 - =========================
3 -
4 - Fixes since v2.10.2
5 - -------------------
6 -
7 - * Extract a small helper out of the function that reads the authors
8 - script file "git am" internally uses.
9 - This by itself is not useful until a second caller appears in the
10 - future for "rebase -i" helper.
11 -
12 - * The command-line completion script (in contrib/) learned to
13 - complete "git cmd ^mas<HT>" to complete the negative end of
14 - reference to "git cmd ^master".
15 -
16 - * "git send-email" attempts to pick up valid e-mails from the
17 - trailers, but people in real world write non-addresses there, like
18 - "Cc: Stable <add@re.ss> # 4.8+", which broke the output depending
19 - on the availability and vintage of Mail::Address perl module.
20 -
21 - * The code that we have used for the past 10+ years to cycle
22 - 4-element ring buffers turns out to be not quite portable in
23 - theoretical world.
24 -
25 - * "git daemon" used fixed-length buffers to turn URL to the
26 - repository the client asked for into the server side directory
27 - path, using snprintf() to avoid overflowing these buffers, but
28 - allowed possibly truncated paths to the directory. This has been
29 - tightened to reject such a request that causes overlong path to be
30 - required to serve.
31 -
32 - * Recent update to git-sh-setup (a library of shell functions that
33 - are used by our in-tree scripted Porcelain commands) included
34 - another shell library git-sh-i18n without specifying where it is,
35 - relying on the $PATH. This has been fixed to be more explicit by
36 - prefixing $(git --exec-path) output in front.
37 -
38 - * Fix for a racy false-positive test failure.
39 -
40 - * Portability update and workaround for builds on recent Mac OS X.
41 -
42 - * Update to the test framework made in 2.9 timeframe broke running
43 - the tests under valgrind, which has been fixed.
44 -
45 - * Improve the rule to convert "unsigned char [20]" into "struct
46 - object_id *" in contrib/coccinelle/
47 -
48 - * "git-shell" rejects a request to serve a repository whose name
49 - begins with a dash, which makes it no longer possible to get it
50 - confused into spawning service programs like "git-upload-pack" with
51 - an option like "--help", which in turn would spawn an interactive
52 - pager, instead of working with the repository user asked to access
53 - (i.e. the one whose name is "--help").
54 -
55 - Also contains minor documentation updates and code clean-ups.
deleted Documentation/RelNotes/2.10.4.adoc mode 100644
@@ -1,4 +0,0 @@
1 - Git v2.10.4 Release Notes
2 - =========================
3 -
4 - This release forward-ports the fix for "ssh://..." URL from Git v2.7.6
deleted Documentation/RelNotes/2.10.5.adoc mode 100644
@@ -1,17 +0,0 @@
1 - Git v2.10.5 Release Notes
2 - =========================
3 -
4 - Fixes since v2.10.4
5 - -------------------
6 -
7 - * "git cvsserver" no longer is invoked by "git daemon" by default,
8 - as it is old and largely unmaintained.
9 -
10 - * Various Perl scripts did not use safe_pipe_capture() instead of
11 - backticks, leaving them susceptible to end-user input. They have
12 - been corrected.
13 -
14 - Credits go to joernchen <joernchen@phenoelit.de> for finding the
15 - unsafe constructs in "git cvsserver", and to Jeff King at GitHub for
16 - finding and fixing instances of the same issue in other scripts.
17 -
deleted Documentation/RelNotes/2.11.0.adoc mode 100644
@@ -1,593 +0,0 @@
1 - Git 2.11 Release Notes
2 - ======================
3 -
4 - Backward compatibility notes.
5 -
6 - * An empty string used as a pathspec element has always meant
7 - 'everything matches', but it is too easy to write a script that
8 - finds a path to remove in $path and run 'git rm "$paht"' by
9 - mistake (when the user meant to give "$path"), which ends up
10 - removing everything. This release starts warning about the
11 - use of an empty string that is used for 'everything matches' and
12 - asks users to use a more explicit '.' for that instead.
13 -
14 - The hope is that existing users will not mind this change, and
15 - eventually the warning can be turned into a hard error, upgrading
16 - the deprecation into removal of this (mis)feature.
17 -
18 - * The historical argument order "git merge <msg> HEAD <commit>..."
19 - has been deprecated for quite some time, and will be removed in the
20 - next release (not this one).
21 -
22 - * The default abbreviation length, which has historically been 7, now
23 - scales as the repository grows, using the approximate number of
24 - objects in the repository and a bit of math around the birthday
25 - paradox. The logic suggests to use 12 hexdigits for the Linux
26 - kernel, and 9 to 10 for Git itself.
27 -
28 -
29 - Updates since v2.10
30 - -------------------
31 -
32 - UI, Workflows & Features
33 -
34 - * Comes with new version of git-gui, now at its 0.21.0 tag.
35 -
36 - * "git format-patch --cover-letter HEAD^" to format a single patch
37 - with a separate cover letter now numbers the output as [PATCH 0/1]
38 - and [PATCH 1/1] by default.
39 -
40 - * An incoming "git push" that attempts to push too many bytes can now
41 - be rejected by setting a new configuration variable at the receiving
42 - end.
43 -
44 - * "git nosuchcommand --help" said "No manual entry for gitnosuchcommand",
45 - which was not intuitive, given that "git nosuchcommand" said "git:
46 - 'nosuchcommand' is not a git command".
47 -
48 - * "git clone --recurse-submodules --reference $path $URL" is a way to
49 - reduce network transfer cost by borrowing objects in an existing
50 - $path repository when cloning the superproject from $URL; it
51 - learned to also peek into $path for presence of corresponding
52 - repositories of submodules and borrow objects from there when able.
53 -
54 - * The "git diff --submodule={short,log}" mechanism has been enhanced
55 - to allow "--submodule=diff" to show the patch between the submodule
56 - commits bound to the superproject.
57 -
58 - * Even though "git hash-objects", which is a tool to take an
59 - on-filesystem data stream and put it into the Git object store,
60 - can perform "outside-world-to-Git" conversions (e.g.
61 - end-of-line conversions and application of the clean-filter), and
62 - it has had this feature on by default from very early days, its reverse
63 - operation "git cat-file", which takes an object from the Git object
64 - store and externalizes it for consumption by the outside world,
65 - lacked an equivalent mechanism to run the "Git-to-outside-world"
66 - conversion. The command learned the "--filters" option to do so.
67 -
68 - * Output from "git diff" can be made easier to read by intelligently selecting
69 - which lines are common and which lines are added/deleted
70 - when the lines before and after the changed section
71 - are the same. A command line option (--indent-heuristic) and a
72 - configuration variable (diff.indentHeuristic) are added to help with the
73 - experiment to find good heuristics.
74 -
75 - * In some projects, it is common to use "[RFC PATCH]" as the subject
76 - prefix for a patch meant for discussion rather than application. A
77 - new format-patch option "--rfc" is a short-hand for "--subject-prefix=RFC PATCH"
78 - to help the participants of such projects.
79 -
80 - * "git add --chmod={+,-}x <pathspec>" only changed the
81 - executable bit for paths that are either new or modified. This has
82 - been corrected to change the executable bit for all paths that match
83 - the given pathspec.
84 -
85 - * When "git format-patch --stdout" output is placed as an in-body
86 - header and it uses RFC2822 header folding, "git am" fails to
87 - put the header line back into a single logical line. The
88 - underlying "git mailinfo" was taught to handle this properly.
89 -
90 - * "gitweb" can spawn "highlight" to show blob contents with
91 - (programming) language-specific syntax highlighting, but only
92 - when the language is known. "highlight" can however be told
93 - to guess the language itself by giving it "--force" option, which
94 - has been enabled.
95 -
96 - * "git gui" l10n to Portuguese.
97 -
98 - * When given an abbreviated object name that is not (or more
99 - realistically, "no longer") unique, we gave a fatal error
100 - "ambiguous argument". This error is now accompanied by a hint that
101 - lists the objects beginning with the given prefix. During the
102 - course of development of this new feature, numerous minor bugs were
103 - uncovered and corrected, the most notable one of which is that we
104 - gave "short SHA1 xxxx is ambiguous." twice without good reason.
105 -
106 - * "git log rev^..rev" is an often-used revision range specification
107 - to show what was done on a side branch merged at rev. This has
108 - gained a short-hand "rev^-1". In general "rev^-$n" is the same as
109 - "^rev^$n rev", i.e. what has happened on other branches while the
110 - history leading to nth parent was looking the other way.
111 -
112 - * In recent versions of cURL, GSSAPI credential delegation is
113 - disabled by default due to CVE-2011-2192; introduce a http.delegation
114 - configuration variable to selectively allow enabling this.
115 - (merge 26a7b23429 ps/http-gssapi-cred-delegation later to maint).
116 -
117 - * "git mergetool" learned to honor "-O<orderfile>" to control the
118 - order of paths to present to the end user.
119 -
120 - * "git diff/log --ws-error-highlight=<kind>" lacked the corresponding
121 - configuration variable (diff.wsErrorHighlight) to set it by default.
122 -
123 - * "git ls-files" learned the "--recurse-submodules" option
124 - to get a listing of tracked files across submodules (i.e. this
125 - only works with the "--cached" option, not for listing untracked or
126 - ignored files). This would be a useful tool to sit on the upstream
127 - side of a pipe that is read with xargs to work on all working tree
128 - files from the top-level superproject.
129 -
130 - * A new credential helper that talks via "libsecret" with
131 - implementations of XDG Secret Service API has been added to
132 - contrib/credential/.
133 -
134 - * The GPG verification status shown by the "%G?" pretty format specifier
135 - was not rich enough to differentiate a signature made by an expired
136 - key, a signature made by a revoked key, etc. New output letters
137 - have been assigned to express them.
138 -
139 - * In addition to purely abbreviated commit object names, "gitweb"
140 - learned to turn "git describe" output (e.g. v2.9.3-599-g2376d31787)
141 - into clickable links in its output.
142 -
143 - * "git commit" created an empty commit when invoked with an index
144 - consisting solely of intend-to-add paths (added with "git add -N").
145 - It now requires the "--allow-empty" option to create such a commit.
146 - The same logic prevented "git status" from showing such paths as "new files" in the
147 - "Changes not staged for commit" section.
148 -
149 - * The smudge/clean filter API spawns an external process
150 - to filter the contents of each path that has a filter defined. A
151 - new type of "process" filter API has been added to allow the first
152 - request to run the filter for a path to spawn a single process, and
153 - all filtering is served by this single process for multiple
154 - paths, reducing the process creation overhead.
155 -
156 - * The user always has to say "stash@{$N}" when naming a single
157 - element in the default location of the stash, i.e. reflogs in
158 - refs/stash. The "git stash" command learned to accept "git stash
159 - apply 4" as a short-hand for "git stash apply stash@{4}".
160 -
161 -
162 - Performance, Internal Implementation, Development Support etc.
163 -
164 - * The delta-base-cache mechanism has been a key to the performance in
165 - a repository with a tightly packed packfile, but it did not scale
166 - well even with a larger value of core.deltaBaseCacheLimit.
167 -
168 - * Enhance "git status --porcelain" output by collecting more data on
169 - the state of the index and the working tree files, which may
170 - further be used to teach git-prompt (in contrib/) to make fewer
171 - calls to git.
172 -
173 - * Extract a small helper out of the function that reads the authors
174 - script file "git am" internally uses.
175 - (merge a77598e jc/am-read-author-file later to maint).
176 -
177 - * Lift calls to exit(2) and die() higher in the callchain in
178 - sequencer.c files so that more helper functions in it can be used
179 - by callers that want to handle error conditions themselves.
180 -
181 - * "git am" has been taught to make an internal call to "git apply"'s
182 - innards without spawning the latter as a separate process.
183 -
184 - * The ref-store abstraction was introduced to the refs API so that we
185 - can plug in different backends to store references.
186 -
187 - * The "unsigned char sha1[20]" to "struct object_id" conversion
188 - continues. Notable changes in this round includes that ce->sha1,
189 - i.e. the object name recorded in the cache_entry, turns into an
190 - object_id.
191 -
192 - * JGit can show a fake ref "capabilities^{}" to "git fetch" when it
193 - does not advertise any refs, but "git fetch" was not prepared to
194 - see such an advertisement. When the other side disconnects without
195 - giving any ref advertisement, we used to say "there may not be a
196 - repository at that URL", but we may have seen other advertisements
197 - like "shallow" and ".have" in which case we definitely know that a
198 - repository is there. The code to detect this case has also been
199 - updated.
200 -
201 - * Some codepaths in "git pack-objects" were not ready to use an
202 - existing pack bitmap; now they are and as a result they have
203 - become faster.
204 -
205 - * The codepath in "git fsck" to detect malformed tree objects has
206 - been updated not to die but keep going after detecting them.
207 -
208 - * We call "qsort(array, nelem, sizeof(array[0]), fn)", and most of
209 - the time third parameter is redundant. A new QSORT() macro lets us
210 - omit it.
211 -
212 - * "git pack-objects" in a repository with many packfiles used to
213 - spend a lot of time looking for/at objects in them; the accesses to
214 - the packfiles are now optimized by checking the most-recently-used
215 - packfile first.
216 - (merge c9af708b1a jk/pack-objects-optim-mru later to maint).
217 -
218 - * Codepaths involved in interacting alternate object stores have
219 - been cleaned up.
220 -
221 - * In order for the receiving end of "git push" to inspect the
222 - received history and decide to reject the push, the objects sent
223 - from the sending end need to be made available to the hook and
224 - the mechanism for the connectivity check, and this was done
225 - traditionally by storing the objects in the receiving repository
226 - and letting "git gc" expire them. Instead, store the newly
227 - received objects in a temporary area, and make them available by
228 - reusing the alternate object store mechanism to them only while we
229 - decide if we accept the check, and once we decide, either migrate
230 - them to the repository or purge them immediately.
231 -
232 - * The require_clean_work_tree() helper was recreated in C when "git
233 - pull" was rewritten from shell; the helper is now made available to
234 - other callers in preparation for upcoming "rebase -i" work.
235 -
236 - * "git upload-pack" had its code cleaned-up and performance improved
237 - by reducing use of timestamp-ordered commit-list, which was
238 - replaced with a priority queue.
239 -
240 - * "git diff --no-index" codepath has been updated not to try to peek
241 - into a .git/ directory that happens to be under the current
242 - directory, when we know we are operating outside any repository.
243 -
244 - * Update of the sequencer codebase to make it reusable to reimplement
245 - "rebase -i" continues.
246 -
247 - * Git generally does not explicitly close file descriptors that were
248 - open in the parent process when spawning a child process, but most
249 - of the time the child does not want to access them. As Windows does
250 - not allow removing or renaming a file that has a file descriptor
251 - open, a slow-to-exit child can even break the parent process by
252 - holding onto them. Use O_CLOEXEC flag to open files in various
253 - codepaths.
254 -
255 - * Update "interpret-trailers" machinery and teach it that people in
256 - the real world write all sorts of cruft in the "trailer" that was
257 - originally designed to have the neat-o "Mail-Header: like thing"
258 - and nothing else.
259 -
260 -
261 - Also contains various documentation updates and code clean-ups.
262 -
263 -
264 - Fixes since v2.10
265 - -----------------
266 -
267 - Unless otherwise noted, all the fixes since v2.9 in the maintenance
268 - track are contained in this release (see the maintenance releases'
269 - notes for details).
270 -
271 - * Clarify various ways to specify the "revision ranges" in the
272 - documentation.
273 -
274 - * "diff-highlight" script (in contrib/) learned to work better with
275 - "git log -p --graph" output.
276 -
277 - * The test framework left the number of tests and success/failure
278 - count in the t/test-results directory, keyed by the name of the
279 - test script plus the process ID. The latter however turned out not
280 - to serve any useful purpose. The process ID part of the filename
281 - has been removed.
282 -
283 - * Having a submodule whose ".git" repository is somehow corrupt
284 - caused a few commands that recurse into submodules to loop forever.
285 -
286 - * "git symbolic-ref -d HEAD" happily removes the symbolic ref, but
287 - the resulting repository becomes an invalid one. Teach the command
288 - to forbid removal of HEAD.
289 -
290 - * A test spawned a short-lived background process, which sometimes
291 - prevented the test directory from getting removed at the end of the
292 - script on some platforms.
293 -
294 - * Update a few tests that used to use GIT_CURL_VERBOSE to use the
295 - newer GIT_TRACE_CURL.
296 -
297 - * "git pack-objects --include-tag" was taught that when we know that
298 - we are sending an object C, we want a tag B that directly points at
299 - C but also a tag A that points at the tag B. We used to miss the
300 - intermediate tag B in some cases.
301 -
302 - * Update Japanese translation for "git-gui".
303 -
304 - * "git fetch http::/site/path" did not die correctly and segfaulted
305 - instead.
306 -
307 - * "git commit-tree" stopped reading commit.gpgsign configuration
308 - variable that was meant for Porcelain "git commit" in Git 2.9; we
309 - forgot to update "git gui" to look at the configuration to match
310 - this change.
311 -
312 - * "git add --chmod={+,-}x" added recently lacked documentation, which has
313 - been corrected.
314 -
315 - * "git log --cherry-pick" used to include merge commits as candidates
316 - to be matched up with other commits, resulting a lot of wasted time.
317 - The patch-id generation logic has been updated to ignore merges and
318 - avoid the wastage.
319 -
320 - * The http transport (with curl-multi option, which is the default
321 - these days) failed to remove curl-easy handle from a curlm session,
322 - which led to unnecessary API failures.
323 -
324 - * There were numerous corner cases in which the configuration files
325 - are read and used or not read at all depending on the directory a
326 - Git command was run, leading to inconsistent behaviour. The code
327 - to set-up repository access at the beginning of a Git process has
328 - been updated to fix them.
329 - (merge 4d0efa1 jk/setup-sequence-update later to maint).
330 -
331 - * "git diff -W" output needs to extend the context backward to
332 - include the header line of the current function and also forward to
333 - include the body of the entire current function up to the header
334 - line of the next one. This process may have to merge two adjacent
335 - hunks, but the code forgot to do so in some cases.
336 -
337 - * Performance tests done via "t/perf" did not use the right
338 - build configuration if the user relied on autoconf generated
339 - configuration.
340 -
341 - * "git format-patch --base=..." feature that was recently added
342 - showed the base commit information after the "-- " e-mail signature
343 - line, which turned out to be inconvenient. The base information
344 - has been moved above the signature line.
345 -
346 - * More i18n.
347 -
348 - * Even when "git pull --rebase=preserve" (and the underlying "git
349 - rebase --preserve") can complete without creating any new commits
350 - (i.e. fast-forwards), it still insisted on having usable ident
351 - information (read: user.email is set correctly), which was less
352 - than nice. As the underlying commands used inside "git rebase"
353 - would fail with a more meaningful error message and advice text
354 - when the bogus ident matters, this extra check was removed.
355 -
356 - * "git gc --aggressive" used to limit the delta-chain length to 250,
357 - which is way too deep for gaining additional space savings and is
358 - detrimental for runtime performance. The limit has been reduced to
359 - 50.
360 -
361 - * Documentation for individual configuration variables to control use
362 - of color (like `color.grep`) said that their default value is
363 - 'false', instead of saying their default is taken from `color.ui`.
364 - When we updated the default value for color.ui from 'false' to
365 - 'auto' quite a while ago, all of them broke. This has been
366 - corrected.
367 -
368 - * The pretty-format specifier "%C(auto)" used by the "log" family of
369 - commands to enable coloring of the output is taught to also issue a
370 - color-reset sequence to the output.
371 -
372 - * A shell script example in check-ref-format documentation has been
373 - fixed.
374 -
375 - * "git checkout <word>" does not follow the usual disambiguation
376 - rules when the <word> can be both a rev and a path, to allow
377 - checking out a branch 'foo' in a project that happens to have a
378 - file 'foo' in the working tree without having to disambiguate.
379 - This was poorly documented and the check was incorrect when the
380 - command was run from a subdirectory.
381 -
382 - * Some codepaths in "git diff" used regexec(3) on a buffer that was
383 - mmap(2)ed, which may not have a terminating NUL, leading to a read
384 - beyond the end of the mapped region. This was fixed by introducing
385 - a regexec_buf() helper that takes a <ptr,len> pair with REG_STARTEND
386 - extension.
387 -
388 - * The procedure to build Git on Mac OS X for Travis CI hardcoded the
389 - internal directory structure we assumed HomeBrew uses, which was a
390 - no-no. The procedure has been updated to ask HomeBrew things we
391 - need to know to fix this.
392 -
393 - * When "git rebase -i" is given a broken instruction, it told the
394 - user to fix it with "--edit-todo", but didn't say what the step
395 - after that was (i.e. "--continue").
396 -
397 - * Documentation around tools to import from CVS was fairly outdated.
398 -
399 - * "git clone --recurse-submodules" lost the progress eye-candy in
400 - a recent update, which has been corrected.
401 -
402 - * A low-level function verify_packfile() was meant to show errors
403 - that were detected without dying itself, but under some conditions
404 - it didn't and died instead, which has been fixed.
405 -
406 - * When "git fetch" tries to find where the history of the repository
407 - it runs in has diverged from what the other side has, it has a
408 - mechanism to avoid digging too deep into irrelevant side branches.
409 - This however did not work well over the "smart-http" transport due
410 - to a design bug, which has been fixed.
411 -
412 - * In the codepath that comes up with the hostname to be used in an
413 - e-mail when the user didn't tell us, we looked at the ai_canonname
414 - field in struct addrinfo without making sure it is not NULL first.
415 -
416 - * "git worktree", even though it used the default_abbrev setting that
417 - ought to be affected by the core.abbrev configuration variable, ignored
418 - the variable setting. The command has been taught to read the
419 - default set of configuration variables to correct this.
420 -
421 - * "git init" tried to record core.worktree in the repository's
422 - 'config' file when the GIT_WORK_TREE environment variable was set and
423 - it was different from where GIT_DIR appears as ".git" at its top,
424 - but the logic was faulty when .git is a "gitdir:" file that points
425 - at the real place, causing trouble in working trees that are
426 - managed by "git worktree". This has been corrected.
427 -
428 - * Codepaths that read from an on-disk loose object were too loose in
429 - validating that they are reading a proper object file and
430 - sometimes read past the data they read from the disk, which has
431 - been corrected. H/t to Gustavo Grieco for reporting.
432 -
433 - * The original command line syntax for "git merge", which was "git
434 - merge <msg> HEAD <parent>...", has been deprecated for quite some
435 - time, and "git gui" was the last in-tree user of the syntax. This
436 - is finally fixed, so that we can move forward with the deprecation.
437 -
438 - * An author name that has a backslash-quoted double quote in the
439 - human readable part ("My \"double quoted\" name"), was not unquoted
440 - correctly while applying a patch from a piece of e-mail.
441 -
442 - * Doc update to clarify what "log -3 --reverse" does.
443 -
444 - * Almost everybody uses DEFAULT_ABBREV to refer to the default
445 - setting for the abbreviation, but "git blame" peeked into
446 - underlying variable bypassing the macro for no good reason.
447 -
448 - * The "graph" API used in "git log --graph" miscounted the number of
449 - output columns consumed so far when drawing a padding line, which
450 - has been fixed; this did not affect any existing code as nobody
451 - tried to write anything after the padding on such a line, though.
452 -
453 - * The code that parses the format parameter of the for-each-ref command
454 - has seen a micro-optimization.
455 -
456 - * When we started to use cURL to talk to an imap server, we forgot to explicitly add
457 - imap(s):// before the destination. To some folks, that didn't work
458 - and the library tried to make HTTP(s) requests instead.
459 -
460 - * The ./configure script generated from configure.ac was taught how
461 - to detect support of SSL by libcurl better.
462 -
463 - * The command-line completion script (in contrib/) learned to
464 - complete "git cmd ^mas<HT>" to complete the negative end of
465 - reference to "git cmd ^master".
466 - (merge 49416ad22a cp/completion-negative-refs later to maint).
467 -
468 - * The existing "git fetch --depth=<n>" option was hard to use
469 - correctly when making the history of an existing shallow clone
470 - deeper. A new option, "--deepen=<n>", has been added to make this
471 - easier to use. "git clone" also learned "--shallow-since=<date>"
472 - and "--shallow-exclude=<tag>" options to make it easier to specify
473 - "I am interested only in the recent N months worth of history" and
474 - "Give me only the history since that version".
475 - (merge cccf74e2da nd/shallow-deepen later to maint).
476 -
477 - * "git blame --reverse OLD path" is now DWIMmed to show how lines
478 - in path in an old revision OLD have survived up to the current
479 - commit.
480 - (merge e1d09701a4 jc/blame-reverse later to maint).
481 -
482 - * The http.emptyauth configuration variable is a way to allow an empty username to
483 - pass when attempting to authenticate using mechanisms like
484 - Kerberos. We took an unspecified (NULL) username and sent ":"
485 - (i.e. no username, no password) to CURLOPT_USERPWD, but did not do
486 - the same when the username is explicitly set to an empty string.
487 -
488 - * "git clone" of a local repository can be done at the filesystem
489 - level, but the codepath did not check errors while copying and
490 - adjusting the file that lists alternate object stores.
491 -
492 - * Documentation for "git commit" was updated to clarify that "commit
493 - -p <paths>" adds to the current contents of the index to come up
494 - with what to commit.
495 -
496 - * A stray symbolic link in the $GIT_DIR/refs/ directory could make name
497 - resolution loop forever, which has been corrected.
498 -
499 - * The "submodule.<name>.path" stored in .gitmodules is never copied
500 - to .git/config and such a key in .git/config has no meaning, but
501 - the documentation described it next to submodule.<name>.url
502 - as if both belong to .git/config. This has been fixed.
503 -
504 - * In a worktree created via "git
505 - worktree", "git checkout" attempts to protect users from confusion
506 - by refusing to check out a branch that is already checked out in
507 - another worktree. However, this also prevented checking out a
508 - branch which is designated as the primary branch of a bare
509 - repository, in a worktree that is connected to the bare
510 - repository. The check has been corrected to allow it.
511 -
512 - * "git rebase" immediately after "git clone" failed to find the fork
513 - point from the upstream.
514 -
515 - * When fetching from a remote that has many tags that are irrelevant
516 - to branches we are following, we used to waste way too many cycles
517 - checking if the object pointed at by a tag (that we are not
518 - going to fetch!) exists in our repository too carefully.
519 -
520 - * Protect our code from over-eager compilers.
521 -
522 - * Recent git allows submodule.<name>.branch to use a special token
523 - "." instead of the branch name; the documentation has been updated
524 - to describe it.
525 -
526 - * "git send-email" attempts to pick up valid e-mails from the
527 - trailers, but people in the real world write non-addresses there, like
528 - "Cc: Stable <add@re.ss> # 4.8+", which broke the output depending
529 - on the availability and vintage of the Mail::Address perl module.
530 - (merge dcfafc5214 mm/send-email-cc-cruft-after-address later to maint).
531 -
532 - * The Travis CI configuration we ship ran the tests with the --verbose
533 - option but this risks non-TAP output that happens to be "ok" to be
534 - misinterpreted as TAP signalling a test that passed. This resulted
535 - in unnecessary failures. This has been corrected by introducing a
536 - new mode to run our tests in the test harness to send the verbose
537 - output separately to the log file.
538 -
539 - * Some AsciiDoc formatters mishandle a displayed illustration with
540 - tabs in it. Adjust a few of them in merge-base documentation to
541 - work around them.
542 -
543 - * Fixed a minor regression in "git submodule" that was introduced
544 - when more helper functions were reimplemented in C.
545 - (merge 77b63ac31e sb/submodule-ignore-trailing-slash later to maint).
546 -
547 - * The code that we have used for the past 10+ years to cycle
548 - 4-element ring buffers turns out to be not quite portable in
549 - theoretical world.
550 - (merge bb84735c80 rs/ring-buffer-wraparound later to maint).
551 -
552 - * "git daemon" used fixed-length buffers to turn URLs to the
553 - repository the client asked for into the server side directory
554 - paths, using snprintf() to avoid overflowing these buffers, but
555 - allowed possibly truncated paths to the directory. This has been
556 - tightened to reject such a request that causes an overlong path to be
557 - served.
558 - (merge 6bdb0083be jk/daemon-path-ok-check-truncation later to maint).
559 -
560 - * Recent update to git-sh-setup (a library of shell functions that
561 - are used by our in-tree scripted Porcelain commands) included
562 - another shell library git-sh-i18n without specifying where it is,
563 - relying on the $PATH. This has been fixed to be more explicit by
564 - prefixing with $(git --exec-path) output.
565 - (merge 1073094f30 ak/sh-setup-dot-source-i18n-fix later to maint).
566 -
567 - * Fix for a racy false-positive test failure.

This diff is too large to show in full - only the first part is shown.