commit | 75bfc6c232689ae06aba6a7d4aa15ac2791d9a11 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@g5.osdl.org> | Mon Jul 04 16:35:13 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Jul 04 16:35:13 2005 -0700 |
tree | 5cbe1763905b2fa0ec6281c8b1003149a1eb72c0 | |
parent | fb9040cc83540fff9d05c8056433a4aa05b8a7c2 [diff] |
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.