summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-12 04:34:57 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-02-12 04:34:57 (GMT)
commitb578e509d3d346513efda14606886a55174e5181 (patch)
tree3019a31dcc68a665620ecdb6fc8544d294d2a87f /t
parentd4144612958c255d273ad1bd1fe33f03c0f67ada (diff)
parentc6ec3b13b81d59272e41d5316689c65dd4cc2e63 (diff)
downloadgit-b578e509d3d346513efda14606886a55174e5181.zip
git-b578e509d3d346513efda14606886a55174e5181.tar.gz
git-b578e509d3d346513efda14606886a55174e5181.tar.bz2
Merge branch 'master' of git://repo.or.cz/git/fastimport
* 'master' of git://repo.or.cz/git/fastimport: bash: Hide git-fast-import. fast-import: Add tip about importing renames. fast-import: Hide the pack boundary commits by default.
Diffstat (limited to 't')
-rwxr-xr-xt/t9300-fast-import.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh
index 357a872..8d28211 100755
--- a/t/t9300-fast-import.sh
+++ b/t/t9300-fast-import.sh
@@ -407,4 +407,30 @@ test_expect_success \
'git-cat-file blob H:h/e/l/lo >actual &&
diff -u expect actual'
+###
+### series I
+###
+
+cat >input <<INPUT_END
+commit refs/heads/export-boundary
+committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE
+data <<COMMIT
+we have a border. its only 40 characters wide.
+COMMIT
+
+from refs/heads/branch
+
+INPUT_END
+test_expect_success \
+ 'I: export-pack-edges' \
+ 'git-fast-import --export-pack-edges=edges.list <input'
+
+cat >expect <<EOF
+.git/objects/pack/pack-.pack: `git-rev-parse --verify export-boundary`
+EOF
+test_expect_success \
+ 'I: verify edge list' \
+ 'sed -e s/pack-.*pack/pack-.pack/ edges.list >actual &&
+ diff -u expect actual'
+
test_done