diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-04 16:35:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-04 16:35:13 -0700 |
commit | 75bfc6c232689ae06aba6a7d4aa15ac2791d9a11 (patch) | |
tree | 5cbe1763905b2fa0ec6281c8b1003149a1eb72c0 /diff-cache.c | |
parent | Make git-fetch-pack and git-upload-pack negotiate needs/haves fully (diff) | |
download | tgif-75bfc6c232689ae06aba6a7d4aa15ac2791d9a11.tar.xz |
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 'diff-cache.c')
0 files changed, 0 insertions, 0 deletions