Commit Graph

11 Commits

Author SHA1 Message Date
rick
795a1ebc0e remove all Short messages 2015-09-17 16:08:28 -06:00
rick
416eb2880c wrap the common behavior in requireInRepo() 2015-09-08 10:23:27 -06:00
rick
43e9f379ce fix behavior of 7 commands when run outside git repo 2015-09-08 09:29:53 -06:00
Steve Streeting
39676192da Make ref resolution return a complete Ref rather than just SHA, & test 2015-08-20 15:36:10 +01:00
Steve Streeting
b5df63c071 Add optional remote arg to fetch & pull, and default to tracking remote
The first arg to fetch & pull is now a remote. In addition, the default
remote if you don't specify is now the tracking remote as in `git pull`
if it exists, and origin if that's not set. This makes it more consistent
with the underlying git workflow especially in triangular fork setups.
2015-08-13 17:22:29 +01:00
Steve Streeting
451b03edf9 Adding --include and --exclude args to fetch/pull 2015-08-10 17:00:10 +01:00
Steve Streeting
d3d5999d83 Make pull parallelise fetch/checkout again
Turns out you CAN do this while maintaining support for multiple files
with the same content and still get a performance boost. Thanks @rubyist
2015-07-29 10:26:14 +01:00
Steve Streeting
0159f6c769 Change pull to do a simple full fetch & checkout instead of checkout in parallel of fetched items
Now that we're not pretending to download objects we already have, we wouldn't
check out objects missing in the working copy but which were already present.
It's better to do exactly what it says on the tin anyway, identical to
separate fetch & pull.
2015-07-27 11:28:46 +01:00
Steve Streeting
cc6032a716 Need to pass the wait group by pointer to checkout 2015-07-24 18:00:52 +01:00
Steve Streeting
afed34ae6b Add short command info 2015-07-24 15:25:43 +01:00
Steve Streeting
001ddcd7cf Work in progress refactoring fetch into fetch/checkout/pull
Also fixes #514
2015-07-24 14:56:54 +01:00