Browse Source
* maint: (41 commits) Clarify commit error message for unmerged files Use strchrnul() instead of strchr() plus manual workaround Use remove_path from dir.c instead of own implementation Add remove_path: a function to remove as much as possible of a path git-submodule: Fix "Unable to checkout" for the initial 'update' Clarify how the user can satisfy stash's 'dirty state' check. Remove empty directories in recursive merge Documentation: clarify the details of overriding LESS via core.pager Update release notes for 1.6.0.3 checkout: Do not show local changes when in quiet mode for-each-ref: Fix --format=%(subject) for log message without newlines git-stash.sh: don't default to refs/stash if invalid ref supplied maint: check return of split_cmdline to avoid bad config strings builtin-prune.c: prune temporary packs in <object_dir>/pack directory Do not perform cross-directory renames when creating packs Use dashless git commands in setgitperms.perl git-remote: do not use user input in a printf format string make "git remote" report multiple URLs Start draft release notes for 1.6.0.3 git-repack uses --no-repack-object, not --no-repack-delta. ... Conflicts: RelNotesmaint
Shawn O. Pearce
17 years ago
52 changed files with 600 additions and 196 deletions
@ -0,0 +1,45 @@
@@ -0,0 +1,45 @@
|
||||
GIT v1.6.0.3 Release Notes |
||||
========================== |
||||
|
||||
Fixes since v1.6.0.2 |
||||
-------------------- |
||||
|
||||
* "git archive --format=zip" did not honor core.autocrlf while |
||||
--format=tar did. |
||||
|
||||
* Continuing "git rebase -i" was very confused when the user left modified |
||||
files in the working tree while resolving conflicts. |
||||
|
||||
* Continuing "git rebase -i" was also very confused when the user left |
||||
some staged changes in the index after "edit". |
||||
|
||||
* Behaviour of "git diff --quiet" was inconsistent with "diff --exit-code" |
||||
with the output redirected to /dev/null. |
||||
|
||||
* "git stash apply sash@{1}" was fixed to error out. Prior versions |
||||
would have applied stash@{0} incorrectly. |
||||
|
||||
* "git for-each-ref --format=%(subject)" fixed for commits with no |
||||
no newline in the message body. |
||||
|
||||
* "git remote" fixed to protect printf from user input. |
||||
|
||||
* "git checkout -q" once again suppresses the locally modified file list. |
||||
|
||||
* Cross-directory renames are no longer used when creating packs. This |
||||
allows more graceful behavior on filesystems like sshfs. |
||||
|
||||
* Stale temporary files under $GIT_DIR/objects/pack are now cleaned up |
||||
automatically by "git prune". |
||||
|
||||
* "Git.pm" tests relied on unnecessarily more recent version of Perl. |
||||
|
||||
* "gitweb" triggered undef warning on commits without log messages. |
||||
|
||||
Many other documentation updates. |
||||
|
||||
-- |
||||
exec >/var/tmp/1 |
||||
O=v1.6.0.2-41-g7fe4a72 |
||||
echo O=$(git describe maint) |
||||
git shortlog --no-merges $O..maint |
@ -0,0 +1,46 @@
@@ -0,0 +1,46 @@
|
||||
#!/bin/sh |
||||
|
||||
test_description='respect crlf in git archive' |
||||
|
||||
. ./test-lib.sh |
||||
UNZIP=${UNZIP:-unzip} |
||||
|
||||
test_expect_success setup ' |
||||
|
||||
git config core.autocrlf true |
||||
|
||||
printf "CRLF line ending\r\nAnd another\r\n" > sample && |
||||
git add sample && |
||||
|
||||
test_tick && |
||||
git commit -m Initial |
||||
|
||||
' |
||||
|
||||
test_expect_success 'tar archive' ' |
||||
|
||||
git archive --format=tar HEAD | |
||||
( mkdir untarred && cd untarred && "$TAR" -xf - ) |
||||
|
||||
test_cmp sample untarred/sample |
||||
|
||||
' |
||||
|
||||
"$UNZIP" -v >/dev/null 2>&1 |
||||
if [ $? -eq 127 ]; then |
||||
echo "Skipping ZIP test, because unzip was not found" |
||||
test_done |
||||
exit |
||||
fi |
||||
|
||||
test_expect_success 'zip archive' ' |
||||
|
||||
git archive --format=zip HEAD >test.zip && |
||||
|
||||
( mkdir unzipped && cd unzipped && unzip ../test.zip ) && |
||||
|
||||
test_cmp sample unzipped/sample |
||||
|
||||
' |
||||
|
||||
test_done |
@ -0,0 +1,22 @@
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh |
||||
# |
||||
# Copyright (c) 2008 Alec Berryman |
||||
|
||||
test_description='git svn fetch repository with deleted and readded directory' |
||||
|
||||
. ./lib-git-svn.sh |
||||
|
||||
# Don't run this by default; it opens up a port. |
||||
require_svnserve |
||||
|
||||
test_expect_success 'load repository' ' |
||||
svnadmin load -q "$rawsvnrepo" < "$TEST_DIRECTORY"/t9126/follow-deleted-readded.dump |
||||
' |
||||
|
||||
test_expect_success 'fetch repository' ' |
||||
start_svnserve && |
||||
git svn init svn://127.0.0.1:$SVNSERVE_PORT && |
||||
git svn fetch |
||||
' |
||||
|
||||
test_done |
@ -0,0 +1,201 @@
@@ -0,0 +1,201 @@
|
||||
SVN-fs-dump-format-version: 2 |
||||
|
||||
UUID: 1807dc6f-c693-4cda-9710-00e1be8c1f21 |
||||
|
||||
Revision-number: 0 |
||||
Prop-content-length: 56 |
||||
Content-length: 56 |
||||
|
||||
K 8 |
||||
svn:date |
||||
V 27 |
||||
2008-09-14T19:53:13.006748Z |
||||
PROPS-END |
||||
|
||||
Revision-number: 1 |
||||
Prop-content-length: 111 |
||||
Content-length: 111 |
||||
|
||||
K 7 |
||||
svn:log |
||||
V 12 |
||||
Create trunk |
||||
K 10 |
||||
svn:author |
||||
V 4 |
||||
alec |
||||
K 8 |
||||
svn:date |
||||
V 27 |
||||
2008-09-14T19:53:13.239689Z |
||||
PROPS-END |
||||
|
||||
Node-path: trunk |
||||
Node-kind: dir |
||||
Node-action: add |
||||
Prop-content-length: 10 |
||||
Content-length: 10 |
||||
|
||||
PROPS-END |
||||
|
||||
|
||||
Revision-number: 2 |
||||
Prop-content-length: 119 |
||||
Content-length: 119 |
||||
|
||||
K 7 |
||||
svn:log |
||||
V 20 |
||||
Create trunk/project |
||||
K 10 |
||||
svn:author |
||||
V 4 |
||||
alec |
||||
K 8 |
||||
svn:date |
||||
V 27 |
||||
2008-09-14T19:53:13.548860Z |
||||
PROPS-END |
||||
|
||||
Node-path: trunk/project |
||||
Node-kind: dir |
||||
Node-action: add |
||||
Prop-content-length: 10 |
||||
Content-length: 10 |
||||
|
||||
PROPS-END |
||||
|
||||
|
||||
Revision-number: 3 |
||||
Prop-content-length: 111 |
||||
Content-length: 111 |
||||
|
||||
K 7 |
||||
svn:log |
||||
V 12 |
||||
add new file |
||||
K 10 |
||||
svn:author |
||||
V 4 |
||||
alec |
||||
K 8 |
||||
svn:date |
||||
V 27 |
||||
2008-09-14T19:53:15.433630Z |
||||
PROPS-END |
||||
|
||||
Node-path: trunk/project/foo |
||||
Node-kind: file |
||||
Node-action: add |
||||
Prop-content-length: 10 |
||||
Text-content-length: 4 |
||||
Text-content-md5: d3b07384d113edec49eaa6238ad5ff00 |
||||
Content-length: 14 |
||||
|
||||
PROPS-END |
||||
foo |
||||
|
||||
|
||||
Revision-number: 4 |
||||
Prop-content-length: 116 |
||||
Content-length: 116 |
||||
|
||||
K 7 |
||||
svn:log |
||||
V 17 |
||||
change foo to bar |
||||
K 10 |
||||
svn:author |
||||
V 4 |
||||
alec |
||||
K 8 |
||||
svn:date |
||||
V 27 |
||||
2008-09-14T19:53:17.339884Z |
||||
PROPS-END |
||||
|
||||
Node-path: trunk/project/foo |
||||
Node-kind: file |
||||
Node-action: change |
||||
Text-content-length: 4 |
||||
Text-content-md5: c157a79031e1c40f85931829bc5fc552 |
||||
Content-length: 4 |
||||
|
||||
bar |
||||
|
||||
|
||||
Revision-number: 5 |
||||
Prop-content-length: 114 |
||||
Content-length: 114 |
||||
|
||||
K 7 |
||||
svn:log |
||||
V 15 |
||||
don't like that |
||||
K 10 |
||||
svn:author |
||||
V 4 |
||||
alec |
||||
K 8 |
||||
svn:date |
||||
V 27 |
||||
2008-09-14T19:53:19.335001Z |
||||
PROPS-END |
||||
|
||||
Node-path: trunk/project |
||||
Node-action: delete |
||||
|
||||
|
||||
Revision-number: 6 |
||||
Prop-content-length: 110 |
||||
Content-length: 110 |
||||
|
||||
K 7 |
||||
svn:log |
||||
V 11 |
||||
reset trunk |
||||
K 10 |
||||
svn:author |
||||
V 4 |
||||
alec |
||||
K 8 |
||||
svn:date |
||||
V 27 |
||||
2008-09-14T19:53:19.845897Z |
||||
PROPS-END |
||||
|
||||
Node-path: trunk/project |
||||
Node-kind: dir |
||||
Node-action: add |
||||
Node-copyfrom-rev: 4 |
||||
Node-copyfrom-path: trunk/project |
||||
|
||||
|
||||
Revision-number: 7 |
||||
Prop-content-length: 113 |
||||
Content-length: 113 |
||||
|
||||
K 7 |
||||
svn:log |
||||
V 14 |
||||
change to quux |
||||
K 10 |
||||
svn:author |
||||
V 4 |
||||
alec |
||||
K 8 |
||||
svn:date |
||||
V 27 |
||||
2008-09-14T19:53:21.367947Z |
||||
PROPS-END |
||||
|
||||
Node-path: trunk/project/foo |
||||
Node-kind: file |
||||
Node-action: change |
||||
Text-content-length: 5 |
||||
Text-content-md5: d3b07a382ec010c01889250fce66fb13 |
||||
Content-length: 5 |
||||
|
||||
quux |
||||
|
||||
|
Loading…
Reference in new issue