News for hackers. Stuff that matters.
Re:Git 1.9 Release Notes by corndoge on Saturday February 15, 2014 @10:41AM (#7244070)
I don't understand why, when a major software package gets even the slightest version increment, it has to top HN. Git's number is bigger? Big deal. If there was a monumental change to Git contained in those release notes, then maybe. But a few changes involving whitespace and colons are hardly 'deeply interesting'.
Re:Git 1.9 Release Notes by sho_hn on Saturday February 15, 2014 @11:07AM (#7244141)
Except you can't know that the changes are minor without looking at the release notes. Between that and the fact that even minor changes multiply in importance across the large number of git users, it's apparently interesting enough.
Re:Git 1.9 Release Notes by Pacabel on Saturday February 15, 2014 @11:17AM (#7244168)
Version numbers are supposed to indicate information like that, at a high level. Under a sensible version numbering scheme, an x.0 release will have important changes, while an x.9 release very likely shouldn't.
Re:Git 1.9 Release Notes by jbnicolai on Saturday February 15, 2014 @03:33PM (#7245198)
Not really, an increment to the major version number simply indicates non backwards-compatible API changes. See: http://semver.org/
Re:Git 1.9 Release Notes by username223 on Saturday February 15, 2014 @06:45PM (#7246008)
It's the usual minor version release spam. Not even worth figuring out whether it's blog-spam, karma whoring, or (unlikely) genuine news.
Re:Git 1.9 Release Notes by herge on Saturday February 15, 2014 @02:30PM (#7244971)
This is older than git 1.9, but git supports mercurial repositories[1]. I used to have to use mercurial to deal with kiln (which couldn't convert our repo to git), but now I happily work with git and everything is 10 times faster.

[1]: https://felipec.wordpress.com/2012/11/13/git-remote-hg-bzr-2...

Re:Git 1.9 Release Notes by akxak on Saturday February 15, 2014 @02:48PM (#7245036)
When was the last time you used Mercurial? Git being 10 times faster seems dated. Especially if you're using Facebook's fabulous Mercurial extensions, which actually make Mercurial faster than Git.

https://code.facebook.com/posts/218678814984400/scaling-merc...

Re:Git 1.9 Release Notes by stuhood on Saturday February 15, 2014 @07:27PM (#7246127)
There are no version numbers in those benchmarks, nor any way to reproduce them. So take them with a few grains of salt.

In particular, how old was the version of git they were testing with? Were they using SSDs?

Re:Git 1.9 Release Notes by barbs on Saturday February 15, 2014 @02:55PM (#7245063)
I'm curious: where does this 10x speed increase come from? are you implying that git is inherently faster than mercurial? I've not actually used mercurial myself so I wouldn't know...
Re:Git 1.9 Release Notes by herge on Sunday February 16, 2014 @11:09AM (#7248000)
git status is 10 times faster on my machine for the same repository than hg status.
Re:Git 1.9 Release Notes by rmcpherson on Saturday February 15, 2014 @10:21AM (#7244003)
I don't see any significant performance improvements listed in the release notes.

Git's memory-intensive handling of large files with most operations continues to make it difficult to use as a versioned, incremental backup tool. Although I know that backup is not Git's originally intended purpose, it is otherwise a very good solution. Moreover, companies with large repositories run up against these limitations as well (see Facebook's move from git to mercurial). Does anyone know whether any improvements in these areas are slated for git 2.0 or being considered for a later point release?

They could even draw on the increasingly-great bup tool (https://github.com/bup/bup) that uses the git pack-file format with a rolling checksum algorithm to do fast deduplication within files.

Re:Git 1.9 Release Notes by rjzzleep on Saturday February 15, 2014 @10:39AM (#7244063)
facebooks solution allows you to work better with shallow copies. it doesn't magically solve the size issue. it's much faster, because it doesn't do the real work. [1]

also I distinctly remember that the linux kernel, rewinds history every so often(but maybe my memory is just playing tricks on me).

git is not a backup tool, i always scold people for checking large binary files into their text file revision systems.

take a look at ori[2] for git like backup solution. git annex is also an interesting solution[3]. although he says specifically to not confuse it for a dropbox clone.

now to get back to your first point. as we established facebooks speedup happens because of difference in dealing with shallow cloned repositories. it seems to me like git is making improvements in that regard see the following:

> * Fetching from a shallowly-cloned repository used to be forbidden, primarily because the codepaths involved were not carefully vetted and we did not bother supporting such usage. This release attempts to allow object transfer out of a shallowly-cloned repository in a more controlled way (i.e. the receiver become a shallow repository with a truncated history).

[1] https://bitbucket.org/facebook/remotefilelog

[2] http://ori.scs.stanford.edu/

[3] http://git-annex.branchable.com/

EDIT: bup looks nice though, thanks for the info

Re:Git 1.9 Release Notes by dfc on Saturday February 15, 2014 @11:40AM (#7244252)
You really should "scold" the folks at LibreOffice. They have a neat tool that relies on checking large binary files into git. It is actually a neat development tool:

"bibisect stands for "binary bisect" and is intended to help LibreOffice QA dealing with regressions. Regressions are a most annoying artifact that unfortunately comes with software development and QA. However, regressions are a misfeature we want to deal with quick and early as they might get harder and harder to triage and fix as time passes.

Because the way git stores its stuff, one bibisect can contain several complete Linux 64-bit office installs in a very much compressed size.

And one does not need to install them in parallel as one can switch through all of them with a quick "git checkout source-hash-XXXXXX" -- one switch costs <1 second)."

https://wiki.documentfoundation.org/QA/HowToBibisect

http://cgit.freedesktop.org/libreoffice/contrib/dev-tools/

Re:Git 1.9 Release Notes by rjzzleep on Saturday February 15, 2014 @11:58AM (#7244318)
yeah, well, that's entirely different from what we were talking about though. also speed is obviously not their focus. they just chose a comfortable approach to binary searching regressions in binary builds of libreoffice.

it's not a repo anyone will ever work with. some build bot builds it, and noone else ever commits things back. you just download the tar'd repo, and never ever commit anything or push back. it's also clearly seperated from any code repositories they have.

but maybe i misunderstood something so feel free to correct me.

Re:Git 1.9 Release Notes by davvid on Saturday February 15, 2014 @02:22PM (#7244938)
Another thing that FB's solution did was to add inotify support. Git may get this feature soon -- there are already experimental patches on the mailing list for it.

http://thread.gmane.org/gmane.comp.version-control.git/24120...

Re:Git 1.9 Release Notes by rmcpherson on Saturday February 15, 2014 @11:37AM (#7244240)
I missed that about fetching from shallow cloning. Thanks for pointing that out.

I'll have to check out ori as well.

Re:Git 1.9 Release Notes by dbarlett on Saturday February 15, 2014 @10:39AM (#7244064)
Re:Git 1.9 Release Notes by spindritf on Saturday February 15, 2014 @09:46AM (#7243909)
Already packaged if you're using Ubuntu https://launchpad.net/~git-core/+archive/ppa

    # git --version
    git version 1.9.0
Re:Git 1.9 Release Notes by hk__2 on Saturday February 15, 2014 @09:54AM (#7243935)
You can install it on OSX with Homebrew:

    brew install https://raw.github.com/asaph/homebrew/2897329686d905fc357c5e2e87597c8f6a8e9cd1/Library/Formula/git.rb
But they want to wait a few days to ensure there’re no bugs found [1] before adding it to the main repo.

[1]: https://github.com/Homebrew/homebrew/pull/26734

Re:Git 1.9 Release Notes by dfc on Saturday February 15, 2014 @11:51AM (#7244298)
The release candidates have been in Debian/sid for a week or two now. I have not noticed any problems. It looks like the only differences between rc3 and the stable release are some documentation changes. If you are feeling adventurous 2.0 is in experimental:

    root@ronin:~# apt-show-versions  -a git
    git:amd64 1:1.9.0~rc3-1 install ok installed
    git:amd64 1:1.9.0~rc3-1         unstable      ftp.us.debian.org
    git:amd64 1:2.0~next.20140207-1 experimental ftp.us.debian.org
    git:amd64/unstable 1:1.9.0~rc3-1 uptodate
Re:Git 1.9 Release Notes by pritambaral on Saturday February 15, 2014 @02:18PM (#7244923)
Arch repo got it too.
Re:Git 1.9 Release Notes by baby on Saturday February 15, 2014 @09:33AM (#7243882)
Still no easy way to use emacs as a diff tool.
Re:Git 1.9 Release Notes by daenney on Saturday February 15, 2014 @10:53AM (#7244098)
Perhaps emacs is to blame for that.
Re:Git 1.9 Release Notes by davvid on Saturday February 15, 2014 @02:18PM (#7244924)
Do you mean `git difftool --tool=emerge`, or are you thinking of something else?
Re:Git 1.9 Release Notes by edhebert on Saturday February 15, 2014 @05:02PM (#7245568)
vc-diff works pretty well.
Re:Git 1.9 Release Notes by fafner on Saturday February 15, 2014 @06:47PM (#7246010)
smerge-mode or use the emerge diff tool setting
Re:Git 1.9 Release Notes by mariusmg on Saturday February 15, 2014 @02:22PM (#7244940)
Now let's see how fast msysgit gets updated on Windows.
Re:Git 1.9 Release Notes by Flenser on Wednesday February 19, 2014 @06:28AM (#7263078)
Re:Git 1.9 Release Notes by gnoway on Saturday February 15, 2014 @11:34AM (#7244231)
I appreciate the change to --tags.
Re:Git 1.9 Release Notes by tekacs on Saturday February 15, 2014 @09:11AM (#7243815)
The linked page was incredibly painful to read (and arbitrarily chosen and variable width and downright ugly?)

Might want to try this instead: https://github.com/git/git/blob/master/Documentation/RelNote...

Re:Git 1.9 Release Notes by roryokane on Saturday February 15, 2014 @09:58AM (#7243944)
The official Git site http://git-scm.com/ links to this for the release notes: https://raw.github.com/git/git/master/Documentation/RelNotes.... I think that’s even more readable.
Re:Git 1.9 Release Notes by antirez on Saturday February 15, 2014 @09:12AM (#7243819)
Bonus point of the linked page, the banner on the top detects you are on a mobile phone and spams you with an alert().
Re:Git 1.9 Release Notes by tekacs on Saturday February 15, 2014 @09:14AM (#7243824)
Neither link here did this for me in Chrome for iOS. Odd?
Re:Git 1.9 Release Notes by kaichanvong on Saturday February 15, 2014 @11:37AM (#7244239)
None of these were to my liking. I copy and pasted and viewed in Marked then saved and shared with you guys:

http://kaivong.com/my_cloud/Git-v1.9.0-Release-Notes.html

Feel free to mirror or tell me of a nicer version!