Browse Source
* jk/cached-commit-buffer: revision: drop --show-all option commit: drop uses of get_cached_commit_buffer() Git 2.16.2maint

6 changed files with 31 additions and 46 deletions
@ -0,0 +1,30 @@
@@ -0,0 +1,30 @@
|
||||
Git v2.16.2 Release Notes |
||||
========================= |
||||
|
||||
Fixes since v2.16.1 |
||||
------------------- |
||||
|
||||
* An old regression in "git describe --all $annotated_tag^0" has been |
||||
fixed. |
||||
|
||||
* "git svn dcommit" did not take into account the fact that a |
||||
svn+ssh:// URL with a username@ (typically used for pushing) refers |
||||
to the same SVN repository without the username@ and failed when |
||||
svn.pushmergeinfo option is set. |
||||
|
||||
* "git merge -Xours/-Xtheirs" learned to use our/their version when |
||||
resolving a conflicting updates to a symbolic link. |
||||
|
||||
* "git clone $there $here" is allowed even when here directory exists |
||||
as long as it is an empty directory, but the command incorrectly |
||||
removed it upon a failure of the operation. |
||||
|
||||
* "git stash -- <pathspec>" incorrectly blew away untracked files in |
||||
the directory that matched the pathspec, which has been corrected. |
||||
|
||||
* "git add -p" was taught to ignore local changes to submodules as |
||||
they do not interfere with the partial addition of regular changes |
||||
anyway. |
||||
|
||||
|
||||
Also contains various documentation updates and code clean-ups. |
@ -1,31 +0,0 @@
@@ -1,31 +0,0 @@
|
||||
#!/bin/sh |
||||
|
||||
test_description='--show-all --parents does not rewrite TREESAME commits' |
||||
|
||||
. ./test-lib.sh |
||||
|
||||
test_expect_success 'set up --show-all --parents test' ' |
||||
test_commit one foo.txt && |
||||
commit1=$(git rev-list -1 HEAD) && |
||||
test_commit two bar.txt && |
||||
commit2=$(git rev-list -1 HEAD) && |
||||
test_commit three foo.txt && |
||||
commit3=$(git rev-list -1 HEAD) |
||||
' |
||||
|
||||
test_expect_success '--parents rewrites TREESAME parents correctly' ' |
||||
echo $commit3 $commit1 > expected && |
||||
echo $commit1 >> expected && |
||||
git rev-list --parents HEAD -- foo.txt > actual && |
||||
test_cmp expected actual |
||||
' |
||||
|
||||
test_expect_success '--parents --show-all does not rewrites TREESAME parents' ' |
||||
echo $commit3 $commit2 > expected && |
||||
echo $commit2 $commit1 >> expected && |
||||
echo $commit1 >> expected && |
||||
git rev-list --parents --show-all HEAD -- foo.txt > actual && |
||||
test_cmp expected actual |
||||
' |
||||
|
||||
test_done |
Loading…
Reference in new issue