Repository navigation
Closed
Labels
Description
Here are the fixes slated for v1.2:
- netrc support Add netrc support for LFS API requests #715 (@rubyist)
-
clonecommand Implementgit lfs clone#988 (@sinbad) - support self-signed certs Support self signed certs #1067 (@sinbad)
- support sslverify option for specific hosts Support gitconfig sslverify for specific host #1081 (@sinbad)
- fix clean/smudge filter string for files starting with
-Fix smudge/clean on files that begin with a dash #1083 (@epriestley) - fix silent failure to push LFS objects when ref matches a filename in the working copy Fix
git rev-listwhen a file exists with the same name as the branch #1096 (@epriestley) - fix problems with using LFS in symlinked folders Fix "foo is outside repository" error when "git lfs track" in a symlinked dir #818 (@sinbad)
- touch existing git tracked files when tracked in LFS so they are flagged as modified Touch tracked files that are already added to git #1104 (@sinbad)
- support for git references Add support for reference clone #1007 (@jlehtnie)
- fix git lfs push silently misbehaving on ambiguous refs; fail like git push instead Catch previously undetected errors from git exit codes in async scans #1118 (@sinbad)
- whitelist
lfs.*.accessconfig in local~/.lfsconfigAllow for an access mechanism to be specified in the .lfsconfig file #1122 (@rjbell4) - Only write the encoded pointer information to Stdout pointer: Only write the encoded pointer information to Stdout #1105 (@sschuberth)
- Use hardcoded auth from remote or lfs config when accessing the storage api tests for credentials in remote and lfs.url config #1136 (@technoweenie, @jonmagic)
- SSH should be called more strictly with command as one argument SSH should be called more strictly with command as one argument #1134 (@sinbad)
- Stop transferring duplicate objects on major push or fetch operations on multiple refs. push optimizations (take 2) #1128 (@technoweenie)
- Support
url.*.insteadofgit config options Account for url.<url>.insteadOf in all operations #1117 (@artagnon) - zsh auto completion Zsh completions #1133
Activity
sinbad commentedon Feb 23, 2016
I'm thinking maybe it would be worth trying to bring the significant speed improvements from 'git lfs clone' to the other main workflow tasks that trigger downloads, like pulling or checking out a different branch. Unfortunately we already used 'git lfs pull' and 'git lfs checkout', maybe we either create new wrapper commands like 'git lfs gitpull' or use an option to the existing commands to turn it into a wrapper command e.g. 'git lfs pull --git'. Any thoughts?
larsxschneider commentedon Mar 3, 2016
@sinbad I agree that would make sense. However, I think "git lfs checkout" and "git lfs pull" should be triggering the corresponding git operations by default. Although this change would then brake backwards compatibility (how big of a problem would that be in this particular case?). How about a git-lfs config flag that defines if these commands trigger their respective git operations as well? The flag could be off by default to keep the current behavior.
sinbad commentedon Mar 3, 2016
@larsxschneider it's not such a big deal with
git lfs checkoutbecause it already matchesgit checkoutbehaviour for file paths, it just doesn't support the additional options for switching or creating branches yet. Although paths might need to be after a--marker for disambiguation likegit checkoutwhich is a breaking change.For
git lfs pullit's quite a big change since until then people won't have expected this to change the non-LFS files in their working copy. Also we still need a command which just does the lfs fetch & checkout, but perhaps you're right that this should be the one to change name or require an additional option. For consistency it would probably also meangit lfs fetchwould have to change to fetch commits first too (principle of least surprise if everything else that sounds like a git command does that).I've written up my proposal in #1059
sinbad commentedon Mar 9, 2016
Another idea for 1.2: maybe we should drop the non-batch route now? There are edge cases which can cause the 'sticky'
batch=falsesetting to be enabled which can break usage in non-intuitive ways, such as #993. Since no recent server implementations should be reliant on the non-batch route I think we should eliminate it.technoweenie commentedon Mar 10, 2016
We still have users hitting those endpoints, unfortunately :(
sinbad commentedon Mar 11, 2016
You mean clients hitting them on GH, or other server implementations only supporting non-batch? If it's clients then updating the client will phase those out over time, they're probably only using them because of the 'sticky'
batch=falsesetting getting set one time but don't realise, and really they don't need it anymore? I only meant dropping it on the client.technoweenie commentedon Mar 31, 2016
I'd like to push out a release next week. What is nearly ready, and just needs some review?
git lfs push <remote> <ref>has poor behavior when tag and branch share a name #1100These would be nice, but could wait for a v1.3 release. We could include them if a champion rises up. I personally won't touch them until the above issues are done.
So, what can we chop off from the above list? These are things that haven't had any work done. Some are pretty vague, or may be irrelevant now.
@sinbad: If you agree, I'll update the original issue body at the top.
Anyone else: feel free to chime in :)
EDIT: Added #906 at @andyneff's request.
sinbad commentedon Apr 1, 2016
Looks good to me, although I think #1085 is pretty niche; if the URL doesn't match any remote it can really only do a brute-force push of everything.
I don't use
zshbut I can look at #1007 a bit more.technoweenie commentedon Apr 4, 2016
I think that's fine. Seems better than not doing anything, at least.
I do use zsh, but I'd appreciate the help :)
I have no qualms holding these, or other issues if any problems come up. I've updated the issue body at the top with the CURRENT list, and will eventually find a place on the roadmap (after v1.2 ships) for the chopped items.
epriestley commentedon Apr 4, 2016
I'm planning to return to #1085 when I have a chance, but probably won't get there in the next few days.
(Our downstream LFS server implementation is available as a prototype and waiting on "does this kinda work?" user feedback, so I probably won't swing back around to LFS until we get that and I can knock out some other adjacent work at the same time.)
technoweenie commentedon Apr 4, 2016
I moved #1085 to the "nice to have" list. It had a bit more work to do than I remembered.
technoweenie commentedon Apr 17, 2016
Shipped! https://github.com/github/git-lfs/releases/tag/v1.2.0
/cc @github/desktop