Skip to content

Commit 442dd42

Browse files
committed
Merge branch 'maint'
* maint: Update draft release notes to 1.6.2.2 Fix bash completion in path with spaces bash completion: only show 'log --merge' if merging git-tag(1): add hint about commit messages Documentation: update graph api example.
2 parents 01eadaf + 8c7f788 commit 442dd42

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

Documentation/RelNotes-1.6.2.2.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,16 @@ Fixes since v1.6.2.1
2727
* 'git-submodule add' did not tolerate extra slashes and ./ in the path it
2828
accepted from the command line; it now is more lenient.
2929

30+
* git-svn misbehaved when the project contained a path that began with
31+
two dashes.
32+
33+
* import-zips script (in contrib) did not compute the common directory
34+
prefix correctly.
35+
36+
Many small documentation updates are included as well.
3037

3138
---
3239
exec >/var/tmp/1
33-
O=v1.6.2.1-23-g67c176f
40+
O=v1.6.2.1-46-gb19293d
3441
echo O=$(git describe maint)
3542
git shortlog --no-merges $O..maint

Documentation/git-tag.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ OPTIONS
6363
are printed when using -l.
6464
The default is not to print any annotation lines.
6565
If no number is given to `-n`, only the first line is printed.
66+
If the tag is not annotated, the commit message is displayed instead.
6667

6768
-l <pattern>::
6869
List tags with names that match the given pattern (or all if no pattern is given).

Documentation/technical/api-history-graph.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,22 +148,22 @@ outputting that information, if desired.
148148
------------
149149
*
150150
*
151-
M
151+
*
152152
|\
153153
* |
154154
| | *
155155
| \ \
156156
| \ \
157-
M-. \ \
157+
*-. \ \
158158
|\ \ \ \
159159
| | * | |
160160
| | | | | *
161161
| | | | | *
162-
| | | | | M
162+
| | | | | *
163163
| | | | | |\
164164
| | | | | | *
165165
| * | | | | |
166-
| | | | | M \
166+
| | | | | * \
167167
| | | | | |\ |
168168
| | | | * | | |
169169
| | | | * | | |

contrib/completion/git-completion.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ _git_log ()
11031103
local cur="${COMP_WORDS[COMP_CWORD]}"
11041104
local g="$(git rev-parse --git-dir 2>/dev/null)"
11051105
local merge=""
1106-
if [ -f $g/MERGE_HEAD ]; then
1106+
if [ -f "$g/MERGE_HEAD" ]; then
11071107
merge="--merge"
11081108
fi
11091109
case "$cur" in
@@ -1943,7 +1943,7 @@ _gitk ()
19431943
local cur="${COMP_WORDS[COMP_CWORD]}"
19441944
local g="$(__gitdir)"
19451945
local merge=""
1946-
if [ -f $g/MERGE_HEAD ]; then
1946+
if [ -f "$g/MERGE_HEAD" ]; then
19471947
merge="--merge"
19481948
fi
19491949
case "$cur" in

0 commit comments

Comments
 (0)