vimrc: Set UTF-8 as vim's default encoding for commit messages

We avoid setting `encoding' and `termencoding', and opt to only setting
`fileencodings' because it's understood that vim sets the former two to
the user's system's "ANSI" and "OEM" code pages (setting either both if
they differ or only `encoding' if they're the same) [1].  The setting of
"OEM" is particularly significant as it is required for native characters
to be correctly displayed on the user's console [2].

We set "utf-8" as the only value of `fileencodings', there by making it
the default encoding used to save new commit messages to COMMIT_EDITMSG.
This is consistent with what git expects in an environment where the
user has not altered the value of `i18n.commitencoding'.

When loading an existing message, for operations such as 'commit --amend'
and 'rebase -i', our setting for `fileencodings' means that vim will first
attempt to load it as UTF-8 and then fallback to the encoding set by
`encoding' if unable to do so.  This encoding is expected to be "ANSI",
as mentioned above, and this side-effect is of benefit if the user does
have an altered value of `i18n.commitencoding'.  (Here, we're assuming
users not set this, if at all, to anything other than that of "ANSI"
because that is thought to be the most natural for their location.)

Users SHOULD unset `i18n.commitencoding' after this is released.  However,
failing to do so may not show any visible regressions.  (See tests for
case #2 at [3].)

This patch follows the discussion in the [4] link.

[1] http://groups.google.com/group/msysgit/msg/be6218f1cbf5e747
[2] http://groups.google.com/group/vim_dev/msg/3dd77f3014a60e43
[3] http://groups.google.com/group/msysgit/msg/508cca8b57f00546
[4] http://groups.google.com/group/msysgit/msg/55c582fb1b279d08
Supersede the older 'an/vim-utf-8' for this newer version

This merge supercedes an older version of 'an/vim-utf-8' (6017a8db...)
which was under github/msysgit and was merged into 'devel' in favour
of a newer version under github/atnak (ee24d5bd...).

This merge was created using `git merge -s ours <older_version>'.

The discussion pertaining to this merge follows:

On Wed, 08 Feb 2012 10:28:36 +0900
Atsushi Nakagawa <at...@chejz.com> wrote:
> Oops, I just noticed that the version of "an/vim-utf-8" that was merged
> is an older version in msysgit/msysgit[1] which I couldn't work out how
> to push over.
>
> The last version that I pushed was to atnak/msysgit[2] and this list[3].
> The only delta (aside from the commit message) is an addition of
> "git-rebase-todo" to the file name pattern (for `rebase -i').
>
> [...]
>
> [1] https://github.com/msysgit/msysgit/tree/an/vim-utf-8
> [2] https://github.com/atnak/msysgit/commits/an/vim-utf-8
> [3] http://groups.google.com/group/msysgit/browse_thread/thread/ab5ad659831b0fe0
Merge remote-tracking branch 'atnak/an/vim-utf-8' into devel
Add a README.md file (so that our GitHub repository has something to show)

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
clarify context menu entry choice between cheetah and registry

Many users seem to get confused when asked to decide between
"Context menu entries" and "git-cheetah shell extension".

Since they want the context menu entries many will choose the registry
based ones since it explicitely talks about the context menu.

Lets talk about the same thing "context menu" and distinguish them by
calling them advanced and simple. To help existing users to recognize
these option from the previous installers mention the methods
(cheetah/registry) in brackets.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Fix path to file(1)'s magic file

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Let the net installer optionally bundle profile.d/*.sh files

This makes it convenient to come up with custom installers for development
environments requiring more than just msysGit.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix net installer's profile.d copying

It helps to look in the right place.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
run-tests: run more tests in parallel

This forces us to save on screen estate...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Update the submodules in preparation for 1.7.10

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Git for Windows 1.7.10-preview20120409
Commit the git-cheetah submodule in preparation for 1.7.10

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Git for Windows 1.7.10-preview20120409
msvc-build: make sure transient files are git-ignored

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove a 'known issue' that is no longer an issue.

As the provided builds now contain the unicode patches, unicode
support for filenames work.  This removes the need to document
the historical character encoding issues that were a problem
for msysgit.
Merge pull request #5 from ciaranj/UpdateReleaseNotesForUnicode

Remove a 'known issue' that is no longer an issue.
WinGit: Do not create a release tag if it already exists

Also, if a tag is reused or created, show its name.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
apply-from-gmane: grok mid.gmane.org URLs and strip newlines from URLs

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Installer: Increase the text label width on the core.autocrlf options page

The word "projects" in the second choice is cropped otherwise.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Default the TERM environment variable suitable for use with less.

By default on windows the TERM environment variable is configured as
'winansi' in git unless previously set. This is not accepted by the default
pager (less) which produces an error message:
 "WARNING: terminal is not fully functional"
Under git-bash TERM is configured by the shell as cygwin which less accepts
and here we configure it as "msys" which also is acceptable to less.

Signed-off-by: Theo Niessink <niessink@martinic.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>