Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Junio C Hamano committed Dec 29, 2008
2 parents 9c6c304 + 936b705 commit 373654e
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 16 deletions.
23 changes: 23 additions & 0 deletions Documentation/RelNotes-1.6.1.1.txt
Original file line number Diff line number Diff line change
@@ -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

18 changes: 4 additions & 14 deletions Documentation/diff-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,12 @@ endif::git-format-patch[]

ifndef::git-format-patch[]
-p::
-u::
Generate patch (see section on generating patches).
{git-diff? This is the default.}
endif::git-format-patch[]

-u::
Synonym for "-p".

-U<n>::
Shorthand for "--unified=<n>".

--unified=<n>::
Generate diffs with <n> lines of context instead of
the usual three. Implies "-p".
Expand Down Expand Up @@ -190,31 +186,25 @@ endif::git-format-patch[]
can name which subdirectory to make the output relative
to by giving a <path> as an argument.

-a::
--text::
Treat all files as text.

-a::
Shorthand for "--text".

--ignore-space-at-eol::
Ignore changes in whitespace at EOL.

-b::
--ignore-space-change::
Ignore changes in amount of whitespace. This ignores whitespace
at line end, and considers all other sequences of one or
more whitespace characters to be equivalent.

-b::
Shorthand for "--ignore-space-change".

-w::
--ignore-all-space::
Ignore whitespace when comparing lines. This ignores
differences even if one line has whitespace where the other
line has none.

-w::
Shorthand for "--ignore-all-space".

--exit-code::
Make the program exit with codes similar to diff(1).
That is, it exits with 1 if there were differences and
Expand Down
5 changes: 3 additions & 2 deletions gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -2147,8 +2147,9 @@ sub git_get_projects_list {

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

0 comments on commit 373654e

Please sign in to comment.