Merge branch 'maint'

* maint:
  Prepare for v1.6.1.1 maintenance release
  Documentation/diff-options.txt: unify options
  gitweb: Fix export check in git_get_projects_list

Conflicts:
	RelNotes
This commit is contained in:
Junio C Hamano 2008-12-29 01:18:34 -08:00
commit 373654ee0f
3 changed files with 30 additions and 16 deletions

View File

@ -0,0 +1,23 @@
GIT v1.6.1.1 Release Notes
==========================
Fixes since v1.6.1
------------------
* "git describe --all" complained when a commit is described with a tag,
which was nonsense.
* "git log --pretty=format:%s" did not handle a multi-line subject the
same way as built-in log listers (i.e. shortlog, --pretty=oneline, etc.)
* "git daemon", and "git merge-file" are more careful when freopen fails
and barf, instead of going on and writing to unopened filehandle.
Other documentation fixes.
---
exec >/var/tmp/1
O=v1.6.1-15-ga9e67c8
echo O=$(git describe maint)
git shortlog --no-merges $O..maint

View File

@ -19,16 +19,12 @@ endif::git-format-patch[]
ifndef::git-format-patch[] ifndef::git-format-patch[]
-p:: -p::
-u::
Generate patch (see section on generating patches). Generate patch (see section on generating patches).
{git-diff? This is the default.} {git-diff? This is the default.}
endif::git-format-patch[] endif::git-format-patch[]
-u::
Synonym for "-p".
-U<n>:: -U<n>::
Shorthand for "--unified=<n>".
--unified=<n>:: --unified=<n>::
Generate diffs with <n> lines of context instead of Generate diffs with <n> lines of context instead of
the usual three. Implies "-p". the usual three. Implies "-p".
@ -190,31 +186,25 @@ endif::git-format-patch[]
can name which subdirectory to make the output relative can name which subdirectory to make the output relative
to by giving a <path> as an argument. to by giving a <path> as an argument.
-a::
--text:: --text::
Treat all files as text. Treat all files as text.
-a::
Shorthand for "--text".
--ignore-space-at-eol:: --ignore-space-at-eol::
Ignore changes in whitespace at EOL. Ignore changes in whitespace at EOL.
-b::
--ignore-space-change:: --ignore-space-change::
Ignore changes in amount of whitespace. This ignores whitespace Ignore changes in amount of whitespace. This ignores whitespace
at line end, and considers all other sequences of one or at line end, and considers all other sequences of one or
more whitespace characters to be equivalent. more whitespace characters to be equivalent.
-b:: -w::
Shorthand for "--ignore-space-change".
--ignore-all-space:: --ignore-all-space::
Ignore whitespace when comparing lines. This ignores Ignore whitespace when comparing lines. This ignores
differences even if one line has whitespace where the other differences even if one line has whitespace where the other
line has none. line has none.
-w::
Shorthand for "--ignore-all-space".
--exit-code:: --exit-code::
Make the program exit with codes similar to diff(1). Make the program exit with codes similar to diff(1).
That is, it exits with 1 if there were differences and That is, it exits with 1 if there were differences and

View File

@ -2147,8 +2147,9 @@ sub git_get_projects_list {
my $subdir = substr($File::Find::name, $pfxlen + 1); my $subdir = substr($File::Find::name, $pfxlen + 1);
# we check related file in $projectroot # we check related file in $projectroot
if (check_export_ok("$projectroot/$filter/$subdir")) { my $path = ($filter ? "$filter/" : '') . $subdir;
push @list, { path => ($filter ? "$filter/" : '') . $subdir }; if (check_export_ok("$projectroot/$path")) {
push @list, { path => $path };
$File::Find::prune = 1; $File::Find::prune = 1;
} }
}, },