Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  Start preparing for 1.5.1.2
  git-svn: quiet some warnings when run only with --version/--help
  git-svn: respect lower bound of -r/--revision when following parent

Conflicts:

	RelNotes
  • Loading branch information
Junio C Hamano committed Apr 18, 2007
2 parents c182ec9 + ab60294 commit 86da9de
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
37 changes: 37 additions & 0 deletions Documentation/RelNotes-1.5.1.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
GIT v1.5.1.2 Release Notes (draft)
==========================

Fixes since v1.5.1.1
--------------------

* Bugfixes

- "git diff a/ b/" incorrectly fell in "diff between two
filesystem objects" codepath, when the user most likely
wanted to limit the extent of output to two tracked
directories.

- git-quiltimport had the same bug as we fixed for
git-applymbox in v1.5.1.1 -- it gave an alarming "did not
have any patch" message (but did not actually fail and was
harmless).

- various git-svn fixes.

- Sample update hook incorrectly always refused requests to
delete branches through push.

- git-blame on a very long working tree path had buffer
overrun problem.

* Documentation updates

- Various documentation updates from J. Bruce Fields, Frank
Lichtenheld, Alex Riesen and others. Andrew Ruder started a
war on undocumented options.

---
exec >/var/tmp/1
O=v1.5.1.1-31-g0220f1e
echo O=`git describe refs/heads/maint`
git shortlog --no-merges $O..refs/heads/maint
9 changes: 6 additions & 3 deletions git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,14 @@ BEGIN
my %opts = %{$cmd{$cmd}->[2]} if (defined $cmd);

read_repo_config(\%opts);
Getopt::Long::Configure('pass_through') if $cmd eq 'log';
Getopt::Long::Configure('pass_through') if ($cmd && $cmd eq 'log');
my $rv = GetOptions(%opts, 'help|H|h' => \$_help, 'version|V' => \$_version,
'minimize-connections' => \$Git::SVN::Migration::_minimize,
'id|i=s' => \$Git::SVN::default_ref_id,
'svn-remote|remote|R=s' => sub {
$Git::SVN::no_reuse_existing = 1;
$Git::SVN::default_repo_id = $_[1] });
exit 1 if (!$rv && $cmd ne 'log');
exit 1 if (!$rv && $cmd && $cmd ne 'log');

usage(0) if $_help;
version() if $_version;
Expand Down Expand Up @@ -1682,7 +1682,10 @@ sub find_parent_branch {
}
my ($r0, $parent) = $gs->find_rev_before($r, 1);
if (!defined $r0 || !defined $parent) {
$gs->fetch(0, $r);
my ($base, $head) = parse_revision_argument(0, $r);
if ($base <= $r) {
$gs->fetch($base, $r);
}
($r0, $parent) = $gs->last_rev_commit;
}
if (defined $r0 && defined $parent) {
Expand Down

0 comments on commit 86da9de

Please sign in to comment.