Merge branch 'master' into next

* master:
  Update draft release notes to 1.7.2
  Update draft release notes to 1.7.1.1
  tests: remove unnecessary '^' from 'expr' regular expression

Conflicts:
	t/t7006-pager.sh
This commit is contained in:
Junio C Hamano
2010-06-22 10:05:49 -07:00
5 changed files with 64 additions and 15 deletions

View File

@@ -28,6 +28,9 @@ Fixes since v1.7.1
* "git checkout" and "git rebase" overwrote paths that are marked "assume
unchanged".
* "git commit --amend" on a commit with an invalid author-name line that
lacks the display name didn't work.
* "git describe" did not tie-break tags that point at the same commit
correctly; newer ones are preferred by paying attention to the
tagger date now.
@@ -49,14 +52,25 @@ Fixes since v1.7.1
* "git log --abbrev=$num --format='%h' ignored --abbrev=$num.
* "git ls-files ../out/side/cwd" refused to work.
* "git merge --log" used to replace the custom message given by "-m" with
the shortlog, instead of appending to it.
* "git pull" accepted "--dry-run", gave it to underlying "git fetch" but
ignored the option itself, resulting in a bogus attempt to merge
unrelated commit.
* "git reset --hard" started from a wrong directory and a working tree in
a nonstandard location is in use got confused.
* "git send-email" lacked a way to specify the domainname used in the
EHLO/HELO exchange, causing rejected connection from picky servers.
It learned --smtp-domain option to solve this issue.
* "git show -C -C" and other corner cases lost diff metainfo output
in 1.7.0.
* "git stash" incorrectly lost paths in the working tree that were
previously removed from the index.
@@ -65,3 +79,10 @@ Fixes since v1.7.1
* "git status" showed excess "hints" even when advice.statusHints is set to false.
And other minor fixes and documentation updates.
--
exec >/var/tmp/1
O=v1.7.1-195-gb2ebbd8
echo O=$(git describe HEAD)
git shortlog --no-merges HEAD ^$O

View File

@@ -4,6 +4,11 @@ Git v1.7.2 Release Notes (draft)
Updates since v1.7.1
--------------------
* core.eol configuration and eol attribute are the new way to control
the end of line conventions for files in the working tree;
core.autocrlf overrides it, keeping the traditional behaviour by
default.
* The whitespace rules used in "git apply --whitespace" and "git diff"
gained a new member in the family (tab-in-indent) to help projects with
policy to indent only with spaces.
@@ -16,9 +21,19 @@ Updates since v1.7.1
environment variable can be used to tell git not to stop at a
filesystem boundary.
* Usage help messages generated by parse-options library (i.e. most
of the Porcelain commands) are sent to the standard output now.
* ':/<string>' notation to look for a commit now takes regular expression
and it is not anchored at the beginning of the commit log message
anymore (this is a backward incompatible change).
* "git" wrapper learned "-c name=value" option to override configuration
variable from the command line.
* Improved portability for various platforms including older SunOS,
HP-UX 10/11, AIX, Tru64, etc. and platforms with Python 2.4.
* The message from "git am -3" has been improved when conflict
resolution ended up making the patch a no-op.
@@ -26,8 +41,9 @@ Updates since v1.7.1
prepares to create a root commit that is not connected to any existing
commit.
* "git commit --amend" on a commit with an invalid author-name line that
lacks the display name didn't work (fb7749e4).
* "git cherry-pick" learned to pick a range of commits (e.g. "cherry-pick
A..B"); this does not have nicer sequencing control "rebase [-i]" has,
though.
* "git cvsserver" can be told to use pserver; its password file can be
stored outside the repository.
@@ -48,6 +64,10 @@ Updates since v1.7.1
* "git for-each-ref" learned "%(objectname:short)" that gives the object
name abbreviated.
* "git format-patch" learned --signature option and format.signature
configuration variable to customize the e-mail signature used in the
output.
* Various options to "git grep" (e.g. --count, --name-only) work better
with binary files.
@@ -56,7 +76,10 @@ Updates since v1.7.1
* "git log --follow <path>" follows across copies (it used to only follow
renames). This may make the processing more expensive.
* "git ls-files ../out/side/cwd" works now.
* "git log --pretty=format:<template>" specifier learned "% <something>"
magic that inserts a space only when %<something> expands to a
non-empty string; this is similar to "%+<something>" magic, but is
useful in a context to generate a single line output.
* "git notes prune" learned "-n" (dry-run) and "-v" options, similar to
what "git prune" has.
@@ -68,12 +91,17 @@ Updates since v1.7.1
* "git revert" learned --strategy option to specify the merge strategy.
* "git rev-list A..B" learned --ancestry-path option to further limit
the result to the commits that are on the ancestry chain between A and
B (i.e. commits that are not descendants of A are excluded).
* "git status [-s] --ignored" can be used to list ignored paths.
* "git status -s -b" shows the current branch in the output.
* Various "gitweb" enhancements and clean-ups, including syntax
highlighting, "plackup" support for instaweb, etc.
highlighting, "plackup" support for instaweb, .fcgi suffix to run
it as FastCGI script, etc.
Fixes since v1.7.1
@@ -85,31 +113,32 @@ release, unless otherwise noted.
* We didn't URL decode "file:///path/to/repo" correctly when path/to/repo
had percent-encoded characters (638794c, 9d2e942).
* "git commit" did not honor GIT_REFLOG_ACTION environment variable, resulting
reflog messages for cherry-pick and revert actions to be recorded as "commit".
* "git clone/fetch/pull" issued an incorrect error message when a ref and
a symref that points to the ref were updated at the same time. This
obviously would update them to the same value, and should not result in
an error condition (7223dcaf).
an error condition (0e71bc3).
* "git clone" did not configure remote.origin.url correctly for bare
clones (df61c889).
* "git diff" inside a tree with many pathnames that have certain
characters has become very slow in 1.7.0 by mistake (will merge
e53e6b443 to 'maint').
* "git diff --graph" works better with "--color-words" and other options
(81fa024..4297c0a).
* "git diff" could show ambiguous abbreviation of blob object names on
its "index" line (3e5a188).
* "git merge --log" used to replace the custom message given by "-m" with
the shortlog, instead of appending to it (tc/merge-m-log).
* "git reset --hard" started from a wrong directory and a working tree in
a nonstandard location is in use got confused (560fb6a1).
* "git show -C -C" and other corner cases lost diff metainfo output
in 1.7.0 (296c6bb).
--
exec >/var/tmp/1
O=v1.7.1-423-gae391ec
O=v1.7.1-568-g2c177a1
echo O=$(git describe HEAD)
git shortlog --no-merges HEAD ^maint ^$O

1
diff.c
View File

@@ -2620,7 +2620,6 @@ static void fill_metainfo(struct strbuf *msg,
}
/* fallthru */
default:
/* nothing */
*must_show_header = 0;
}
if (one && two && hashcmp(one->sha1, two->sha1)) {

View File

@@ -13,7 +13,7 @@ test_expect_success 'determine default editor' '
'
if ! expr "$vi" : '^[a-z]*$' >/dev/null
if ! expr "$vi" : '[a-z]*$' >/dev/null
then
vi=
fi

View File

@@ -110,7 +110,7 @@ test_expect_success TTY 'no pager with --no-pager' '
# for the first color; the text "commit" comes later.
colorful() {
read firstline <$1
! expr "$firstline" : "^[a-zA-Z]" >/dev/null
! expr "$firstline" : "[a-zA-Z]" >/dev/null
}
test_expect_success 'tests can detect color' '