Skip to content

Commit d65f801

Browse files
authored
Merge pull request git-lfs#2362 from git-lfs/ship-v2.2.0
Ship v2.2.0
2 parents 22ff8aa + 2fc3f7f commit d65f801

File tree

6 files changed

+106
-4
lines changed

6 files changed

+106
-4
lines changed

CHANGELOG.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,93 @@
11
# Git LFS Changelog
22

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+
391
## 2.1.0 (28 April, 2017)
492

593
### Features

config/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var (
1212
)
1313

1414
const (
15-
Version = "2.2.0-pre"
15+
Version = "2.2.0"
1616
)
1717

1818
func init() {

debian/changelog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
git-lfs (2.2.0) stable; urgency=low
2+
3+
* New upstream version
4+
5+
-- Rick Olson <[email protected]> Tue, 27 Jun 2017 14:29:00 +0000
6+
7+
git-lfs (2.1.1) stable; urgency=low
8+
9+
* New upstream version
10+
11+
-- Taylor Blau <[email protected]> Fri, 19 May 2017 14:29:00 +0000
12+
113
git-lfs (2.1.0) stable; urgency=low
214

315
* New upstream version

docs/man/git-lfs.1.ronn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ commands and low level ("plumbing") commands.
4949
Show errors from the git-lfs command.
5050
* git-lfs-ls-files(1):
5151
Show information about Git LFS files in the index and working tree.
52+
* git-lfs-migrate(1):
53+
Migrate history to or from git-lfs
5254
* git-lfs-pull(1):
5355
Fetch LFS changes from the remote & checkout any required working tree files.
5456
* git-lfs-push(1):

rpm/SPECS/git-lfs.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: git-lfs
2-
Version: 2.2.0-pre
2+
Version: 2.2.0
33
Release: 1%{?dist}
44
Summary: Git extension for versioning large files
55

versioninfo.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"FileVersion": {
55
"Major": 2,
6-
"Minor": 1,
6+
"Minor": 2,
77
"Patch": 0,
88
"Build": 0
99
}
@@ -13,6 +13,6 @@
1313
"FileDescription": "Git LFS",
1414
"LegalCopyright": "GitHub, Inc. and Git LFS contributors",
1515
"ProductName": "Git Large File Storage (LFS)",
16-
"ProductVersion": "2.2.0-pre"
16+
"ProductVersion": "2.2.0"
1717
}
1818
}

0 commit comments

Comments
 (0)