mirror of
https://github.com/git/git.git
synced 2026-02-18 05:39:11 +00:00
Merge branch 'master' into next
* master: The seventh batch for 1.8.0 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
This commit is contained in:
@@ -116,6 +116,35 @@ Unless otherwise noted, all the fixes since v1.7.12 in the
|
||||
maintenance track are contained in this release (see release notes
|
||||
to them for details).
|
||||
|
||||
* "git blame MAKEFILE" run in a history that has "Makefile" but not
|
||||
"MAKEFILE" should say "No such file MAKEFILE in HEAD", but got
|
||||
confused on a case insensitive filesystem and failed to do so.
|
||||
(merge 9aeaab6 jc/maint-blame-no-such-path later to maint).
|
||||
|
||||
* Even during a conflicted merge, "git blame $path" always meant to
|
||||
blame uncommitted changes to the "working tree" version; make it
|
||||
more useful by showing cleanly merged parts as coming from the other
|
||||
branch that is being merged.
|
||||
(merge 9aeaab6 jc/maint-blame-no-such-path later to maint).
|
||||
|
||||
* Documentation talked about "first line of commit log" when it meant
|
||||
the title of the commit. The description was clarified by defining
|
||||
how the title is decided and rewording the casual mention of "first
|
||||
line" to "title".
|
||||
(merge 52ffe99 jw/doc-commit-title later to maint).
|
||||
|
||||
* The attribute system may be asked for a path that itself or its
|
||||
leading directories no longer exists in the working tree. Failure
|
||||
to open per-directory .gitattributes with error status other than
|
||||
ENOENT and ENOTDIR are diagnosed.
|
||||
(merge 8e950da jk/config-warn-on-inaccessible-paths later to maint).
|
||||
|
||||
* Earlier we made the diffstat summary line that shows the number of
|
||||
lines added/deleted localizable, but it was found irritating having
|
||||
to see them in various languages on a list whose discussion language
|
||||
is English.
|
||||
(merge 218adaa nd/maint-diffstat-summary later to maint).
|
||||
|
||||
* "git fetch --all", when passed "--no-tags", did not honor the
|
||||
"--no-tags" option while fetching from individual remotes (the same
|
||||
issue existed with "--tags", but combination "--all --tags" makes
|
||||
|
||||
@@ -559,8 +559,9 @@ core.whitespace::
|
||||
* `space-before-tab` treats a space character that appears immediately
|
||||
before a tab character in the initial indent part of the line as an
|
||||
error (enabled by default).
|
||||
* `indent-with-non-tab` treats a line that is indented with 8 or more
|
||||
space characters as an error (not enabled by default).
|
||||
* `indent-with-non-tab` treats a line that is indented with space
|
||||
characters instead of the equivalent tabs as an error (not enabled by
|
||||
default).
|
||||
* `tab-in-indent` treats a tab character in the initial indent part of
|
||||
the line as an error (not enabled by default).
|
||||
* `blank-at-eof` treats blank lines added at the end of file as an error
|
||||
|
||||
@@ -9,7 +9,7 @@ static int cached_attrs;
|
||||
static int stdin_paths;
|
||||
static const char * const check_attr_usage[] = {
|
||||
N_("git check-attr [-a | --all | attr...] [--] pathname..."),
|
||||
N_("git check-attr --stdin [-a | --all | attr...] < <list-of-paths>"),
|
||||
N_("git check-attr --stdin [-z] [-a | --all | attr...] < <list-of-paths>"),
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
@@ -1018,7 +1018,8 @@ _git_commit ()
|
||||
--*)
|
||||
__gitcomp "
|
||||
--all --author= --signoff --verify --no-verify
|
||||
--edit --amend --include --only --interactive
|
||||
--edit --no-edit
|
||||
--amend --include --only --interactive
|
||||
--dry-run --reuse-message= --reedit-message=
|
||||
--reset-author --file= --message= --template=
|
||||
--cleanup= --untracked-files --untracked-files=
|
||||
|
||||
@@ -21,9 +21,9 @@ open_editor() {
|
||||
}
|
||||
|
||||
mode_diff() {
|
||||
git diff --relative "$@" |
|
||||
git diff --no-prefix --relative "$@" |
|
||||
perl -ne '
|
||||
if (m{^\+\+\+ b/(.*)}) { $file = $1; next }
|
||||
if (m{^\+\+\+ (.*)}) { $file = $1; next }
|
||||
defined($file) or next;
|
||||
if (m/^@@ .*\+(\d+)/) { $line = $1; next }
|
||||
defined($line) or next;
|
||||
|
||||
5
t/perf/.gitignore
vendored
5
t/perf/.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
build/
|
||||
test-results/
|
||||
/build/
|
||||
/test-results/
|
||||
/trash directory*/
|
||||
|
||||
Reference in New Issue
Block a user