зеркало из https://github.com/microsoft/git.git
Fix spelling errors in messages shown to users
Reported-by: Jens Schleusener <Jens.Schleusener@fossies.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
4dc8b1c114
Коммит
96c0caf5e3
|
@ -54,7 +54,7 @@ if __name__ == "__main__":
|
||||||
print("usage: %s dump URL -rLOWER:UPPER")
|
print("usage: %s dump URL -rLOWER:UPPER")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
if not sys.argv[1] == 'dump':
|
if not sys.argv[1] == 'dump':
|
||||||
raise NotImplementedError('only "dump" is suppported.')
|
raise NotImplementedError('only "dump" is supported.')
|
||||||
url = sys.argv[2]
|
url = sys.argv[2]
|
||||||
r = ('0', 'HEAD')
|
r = ('0', 'HEAD')
|
||||||
if len(sys.argv) == 4 and sys.argv[3][0:2] == '-r':
|
if len(sys.argv) == 4 and sys.argv[3][0:2] == '-r':
|
||||||
|
|
|
@ -600,7 +600,7 @@ my $cvs = CVSconn->new($opt_d, $cvs_tree);
|
||||||
sub pdate($) {
|
sub pdate($) {
|
||||||
my ($d) = @_;
|
my ($d) = @_;
|
||||||
m#(\d{2,4})/(\d\d)/(\d\d)\s(\d\d):(\d\d)(?::(\d\d))?#
|
m#(\d{2,4})/(\d\d)/(\d\d)\s(\d\d):(\d\d)(?::(\d\d))?#
|
||||||
or die "Unparseable date: $d\n";
|
or die "Unparsable date: $d\n";
|
||||||
my $y=$1;
|
my $y=$1;
|
||||||
$y+=100 if $y<70;
|
$y+=100 if $y<70;
|
||||||
$y+=1900 if $y<1000;
|
$y+=1900 if $y<1000;
|
||||||
|
|
2
help.c
2
help.c
|
@ -34,7 +34,7 @@ static struct category_description main_categories[] = {
|
||||||
{ CAT_foreignscminterface, N_("Interacting with Others") },
|
{ CAT_foreignscminterface, N_("Interacting with Others") },
|
||||||
{ CAT_plumbingmanipulators, N_("Low-level Commands / Manipulators") },
|
{ CAT_plumbingmanipulators, N_("Low-level Commands / Manipulators") },
|
||||||
{ CAT_plumbinginterrogators, N_("Low-level Commands / Interrogators") },
|
{ CAT_plumbinginterrogators, N_("Low-level Commands / Interrogators") },
|
||||||
{ CAT_synchingrepositories, N_("Low-level Commands / Synching Repositories") },
|
{ CAT_synchingrepositories, N_("Low-level Commands / Syncing Repositories") },
|
||||||
{ CAT_purehelpers, N_("Low-level Commands / Internal Helpers") },
|
{ CAT_purehelpers, N_("Low-level Commands / Internal Helpers") },
|
||||||
{ 0, NULL }
|
{ 0, NULL }
|
||||||
};
|
};
|
||||||
|
|
|
@ -51,7 +51,7 @@ oldtime=$(echo "$oldtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
|
||||||
newtime=$(echo "$newtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
|
newtime=$(echo "$newtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
|
||||||
|
|
||||||
test $(echo "$newtime" "$oldtime" | awk '{ print ($1 > $2) }') = 1 ||
|
test $(echo "$newtime" "$oldtime" | awk '{ print ($1 > $2) }') = 1 ||
|
||||||
die "New time '$newtime' shoud be greater than old time '$oldtime'"
|
die "New time '$newtime' should be greater than old time '$oldtime'"
|
||||||
|
|
||||||
tmpdir=$(mktemp -d -t bisect_regression_XXXXXX) || die "Failed to create temp directory"
|
tmpdir=$(mktemp -d -t bisect_regression_XXXXXX) || die "Failed to create temp directory"
|
||||||
echo "$oldtime" >"$tmpdir/oldtime" || die "Failed to write to '$tmpdir/oldtime'"
|
echo "$oldtime" >"$tmpdir/oldtime" || die "Failed to write to '$tmpdir/oldtime'"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче