git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Heads up, git.git approaches 1.2.0

From
Junio C Hamano <junkio@cox.net>
Date
Feb 7, 2006, 08:40 UTC
Message-ID
<7vek2fzhn9.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vbqxkapr2.fsf@assigned-by-dhcp.cox.net>

I've done a bit more work to round the corners diff-tree -c/--cc had. Most notably, earlier the algorithm punted if the merge removed or added files. These should raise red flag, because diff-tree -c/--cc deal with case where the result is different from all parents, so removal of a file means all parents had it in some shape but the file does not appear in the result, and addition of a file means no parents had it but merge made it magically appear. These cases are now shown as interesting.

BTW, I was pleasantly surprised that "git show 2950411" showed exactly what the commit log message said. Now I agree with Linus that --cc is a wonderful thing ;-).

Tonight I have pushed out all I said I would want to have in the next feature release 1.2.0 in the master branch, so that people can beat it more easily and help us shaking out potential bugs. Most of the things are something I've been using myself on git itself and also during my day-job, so there hopefully won't be any major data eating problems. Admittedly I almost never do "git commit paths...", but for the last couple of days I tried to use it whenever possible to make sure it works as intended. It defaults to --include behaviour which is the traditional one.

"git commit --only paths..." and running "git commit" from a subdirectory are also implemented and I've tried them with toy commits. If you are one of the people who missed them, please try it out and see if they satisfy your expectations.

I might receive some more HTTP fixes from Mark, documentation updates from J. Bruce etc. and I'd merge them before 1.2.0. But otherwise I am pretty happy with what's there in the "master" branch right now. The tip of the "master" is this commit:

    commit 5a798fb57f788692467b1a11416dd5ebff0d31ae
    Author: Junio C Hamano <junkio@cox.net>
        git-commit: finishing touches.

Please consider it a 1.2.0-rc1, and treat it the same way you would treat -rc1 from the kernel project. If you are going to test only one -rc version, this is THE one to test, and all the rest are bugfixes.

Previous: Johannes Schindelin
Message 5 of 5 in “What's new in git.git”
  1. Junio C HamanoFeb 6, 2006
  2. Linus TorvaldsFeb 6, 2006
  3. Junio C HamanoFeb 6, 2006
  4. Johannes SchindelinFeb 6, 2006
  5. Heads up, git.git approaches 1.2.0Junio C Hamano, Feb 7, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.