Commit Graph

31 Commits

Author SHA1 Message Date
rick olson
b3f0dacdc8 lfs: remove static lfs pointer clean/smudge funcs 2017-10-24 12:07:53 -06:00
Taylor Blau
3a080f96ba commands,lfs: teach smudge() to return (int64, error) 2017-07-31 10:37:28 -06:00
Taylor Blau
d24ab1d1b1 lfs/pointer: 💅 2016-12-23 12:21:28 -07:00
Taylor Blau
6f54232890 commands,lfs: teach lfs.DecodeFrom to return an io.Reader 2016-12-23 12:16:57 -07:00
Taylor Blau
cfcba6ff89 commands,lfs: stream entire contents after encountering a malformed pointer 2016-12-22 15:11:23 -07:00
Taylor Blau
891db97a42 tq,transfer: move pkg "transfer" to "tq" 2016-12-12 09:24:10 -07:00
risk danger olson
bba8f3b876 update package imports 2016-11-15 10:01:18 -07:00
Taylor Blau
048abd14d5 lfs: suppress io.EOF errors during pointer decodes 2016-11-04 14:45:29 -06:00
risk danger olson
2473068345 rename errutil to errors 2016-08-18 14:20:33 -06:00
risk danger olson
c5036f63d0 fix pointer error messages 2016-08-18 09:39:06 -06:00
risk danger olson
53130bb5c0 remove global *transfer.Manifest instance 2016-08-09 16:07:41 -06:00
Steve Streeting
ab1af11720 Refactor errors and credentials into own packages to break cycles 2016-05-16 15:06:02 +01:00
Steve Streeting
d731130e70 Refactor CopyCallback/CallbackReader to progress package 2016-05-10 16:56:43 +01:00
risk danger olson
f25452ce60 simpler early return 2016-02-02 10:14:58 -07:00
Nathan-J. Hirschauer
763ed1fc90 Return empty buffer early on empty string 2016-02-02 00:06:37 +01:00
Nathan-J. Hirschauer
a59f59a54c Don't create pointer for empty files 2016-02-01 23:21:04 +01:00
Rick Olson
f58db7f793 return a NotAPointerError if it has an empty version 2015-09-25 15:46:24 -06:00
Rick Olson
4e7bc74874 Better handling for tiny files below the blob size threshold that contain 'git-lfs' 2015-09-25 15:39:02 -06:00
rubyist
ca2a93a1b9 Merge branch 'master' into errors 2015-09-01 10:48:22 -04:00
Steve Streeting
6f973984ef Don't allocate unless required; also data consistency with PointerClean 2015-08-26 16:36:25 +01:00
rubyist
1f1821c08b replace NotAPointerError 2015-08-22 19:21:13 -04:00
Steve Streeting
e0e56caccd Never download anything when using the checkout command
This was always the intention but the PointerSmudge functions would
automatically do it if the local files were missing. Now they take a
boolean argument to say whether to download or not, and the case of
skipped smudge is dealt with by writing out the original pointer data
and returning a known non-fatal error.
2015-08-06 17:12:11 +01:00
Ryan Simmen
8d7769ac09 LFS Extensions: smudge command 2015-07-31 17:08:21 -04:00
Ryan Simmen
214983d322 LFS Extensions: pointer file manipulation 2015-07-31 17:07:35 -04:00
Steve Streeting
409c68ea02 Correctly return NotAPointerError when file < blobSizeCutoff 2015-07-29 12:20:53 +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
Rick Olson
aa0c3c9e7a fix issues with decoding a pointer file from an empty buffer 2015-05-28 15:57:29 -06:00
Michael Käufl
1b04957416 Removed else after return 2015-05-13 01:40:15 +02:00
rubyist
0a9ebafc6a Merge branch 'master' into concurrent-uploads
Conflicts:
	commands/command_push.go
	lfs/pointer.go
	lfs/pointer_clean.go
	lfs/pointer_smudge.go
2015-04-29 11:46:20 -04:00
rubyist
2a8b026c34 Merge branch 'master' into concurrent-uploads
Conflicts:
	lfs/pointer_test.go
2015-04-24 14:15:33 -04:00
rubyist
0cacca1bbc Move pointer and scanner packages into lfs
This refactoring will make a number of things easier. These didn't
really need to be in their own packages. Having them separate packages,
there are a few refactorings I've tried to do that end up with circular
dependencies due to things outside of `lfs` depending on `lfs`. Pushing
these into `lfs` makes refactoring simpler.
2015-04-23 12:20:36 -04:00