Skip to content

Commit b61f55b

Browse files
committed
Merge branch 'maint'
* maint: t/perf: add "trash directory" to .gitignore Add missing -z to git check-attr usage text for consistency with man page git-jump: ignore (custom) prefix in diff mode Documentation: indent-with-non-tab uses "equivalent tabs" not 8 completion: add --no-edit to git-commit
2 parents 26f4f2c + 5805853 commit b61f55b

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

Documentation/config.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,9 @@ core.whitespace::
559559
* `space-before-tab` treats a space character that appears immediately
560560
before a tab character in the initial indent part of the line as an
561561
error (enabled by default).
562-
* `indent-with-non-tab` treats a line that is indented with 8 or more
563-
space characters as an error (not enabled by default).
562+
* `indent-with-non-tab` treats a line that is indented with space
563+
characters instead of the equivalent tabs as an error (not enabled by
564+
default).
564565
* `tab-in-indent` treats a tab character in the initial indent part of
565566
the line as an error (not enabled by default).
566567
* `blank-at-eof` treats blank lines added at the end of file as an error

builtin/check-attr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ static int cached_attrs;
99
static int stdin_paths;
1010
static const char * const check_attr_usage[] = {
1111
N_("git check-attr [-a | --all | attr...] [--] pathname..."),
12-
N_("git check-attr --stdin [-a | --all | attr...] < <list-of-paths>"),
12+
N_("git check-attr --stdin [-z] [-a | --all | attr...] < <list-of-paths>"),
1313
NULL
1414
};
1515

contrib/completion/git-completion.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,8 @@ _git_commit ()
10181018
--*)
10191019
__gitcomp "
10201020
--all --author= --signoff --verify --no-verify
1021-
--edit --amend --include --only --interactive
1021+
--edit --no-edit
1022+
--amend --include --only --interactive
10221023
--dry-run --reuse-message= --reedit-message=
10231024
--reset-author --file= --message= --template=
10241025
--cleanup= --untracked-files --untracked-files=

contrib/git-jump/git-jump

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ open_editor() {
2121
}
2222

2323
mode_diff() {
24-
git diff --relative "$@" |
24+
git diff --no-prefix --relative "$@" |
2525
perl -ne '
26-
if (m{^\+\+\+ b/(.*)}) { $file = $1; next }
26+
if (m{^\+\+\+ (.*)}) { $file = $1; next }
2727
defined($file) or next;
2828
if (m/^@@ .*\+(\d+)/) { $line = $1; next }
2929
defined($line) or next;

t/perf/.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
build/
2-
test-results/
1+
/build/
2+
/test-results/
3+
/trash directory*/

0 commit comments

Comments
 (0)