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

Re: [ANNOUNCE] Git for Windows 2.9.3

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 17, 2016, 13:54 UTC
Message-ID
<alpine.DEB.2.20.1608171507530.4924@virtualbox>
In-Reply-To
<xmqqshu8u0px.fsf@gitster.mtv.corp.google.com>
Hi Junio,
On Sat, 13 Aug 2016, Junio C Hamano wrote:
Show 8 quoted lines
> Johannes Schindelin <johannes.schindelin@gmx.de> writes:
> 
> > New Features
> >
> >   • Comes with Git 2.9.3.
> 
> For future reference, what time (in UTC) of the day is convenient
> for you to see an upstream tarball?

Heh... I don't do tarballs anymore, I now use this newfangled tool to manage source code... "gyt" or something like that, it is called.

:-)

Given that between you and me there is currently a time zone difference of 9h (except for four weeks, two in spring, when it is only 8h, and two in fall, when it is 10h), I believe we cannot find a time that is convenient for both of us.

But I also think it is fine, when I discover a new upstream Git version in the morning, I can spend all day on fixing any problems and on packaging the result ;-)

Show 6 quoted lines
> >   • Sports a new --smudge option for git cat-file that lets it pass
> >   blob contents through smudge filters configured for the specified
> >   path.
> 
> Perhaps we want to upstream this, together with a new "--clean" option
> for git hash-object?

No question about that. I just needed this in a hurry and short-circuited it into Git for Windows before submitting it upstream.

Show 5 quoted lines
> And after writing all of the above, I noticed that hash-object by
> default uses the clean machinery and that can be turned off by giving
> the "--no-filters" option.  The reason why the option is not called
> "--no-clean" is because it is not just about the clean filter but is
> about using the entirety of convert_to_git() filter chain.

Right, as is the --smudge option (it is about the entirety of convert_to_worktree()).

> We probably should teach "hash-objects" to take "--filters" for
> consistency.

I actually thought about that, too. Which was one of the reasons I did not submit the patch to the Git mailing list first, as I expect several iterations to be necessary to get everything into `master`.

> And then your "git cat-file" patch can be upstreamed with the option
> renamed to (or with an additional synonym) "--filters", which would make
> things consistent.

Right. I would like to ask for a `--smudge` synonym nevertheless, just because I already use this. On the other hand, it is early enough to tell everybody who knows about this feature to change their invocation (anybody who would know about `--smudge` would be in that 1% of users that have read the release notes, so most likely would read the next release notes, too).

Ciao, Dscho

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 24 in “[ANNOUNCE] Git for Windows 2.9.3”
  1. Johannes SchindelinAug 13, 2016
  2. Junio C HamanoAug 13, 2016
  3. Johannes SchindelinAug 17, 2016
  4. Junio C HamanoAug 17, 2016
  5. Johannes SchindelinAug 18, 2016
  6. Duy NguyenAug 22, 2016
  7. Johannes SchindelinAug 23, 2016
  8. Michael J GruberAug 23, 2016
  9. Johannes SchindelinAug 23, 2016
  10. Johannes SchindelinAug 23, 2016
  11. Junio C HamanoAug 23, 2016
  12. Junio C HamanoAug 23, 2016
  13. Dakota HawkinsAug 24, 2016
  14. Git for Windows documentation, was Re: [git-for-windows] Re: [ANNOUNCE] Git for Windows 2.9.3Johannes Schindelin, Aug 24, 2016
  15. Dakota HawkinsAug 24, 2016
  16. Philip OakleyAug 24, 2016
  17. Johannes SchindelinAug 25, 2016
  18. Johannes SchindelinAug 24, 2016
  19. Junio C HamanoAug 24, 2016
  20. core.autocrlf, was Re: [git-for-windows] Re: [ANNOUNCE] Git for Windows 2.9.3Johannes Schindelin, Aug 24, 2016
  21. Junio C HamanoAug 24, 2016
  22. Johannes SchindelinAug 25, 2016
  23. Torsten BögershausenAug 25, 2016
  24. Johannes SchindelinAug 25, 2016

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.