|
1 | 1 | # Git LFS Changelog
|
2 | 2 |
|
| 3 | +## 2.2.0 (27 June, 2017) |
| 4 | + |
| 5 | +Git LFS v2.2.0 includes bug fixes, minor features, and a brand new `migrate` |
| 6 | +command. The `migrate` command rewrites commits, converting large files from |
| 7 | +Git blobs to LFS objects. The most common use case will fix a git push rejected |
| 8 | +for having large blobs: |
| 9 | + |
| 10 | +``` |
| 11 | +$ git push origin master |
| 12 | +# ... |
| 13 | +remote: error: file a.psd is 1.2 gb; this exceeds github's file size limit of 100.00 mb |
| 14 | +to github.com:ttaylorr/demo.git |
| 15 | + ! [remote rejected] master -> master (pre-receive hook declined) |
| 16 | +error: failed to push some refs to '[email protected]:ttaylorr/demo.git' |
| 17 | +
|
| 18 | +$ git lfs migrate info |
| 19 | +*.psd 1.2 GB 27/27 files(s) 100% |
| 20 | +
|
| 21 | +$ git lfs migrate import --include="*.psd" |
| 22 | +migrate: Sorting commits: ..., done |
| 23 | +migrate: Rewriting commits: 100% (810/810), done |
| 24 | + master f18bb746d44e8ea5065fc779bb1acdf3cdae7ed8 -> 35b0fe0a7bf3ae6952ec9584895a7fb6ebcd498b |
| 25 | +migrate: Updating refs: ..., done |
| 26 | +
|
| 27 | +$ git push origin |
| 28 | +Git LFS: (1 of 1 files) 1.2 GB / 1.2 GB |
| 29 | +# ... |
| 30 | +To github.com:ttaylorr/demo.git |
| 31 | + * [new branch] master -> master |
| 32 | +``` |
| 33 | + |
| 34 | +The `migrate` command has detailed options described in the `git-lfs-migrate(1)` |
| 35 | +man page. Keep in mind that this is the first pass at such a command, so we |
| 36 | +expect there to be bugs and performance issues (especially on long git histories). |
| 37 | +Future updates to the command will be focused on improvements to allow full |
| 38 | +LFS transitions on large repositories. |
| 39 | + |
| 40 | +### Features |
| 41 | + |
| 42 | +* commands: add git-lfs-migrate(1) 'import' subcommand #2353 (@ttaylorr) |
| 43 | +* commands: add git-lfs-migrate(1) 'info' subcommand #2313 (@ttaylorr) |
| 44 | +* Implement status --json #2311 (@asottile) |
| 45 | +* commands/uploader: allow incomplete pushes #2199 (@ttaylorr) |
| 46 | + |
| 47 | +### Bugs |
| 48 | + |
| 49 | +* Retry on timeout or temporary errors #2312 (@jakub-m) |
| 50 | +* commands/uploader: don't verify locks if verification is disabled #2278 (@ttaylorr) |
| 51 | +* Fix tools.TranslateCygwinPath() on MSYS #2277 (@raleksandar) |
| 52 | +* commands/clone: add new flags since Git 2.9 #2251, #2252 (@ttaylorr) |
| 53 | +* Make pull return non-zero error code when some downloads failed #2237 (@seth2810) |
| 54 | +* tq/basic_download: guard against nil HTTP response #2227 (@ttaylorr) |
| 55 | +* Bugfix: cannot push to scp style URL #2198 (@jiangxin) |
| 56 | +* support lfs.<url>.* values where url does not include .git #2192 (@technoweenie) |
| 57 | +* commands: fix logged error not interpolating format qualifiers #2228 (@ttaylorr) |
| 58 | +* commands/help: print helptext to stdout for consistency with Git #2210 (@ttaylorr) |
| 59 | + |
| 60 | +### Misc |
| 61 | + |
| 62 | +* Minor cleanups in help index #2248 (@dpursehouse) |
| 63 | +* Add git-lfs-lock and git-lfs-unlock to help index #2232 (@dpursehouse) |
| 64 | +* packagecloud: add Debian 9 entry to formatted list #2211 (@ttaylorr) |
| 65 | +* Update Xenial is to use stretch packages #2212 (@andyneff) |
| 66 | + |
| 67 | +## 2.1.1 (19 May, 2017) |
| 68 | + |
| 69 | +Git LFS v2.1.1 ships with bug fixes and a security patch fixing a remote code |
| 70 | +execution vulnerability exploitable by setting a SSH remote via your |
| 71 | +repository's `.lfsconfig` to contain the string "-oProxyCommand". This |
| 72 | +vulnerability is only exploitable if an attacker has write access to your |
| 73 | +repository, or you clone a repository with a `.lfsconfig` file containing that |
| 74 | +string. |
| 75 | + |
| 76 | +### Bugs |
| 77 | + |
| 78 | +* Make pull return non-zero error code when some downloads failed #2245 (@seth2810, @technoweenie) |
| 79 | +* lfsapi: support cross-scheme redirection #2243 (@ttaylorr) |
| 80 | +* sanitize ssh options parsed from ssh:// url #2242 (@technoweenie) |
| 81 | +* filepathfilter: interpret as .gitignore syntax #2238 (@technoweenie) |
| 82 | +* tq/basic_download: guard against nil HTTP response #2229 (@ttaylorr) |
| 83 | +* commands: fix logged error not interpolating format qualifiers #2230 (@ttaylorr) |
| 84 | + |
| 85 | +### Misc |
| 86 | + |
| 87 | +* release: backport Debian 9-related changes #2244 (@ssgelm, @andyneff, @ttaylorr) |
| 88 | +* Add git-lfs-lock and git-lfs-unlock to help index #2240 (@dpursehouse) |
| 89 | +* config: allow multiple environments when calling config.Unmarshal #2224 (@ttaylorr) |
| 90 | + |
3 | 91 | ## 2.1.0 (28 April, 2017)
|
4 | 92 |
|
5 | 93 | ### Features
|
|
0 commit comments