Skip to content

Commit d6d96f8

Browse files
committed
Merge branch 'maint-1.5.4' into maint
* maint-1.5.4: Docs gitk: Explicitly mention the files that gitk uses (~/.gitk) Document -w option to shortlog bisect: report bad rev better
2 parents eed8183 + e809507 commit d6d96f8

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

Documentation/git-shortlog.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ git-shortlog - Summarize 'git log' output
88
SYNOPSIS
99
--------
1010
[verse]
11-
git-log --pretty=short | 'git-shortlog' [-h] [-n] [-s] [-e]
12-
git-shortlog [-n|--numbered] [-s|--summary] [-e|--email] [<committish>...]
11+
git-log --pretty=short | 'git-shortlog' [-h] [-n] [-s] [-e] [-w]
12+
git-shortlog [-n|--numbered] [-s|--summary] [-e|--email] [-w[<width>[,<indent1>[,<indent2>]]]] [<committish>...]
1313

1414
DESCRIPTION
1515
-----------
@@ -35,6 +35,12 @@ OPTIONS
3535
-e, \--email::
3636
Show the email address of each author.
3737

38+
-w[<width>[,<indent1>[,<indent2>]]]::
39+
Linewrap the output by wrapping each line at `width`. The first
40+
line of each entry is indented by `indent1` spaces, and the second
41+
and subsequent lines are indented by `indent2` spaces. `width`,
42+
`indent1`, and `indent2` default to 76, 6 and 9 respectively.
43+
3844
FILES
3945
-----
4046

Documentation/gitk.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ gitk --max-count=100 --all \-- Makefile::
7474
Show at most 100 changes made to the file 'Makefile'. Instead of only
7575
looking for changes in the current branch look in all branches.
7676

77+
Files
78+
-----
79+
Gitk creates the .gitk file in your $HOME directory to store preferences
80+
such as display options, font, and colors.
81+
7782
See Also
7883
--------
7984
'qgit(1)'::

builtin-shortlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "shortlog.h"
1010

1111
static const char shortlog_usage[] =
12-
"git-shortlog [-n] [-s] [-e] [<commit-id>... ]";
12+
"git-shortlog [-n] [-s] [-e] [-w] [<commit-id>... ]";
1313

1414
static int compare_by_number(const void *a1, const void *a2)
1515
{

git-bisect.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ bisect_state() {
155155
shift
156156
for rev in "$@"
157157
do
158-
rev=$(git rev-parse --verify "$rev^{commit}") ||
158+
sha=$(git rev-parse --verify "$rev^{commit}") ||
159159
die "Bad rev input: $rev"
160-
bisect_write "$state" "$rev"
160+
bisect_write "$state" "$sha"
161161
done ;;
162162
*,bad)
163163
die "'git bisect bad' can take only one argument." ;;

0 commit comments

Comments
 (0)