File tree Expand file tree Collapse file tree 5 files changed +11
-8
lines changed Expand file tree Collapse file tree 5 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -559,8 +559,9 @@ core.whitespace::
559
559
* `space-before-tab` treats a space character that appears immediately
560
560
before a tab character in the initial indent part of the line as an
561
561
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).
564
565
* `tab-in-indent` treats a tab character in the initial indent part of
565
566
the line as an error (not enabled by default).
566
567
* `blank-at-eof` treats blank lines added at the end of file as an error
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ static int cached_attrs;
9
9
static int stdin_paths ;
10
10
static const char * const check_attr_usage [] = {
11
11
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>" ),
13
13
NULL
14
14
};
15
15
Original file line number Diff line number Diff line change @@ -1018,7 +1018,8 @@ _git_commit ()
1018
1018
--* )
1019
1019
__gitcomp "
1020
1020
--all --author= --signoff --verify --no-verify
1021
- --edit --amend --include --only --interactive
1021
+ --edit --no-edit
1022
+ --amend --include --only --interactive
1022
1023
--dry-run --reuse-message= --reedit-message=
1023
1024
--reset-author --file= --message= --template=
1024
1025
--cleanup= --untracked-files --untracked-files=
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ open_editor() {
21
21
}
22
22
23
23
mode_diff () {
24
- git diff --relative " $@ " |
24
+ git diff --no-prefix -- relative " $@ " |
25
25
perl -ne '
26
- if (m{^\+\+\+ b/ (.*)}) { $file = $1; next }
26
+ if (m{^\+\+\+ (.*)}) { $file = $1; next }
27
27
defined($file) or next;
28
28
if (m/^@@ .*\+(\d+)/) { $line = $1; next }
29
29
defined($line) or next;
Original file line number Diff line number Diff line change 1
- build /
2
- test-results /
1
+ /build /
2
+ /test-results /
3
+ /trash directory * /
You can’t perform that action at this time.
0 commit comments