Reasons
- people don't like seeing an "origin" remote immediately after
initializing a repository
- people don't like fetching PRs from the command line
We've been setting the fetch refspec in the repo config, so having the
fetch refspecs in the system config causes trouble. We might put this
back after we decide to unset the repo's config, but for now we'll fetch
PRs explicitly when cloning to a branch.
This file still lives in /etc/gitignore.suggested, and users can copy it
from there into their own repositories if desired. But now they won't
have to wonder why some files mysteriously aren't being tracked by Git.
We already do coloring for diff, but not for other commands. In my view,
status, branch and interactive are too used often, so it would be
logical to turn colors either on or off for the whole bundle. I vote for
on.
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
XXX at present bin/astextplain output encoding is hardcoded to UTF-8.
Even in such a state the service provided is more than useful, so let's
please merge the patch.
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
The curl executable uses that file as a source for root certificates,
but running curl as a library does not do that automatically. So we
have to tell Git about that file.
Suggested by Bosko Ivanisevic.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Using HTML as the default help format is no longer hardcoded
into help.c. Instead, we now use the configuration variable
help.format provided by core git to choose the help format.
Official git recently learnt to warn about irreversible CRLF
conversions. So it is time to switch on core.autocrlf=true on
Windows. This commit modifies /etc/gitconfig accordingly.
Note, msysgit developers should override this changed default by
explicitly setting core.autocrlf=false in msysgit and
msysgit/git. Msysgit is not (yet) a real cross-platform project
but more like a Unix project.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Since WinGit bundles /etc/gitconfig, we better track it. Also, this
allows us to set sensible defaults, such as symlinks = false and
packSizeLimit = 2g.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>