Skip to content

Commit b71ce7f

Browse files
committed
Merge 1.5.5.3 in
2 parents 37b78c2 + 28bc302 commit b71ce7f

File tree

7 files changed

+24
-18
lines changed

7 files changed

+24
-18
lines changed

Documentation/RelNotes-1.5.5.3.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
GIT v1.5.5.3 Release Notes
2+
==========================
3+
4+
Fixes since v1.5.5.2
5+
--------------------
6+
7+
* "git send-email --compose" did not notice that non-ascii contents
8+
needed some MIME magic.
9+
10+
* "git fast-export" did not export octopus merges correctly.
11+
12+
Also comes with various documentation updates.

Documentation/git-bundle.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-bundle - Move objects and refs by archive
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git-bundle' create <file> [git-rev-list args]
12+
'git-bundle' create <file> <git-rev-list args>
1313
'git-bundle' verify <file>
1414
'git-bundle' list-heads <file> [refname...]
1515
'git-bundle' unbundle <file> [refname...]

Documentation/git.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ Documentation for older releases are available here:
4646
* link:v1.5.5/git.html[documentation for release 1.5.5]
4747

4848
* release notes for
49+
link:RelNotes-1.5.5.3.txt[1.5.5.3],
4950
link:RelNotes-1.5.5.2.txt[1.5.5.2],
5051
link:RelNotes-1.5.5.1.txt[1.5.5.1],
5152
link:RelNotes-1.5.5.txt[1.5.5].
5253

53-
* link:v1.5.5.2/git.html[documentation for release 1.5.5.2]
54+
* link:v1.5.5.3/git.html[documentation for release 1.5.5.3]
5455

5556
* link:v1.5.4.5/git.html[documentation for release 1.5.4.5]
5657

builtin-commit.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ static char *prepare_index(int argc, const char **argv, const char *prefix)
223223

224224
if (interactive) {
225225
interactive_add(argc, argv, prefix);
226+
if (read_cache() < 0)
227+
die("index file corrupt");
226228
commit_style = COMMIT_AS_IS;
227229
return get_index_file();
228230
}

git-filter-branch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ case "$filter_subdir" in
234234
;;
235235
*)
236236
git rev-list --reverse --topo-order --default HEAD \
237-
--parents --full-history "$@" -- "$filter_subdir"
237+
--parents "$@" -- "$filter_subdir"
238238
esac > ../revs || die "Could not get the commits"
239239
commits=$(wc -l <../revs | tr -d " ")
240240

gitweb/gitweb.perl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2756,7 +2756,7 @@ sub git_print_page_nav {
27562756
}
27572757

27582758
sub format_paging_nav {
2759-
my ($action, $hash, $head, $page, $nrevs) = @_;
2759+
my ($action, $hash, $head, $page, $has_next_link) = @_;
27602760
my $paging_nav;
27612761

27622762

@@ -2774,7 +2774,7 @@ sub format_paging_nav {
27742774
$paging_nav .= " &sdot; prev";
27752775
}
27762776

2777-
if ($nrevs >= (100 * ($page+1)-1)) {
2777+
if ($has_next_link) {
27782778
$paging_nav .= " &sdot; " .
27792779
$cgi->a({-href => href(-replay=>1, page=>$page+1),
27802780
-accesskey => "n", -title => "Alt-n"}, "next");
@@ -4665,7 +4665,7 @@ sub git_log {
46654665

46664666
my @commitlist = parse_commits($hash, 101, (100 * $page));
46674667

4668-
my $paging_nav = format_paging_nav('log', $hash, $head, $page, (100 * ($page+1)));
4668+
my $paging_nav = format_paging_nav('log', $hash, $head, $page, $#commitlist >= 100);
46694669

46704670
git_header_html();
46714671
git_print_page_nav('log','', $hash,undef,undef, $paging_nav);
@@ -5585,7 +5585,7 @@ sub git_shortlog {
55855585

55865586
my @commitlist = parse_commits($hash, 101, (100 * $page));
55875587

5588-
my $paging_nav = format_paging_nav('shortlog', $hash, $head, $page, (100 * ($page+1)));
5588+
my $paging_nav = format_paging_nav('shortlog', $hash, $head, $page, $#commitlist >= 100);
55895589
my $next_link = '';
55905590
if ($#commitlist >= 100) {
55915591
$next_link =

t/t7003-filter-branch.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ test_expect_success 'subdirectory filter result looks okay' '
9797
test_must_fail git show sub:subdir
9898
'
9999

100-
test_expect_success 'setup and filter history that requires --full-history' '
100+
test_expect_success 'more setup' '
101101
git checkout master &&
102102
mkdir subdir &&
103103
echo A > subdir/new &&
@@ -107,16 +107,7 @@ test_expect_success 'setup and filter history that requires --full-history' '
107107
git rm a &&
108108
test_tick &&
109109
git commit -m "again subdir on master" &&
110-
git merge branch &&
111-
git branch sub-master &&
112-
git-filter-branch -f --subdirectory-filter subdir sub-master
113-
'
114-
115-
test_expect_success 'subdirectory filter result looks okay' '
116-
test 3 = $(git rev-list -1 --parents sub-master | wc -w) &&
117-
git show sub-master^:new &&
118-
git show sub-master^2:new &&
119-
test_must_fail git show sub:subdir
110+
git merge branch
120111
'
121112

122113
test_expect_success 'use index-filter to move into a subdirectory' '

0 commit comments

Comments
 (0)