summaryrefslogtreecommitdiffstats
path: root/rev-list.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-05 01:35:13 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-05 01:35:13 +0200
commit75bfc6c232689ae06aba6a7d4aa15ac2791d9a11 (patch)
tree5cbe1763905b2fa0ec6281c8b1003149a1eb72c0 /rev-list.c
parentMake git-fetch-pack and git-upload-pack negotiate needs/haves fully (diff)
downloadgit-75bfc6c232689ae06aba6a7d4aa15ac2791d9a11.tar.xz
git-75bfc6c232689ae06aba6a7d4aa15ac2791d9a11.zip
Make git-fetch-pack actually do all the unpacking etc.
It returns the result SHA1 on stdout, so you can do remote=$(git-fetch-pack host:dir branchname) and it will unpack the objects and "remote" will be the SHA1 name of the branch on the other side. You can then save that off, or merge it, or whatever.
Diffstat (limited to 'rev-list.c')
0 files changed, 0 insertions, 0 deletions