Merge branch 'maint'
* maint: GIT v1.5.1.3 send-email documentation: clarify --smtp-server git.7: Mention preformatted html doc location Clarify SubmittingPatches Checklist git-svn: Add 'find-rev' command Fix symlink handling in git-svn, related to PerlIO
This commit is contained in:
commit
07c785dbb7
@ -1,4 +1,4 @@
|
|||||||
GIT v1.5.1.3 Release Notes (draft)
|
GIT v1.5.1.3 Release Notes
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
Fixes since v1.5.1.2
|
Fixes since v1.5.1.2
|
||||||
@ -19,6 +19,8 @@ Fixes since v1.5.1.2
|
|||||||
- git-svn inconsistently stripped away username from the URL
|
- git-svn inconsistently stripped away username from the URL
|
||||||
only when svnsync_props was in use.
|
only when svnsync_props was in use.
|
||||||
|
|
||||||
|
- git-svn got confused when handling symlinks on Mac OS.
|
||||||
|
|
||||||
- git-send-email was not quoting recipient names that have
|
- git-send-email was not quoting recipient names that have
|
||||||
period '.' in them. Also it did not allow overriding
|
period '.' in them. Also it did not allow overriding
|
||||||
envelope sender, which made it impossible to send patches to
|
envelope sender, which made it impossible to send patches to
|
||||||
@ -31,8 +33,14 @@ Fixes since v1.5.1.2
|
|||||||
packfiles incorrectly closed the fd that was still being
|
packfiles incorrectly closed the fd that was still being
|
||||||
used to read the pack.
|
used to read the pack.
|
||||||
|
|
||||||
---
|
- import-tars contributed front-end for fastimport was passing
|
||||||
exec >/var/tmp/1
|
wrong directory modes without checking.
|
||||||
O=v1.5.1.2-23-gbf7af11
|
|
||||||
echo O=`git describe refs/heads/maint`
|
- git-fastimport trusted its input too much and allowed to
|
||||||
git shortlog --no-merges $O..refs/heads/maint
|
create corrupt tree objects with entries without a name.
|
||||||
|
|
||||||
|
- git-fetch needlessly barfed when too long reflog action
|
||||||
|
description was given by the caller.
|
||||||
|
|
||||||
|
Also contains various documentation updates.
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
Checklist (and a short version for the impatient):
|
Checklist (and a short version for the impatient):
|
||||||
|
|
||||||
|
Commits:
|
||||||
|
|
||||||
- make commits of logical units
|
- make commits of logical units
|
||||||
- check for unnecessary whitespace with "git diff --check"
|
- check for unnecessary whitespace with "git diff --check"
|
||||||
before committing
|
before committing
|
||||||
@ -12,8 +14,14 @@ Checklist (and a short version for the impatient):
|
|||||||
commit message (or just use the option "-s" when
|
commit message (or just use the option "-s" when
|
||||||
committing) to confirm that you agree to the Developer's
|
committing) to confirm that you agree to the Developer's
|
||||||
Certificate of Origin
|
Certificate of Origin
|
||||||
- do not PGP sign your patch
|
|
||||||
|
Patch:
|
||||||
|
|
||||||
- use "git format-patch -M" to create the patch
|
- use "git format-patch -M" to create the patch
|
||||||
|
- send your patch to <git@vger.kernel.org>. If you use
|
||||||
|
git-send-email(1), please test it first by sending
|
||||||
|
email to yourself.
|
||||||
|
- do not PGP sign your patch
|
||||||
- do not attach your patch, but read in the mail
|
- do not attach your patch, but read in the mail
|
||||||
body, unless you cannot teach your mailer to
|
body, unless you cannot teach your mailer to
|
||||||
leave the formatting of the patch alone.
|
leave the formatting of the patch alone.
|
||||||
|
@ -68,8 +68,9 @@ The --cc option must be repeated for each user you want on the cc list.
|
|||||||
all that is output.
|
all that is output.
|
||||||
|
|
||||||
--smtp-server::
|
--smtp-server::
|
||||||
If set, specifies the outgoing SMTP server to use. A full
|
If set, specifies the outgoing SMTP server to use (e.g.
|
||||||
pathname of a sendmail-like program can be specified instead;
|
`smtp.example.com` or a raw IP address). Alternatively it can
|
||||||
|
specify a full pathname of a sendmail-like program instead;
|
||||||
the program must support the `-i` option. Default value can
|
the program must support the `-i` option. Default value can
|
||||||
be specified by the 'sendemail.smtpserver' configuration
|
be specified by the 'sendemail.smtpserver' configuration
|
||||||
option; the built-in default is `/usr/sbin/sendmail` or
|
option; the built-in default is `/usr/sbin/sendmail` or
|
||||||
|
@ -161,8 +161,9 @@ Any other arguments are passed directly to `git log'
|
|||||||
--
|
--
|
||||||
'find-rev'::
|
'find-rev'::
|
||||||
When given an SVN revision number of the form 'rN', returns the
|
When given an SVN revision number of the form 'rN', returns the
|
||||||
corresponding git commit hash. When given a tree-ish, returns the
|
corresponding git commit hash (this can optionally be followed by a
|
||||||
corresponding SVN revision number.
|
tree-ish to specify which branch should be searched). When given a
|
||||||
|
tree-ish, returns the corresponding SVN revision number.
|
||||||
|
|
||||||
'set-tree'::
|
'set-tree'::
|
||||||
You should consider using 'dcommit' instead of this command.
|
You should consider using 'dcommit' instead of this command.
|
||||||
|
@ -29,6 +29,10 @@ in a coherent way to git enlightenment ;-).
|
|||||||
The COMMAND is either a name of a Git command (see below) or an alias
|
The COMMAND is either a name of a Git command (see below) or an alias
|
||||||
as defined in the configuration file (see gitlink:git-config[1]).
|
as defined in the configuration file (see gitlink:git-config[1]).
|
||||||
|
|
||||||
|
Formatted and hyperlinked version of the latest git
|
||||||
|
documentation can be viewed at
|
||||||
|
`http://www.kernel.org/pub/software/scm/git/docs/`.
|
||||||
|
|
||||||
ifdef::stalenotes[]
|
ifdef::stalenotes[]
|
||||||
[NOTE]
|
[NOTE]
|
||||||
============
|
============
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
GVF=GIT-VERSION-FILE
|
GVF=GIT-VERSION-FILE
|
||||||
DEF_VER=v1.5.1.2.GIT
|
DEF_VER=v1.5.1.3.GIT
|
||||||
|
|
||||||
LF='
|
LF='
|
||||||
'
|
'
|
||||||
|
23
git-svn.perl
23
git-svn.perl
@ -434,17 +434,16 @@ sub cmd_find_rev {
|
|||||||
my $revision_or_hash = shift;
|
my $revision_or_hash = shift;
|
||||||
my $result;
|
my $result;
|
||||||
if ($revision_or_hash =~ /^r\d+$/) {
|
if ($revision_or_hash =~ /^r\d+$/) {
|
||||||
|
my $head = shift;
|
||||||
|
$head ||= 'HEAD';
|
||||||
|
my @refs;
|
||||||
|
my (undef, undef, undef, $gs) = working_head_info($head, \@refs);
|
||||||
|
unless ($gs) {
|
||||||
|
die "Unable to determine upstream SVN information from ",
|
||||||
|
"$head history\n";
|
||||||
|
}
|
||||||
my $desired_revision = substr($revision_or_hash, 1);
|
my $desired_revision = substr($revision_or_hash, 1);
|
||||||
my ($fh, $ctx) = command_output_pipe('rev-list', 'HEAD');
|
$result = $gs->rev_db_get($desired_revision);
|
||||||
while (my $hash = <$fh>) {
|
|
||||||
chomp($hash);
|
|
||||||
my (undef, $rev, undef) = cmt_metadata($hash);
|
|
||||||
if ($rev && $rev eq $desired_revision) {
|
|
||||||
$result = $hash;
|
|
||||||
last;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
command_close_pipe($fh, $ctx);
|
|
||||||
} else {
|
} else {
|
||||||
my (undef, $rev, undef) = cmt_metadata($revision_or_hash);
|
my (undef, $rev, undef) = cmt_metadata($revision_or_hash);
|
||||||
$result = $rev;
|
$result = $rev;
|
||||||
@ -2470,9 +2469,9 @@ sub close_file {
|
|||||||
my $got = $md5->hexdigest;
|
my $got = $md5->hexdigest;
|
||||||
die "Checksum mismatch: $path\n",
|
die "Checksum mismatch: $path\n",
|
||||||
"expected: $exp\n got: $got\n" if ($got ne $exp);
|
"expected: $exp\n got: $got\n" if ($got ne $exp);
|
||||||
seek($fh, 0, 0) or croak $!;
|
sysseek($fh, 0, 0) or croak $!;
|
||||||
if ($fb->{mode_b} == 120000) {
|
if ($fb->{mode_b} == 120000) {
|
||||||
read($fh, my $buf, 5) == 5 or croak $!;
|
sysread($fh, my $buf, 5) == 5 or croak $!;
|
||||||
$buf eq 'link ' or die "$path has mode 120000",
|
$buf eq 'link ' or die "$path has mode 120000",
|
||||||
"but is not a link\n";
|
"but is not a link\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user