Taylor Blau
c5ec52615e
commands,config: re-introduce determineIncludeExcludePaths()
2016-05-31 18:36:19 -06:00
Taylor Blau
0971cdebef
commands: use config-based helpers for path-safe include/exclude operations
...
Fixes github/git-lfs#1251
2016-05-31 18:36:19 -06:00
Taylor Blau
4593d0a641
vendor: vendor dependencies in vendor/ using Glide
...
- script/vendor received an update in order to work with Glide
- import paths have been rewritten to work with GO15VENDOREXPERIMENT
2016-05-23 12:10:35 -06:00
Steve Streeting
c4bbd3724e
Major refactor to pull things into config, httputil, tools
...
Mainly required to avoid cyclical dependencies when separating other things
2016-05-13 17:38:06 +01:00
Steve Streeting
894794bf3f
Implemented 'git lfs clone'
2016-02-11 12:36:19 +00:00
Steve Streeting
1e7cb85954
Validate user-supplied remote names in fetch/pull
...
Without this user would get a confusing message of the form:
Post objects/batch: unsupported protocol scheme ""
2015-10-06 17:35:58 +01:00
Steve Streeting
28e6f2821d
Implement improved DefaultRemote() method with better defaults & errors
2015-10-06 17:27:36 +01:00
Steve Streeting
5dec48ec94
Rename CurrentRemote() to RemoteForCurrentBranch() for clarity
...
Also remove ref name from return and add separate method for getting ref
in addition to remote name. Make that method also respect tracking branches
that are not the same name as the local branch (was previously ignoring)
2015-10-06 15:44:03 +01:00
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