Commit Graph

18 Commits

Author SHA1 Message Date
Rick Olson
0392ea4c99 implement progress logs for clean 2014-08-07 11:01:06 -06:00
Rick Olson
ff583eb192 guess the size if it's not provided by the pointer 2014-08-07 10:25:26 -06:00
Rick Olson
0204cb2abe almost complete the logging, lol %s 2014-08-07 08:53:13 -06:00
Rick Olson
98b216d059 Smudge takes a *Pointer instead of just an Oid string 2014-08-06 15:40:24 -06:00
Rick Olson
d2b824c4d1 better cleanup 2014-08-05 10:12:40 -06:00
Rick Olson
5f928b2ac7 use os rename to write to .git/media with consistency 2014-08-05 10:06:22 -06:00
Rick Olson
c6bfb6f04c the gitmedia package can create temp files in the .git/media dir 2014-08-05 09:44:34 -06:00
Rick Olson
7e5ff6bfa3 don't write the media file until the last minute 2014-07-28 18:07:38 -06:00
Rick Olson
5fbaa6c897 write to a temp file first before streaming to stdout 2014-07-28 17:57:42 -06:00
Rick Olson
da8001c604 be more explicit about where the error came from 2014-07-28 17:41:16 -06:00
Rick Olson
1b0762cdaf cleanup the opened media file 2014-07-28 17:38:09 -06:00
Rick Olson
a52a287027 don't shadow err 2014-07-28 17:11:39 -06:00
Rick Olson
a1a99f3f37 use the consistent file writer in Smudge()
this ensures that we write correct files to the .git/media dir
2014-07-28 14:31:30 -06:00
Rick Olson
2e063232a9 add a consistent file writer 2014-07-28 14:28:59 -06:00
Rick Olson
8fb392849d oid, not sha 2014-07-28 13:37:57 -06:00
Rick Olson
0a19587362 break smudge into downloadFile() and readLocalFile() 2014-07-28 13:35:25 -06:00
Rick Olson
53e5ed6c0e dont expose pointer.CleanedAsset 2014-07-28 13:28:05 -06:00
Rick Olson
1235797615 combine metafile and filters packages in a pointer package 2014-07-28 13:26:10 -06:00