| author | Junio C Hamano <gitster@pobox.com> | |
| Sun, 25 May 2008 20:38:44 +0000 (13:38 -0700) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Sun, 25 May 2008 20:41:37 +0000 (13:41 -0700) | ||
| commit | b84c343c885b8168047b2773b5c597d04337d9bd | |
| tree | a4ef0ee1fd0939d2a465d794ba0d88fc54234d28 | tree | snapshot |
| parent | 0dbaa5bd514b9d234c07fd6b857888566abcf836 | commit | diff |
| parent | b50c8469cc9a336b22ef37b23711d4547a48bc2b | commit | diff |
Merge branch 'db/clone-in-c'
* db/clone-in-c:
Add test for cloning with "--reference" repo being a subset of source repo
Add a test for another combination of --reference
Test that --reference actually suppresses fetching referenced objects
clone: fall back to copying if hardlinking fails
builtin-clone.c: Need to closedir() in copy_or_link_directory()
builtin-clone: fix initial checkout
Build in clone
Provide API access to init_db()
Add a function to set a non-default work tree
Allow for having for_each_ref() list extra refs
Have a constant extern refspec for "--tags"
Add a library function to add an alternate to the alternates file
Add a lockfile function to append to a file
Mark the list of refs to fetch as const
Conflicts:
cache.h
t/t5700-clone-reference.sh
* db/clone-in-c:
Add test for cloning with "--reference" repo being a subset of source repo
Add a test for another combination of --reference
Test that --reference actually suppresses fetching referenced objects
clone: fall back to copying if hardlinking fails
builtin-clone.c: Need to closedir() in copy_or_link_directory()
builtin-clone: fix initial checkout
Build in clone
Provide API access to init_db()
Add a function to set a non-default work tree
Allow for having for_each_ref() list extra refs
Have a constant extern refspec for "--tags"
Add a library function to add an alternate to the alternates file
Add a lockfile function to append to a file
Mark the list of refs to fetch as const
Conflicts:
cache.h
t/t5700-clone-reference.sh
13 files changed:
| Makefile | diff1 | | diff2 | | blob | history |
| builtin-fetch.c | diff1 | | diff2 | | blob | history |
| builtin-init-db.c | diff1 | | diff2 | | blob | history |
| cache.h | diff1 | | diff2 | | blob | history |
| contrib/examples/git-clone.sh | | | diff2 | | blob | history |
| environment.c | diff1 | | diff2 | | blob | history |
| lockfile.c | diff1 | | diff2 | | blob | history |
| refs.c | diff1 | | diff2 | | blob | history |
| remote.c | diff1 | | diff2 | | blob | history |
| remote.h | diff1 | | diff2 | | blob | history |
| sha1_file.c | diff1 | | diff2 | | blob | history |
| t/t5700-clone-reference.sh | diff1 | | diff2 | | blob | history |
| transport.c | diff1 | | diff2 | | blob | history |