Skip to content

Commit b387c77

Browse files
committed
Sync with v1.8.2.3
* maint: Git 1.8.2.3 t5004: avoid using tar for checking emptiness of archive t5004: ignore pax global header file mergetools/kdiff3: do not use --auto when diffing transport-helper: trivial style cleanup
2 parents faf8fde + 92758dd commit b387c77

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
lines changed

Documentation/RelNotes/1.8.2.3.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Git v1.8.2.3 Release Notes
2+
==========================
3+
4+
Fixes since v1.8.2.2
5+
--------------------
6+
7+
* "rev-list --stdin" and friends kept bogus pointers into the input
8+
buffer around as human readable object names. This was not a
9+
huge problem but was exposed by a new change that uses these
10+
names in error output.
11+
12+
* When "git difftool" drove "kdiff3", it mistakenly passed --auto
13+
option that was meant while resolving merge conflicts.
14+
15+
* "git remote add" command did not diagnose extra command line
16+
arguments as an error and silently ignored them.
17+
18+
Also contains a handful of trivial code clean-ups, documentation
19+
updates, updates to the test suite, etc.

Documentation/git.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ unreleased) version of Git, that is available from 'master'
4343
branch of the `git.git` repository.
4444
Documentation for older releases are available here:
4545

46-
* link:v1.8.2.2/git.html[documentation for release 1.8.2.2]
46+
* link:v1.8.2.3/git.html[documentation for release 1.8.2.3]
4747

4848
* release notes for
49+
link:RelNotes/1.8.2.3.txt[1.8.2.3].
4950
link:RelNotes/1.8.2.2.txt[1.8.2.2].
5051
link:RelNotes/1.8.2.1.txt[1.8.2.1].
5152
link:RelNotes/1.8.2.txt[1.8.2].

mergetools/kdiff3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff_cmd () {
2-
"$merge_tool_path" --auto \
2+
"$merge_tool_path" \
33
--L1 "$MERGED (A)" --L2 "$MERGED (B)" \
44
"$LOCAL" "$REMOTE" >/dev/null 2>&1
55
}

t/t5004-archive-corner-cases.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@ check_dir() {
2323
echo "$dir/$i"
2424
done
2525
} | sort >expect &&
26-
find "$dir" -print | sort >actual &&
26+
find "$dir" ! -name pax_global_header -print | sort >actual &&
2727
test_cmp expect actual
2828
}
2929

3030
test_expect_success 'tar archive of empty tree is empty' '
3131
git archive --format=tar HEAD: >empty.tar &&
32-
make_dir extract &&
33-
"$TAR" xf empty.tar -C extract &&
34-
check_dir extract
32+
perl -e "print \"\\0\" x 10240" >10knuls.tar &&
33+
test_cmp 10knuls.tar empty.tar
3534
'
3635

3736
test_expect_success 'tar archive of empty tree with prefix' '

transport-helper.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,8 @@ static struct child_process *get_helper(struct transport *transport)
214214
int i;
215215
data->refspec_nr = refspec_nr;
216216
data->refspecs = parse_fetch_refspec(refspec_nr, refspecs);
217-
for (i = 0; i < refspec_nr; i++) {
217+
for (i = 0; i < refspec_nr; i++)
218218
free((char *)refspecs[i]);
219-
}
220219
free(refspecs);
221220
}
222221
strbuf_release(&buf);

0 commit comments

Comments
 (0)