Commit Graph

60552 Commits

Author SHA1 Message Date
Eric Wong
62335bbbc7 git-svn: shorten glob error message
Error messages should attempt to fit within the confines of
an 80-column terminal to avoid compatibility and accessibility
problems.  Furthermore the word "directories" can be misleading
when used in the context of git refnames.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
2016-03-15 01:35:39 +00:00
Victor Leschuk
e4e5dd94e6 git-svn: loosen config globs limitations
Expand the area of globs applicability for branches and tags
in git-svn. It is now possible to use globs like 'a*e', or 'release_*'.
This allows users to avoid long lines in config like:

	branches = branches/{release_20,release_21,release_22,...}

In favor of:

	branches = branches/release_*

[ew: amended commit message, minor formatting and style fixes]

Signed-off-by: Victor Leschuk <vleschuk@accesssoftek.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
2016-03-15 01:35:38 +00:00
Jean-Noel Avila
7a2c7e58dc l10n: fr.po v2.8.0 round 2
Signed-off-by: Jean-Noel Avila <jn.avila@free.fr>
2016-03-14 20:29:04 +01:00
Junio C Hamano
db6696f653 Merge branch 'mg/wt-status-mismarked-i18n'
* mg/wt-status-mismarked-i18n:
  wt-status: allow "ahead " to be picked up by l10n
2016-03-14 10:46:17 -07:00
Michael J Gruber
df227241dd wt-status: allow "ahead " to be picked up by l10n
The extra pair of parentheses keeps the l10n engine from picking up the
string. Remove them so that "ahead " ends up in git.pot.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-03-14 10:45:04 -07:00
Johannes Schindelin
9f3f612c46 Merge pull request #677 from yaras/fix-git-675
Fixed masking username with asterisks when reading credentials
2016-03-14 09:57:51 +01:00
Johannes Schindelin
cf0165cfa6 Mark win32's pthread_exit() as NORETURN
Pointed out by Jeff King.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:57:50 +01:00
yaras
636ad60284 Do not mask the username when reading credentials
When user is asked for credentials there is no need to mask username,
so PROMPT_ASKPASS flag on calling credential_ask_one for login is
unnecessary.

credential_ask_one internally uses git_prompt which in case of given
flag PROMPT_ASKPASS uses masked input method instead of
git_terminal_prompt, which does not mask user input.

This fixes #675

Signed-off-by: yaras <yaras6@gmail.com>
2016-03-14 09:57:47 +01:00
Johannes Schindelin
1c73171f70 Merge pull request #665 from yaras/fix-git-664
Fix initial git gui message encoding
2016-03-14 09:50:35 +01:00
Johannes Schindelin
f37950ee47 git gui: fix staging a second line to a 1-line file
When a 1-line file is augmented by a second line, and the user tries to
stage that single line via the "Stage Line" context menu item, we do not
want to see "apply: corrupt patch at line 5".

The reason for this error was that the hunk header looks like this:

	@@ -1 +1,2 @@

but the existing code expects the original range always to contain a
comma. This problem is easily fixed by cutting the string "1 +1,2"
(that Git GUI formerly mistook for the starting line) at the space.

This fixes https://github.com/git-for-windows/git/issues/515

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:50:34 +01:00
Johannes Schindelin
1477c99637 Merge pull request #620 from sidecut/sidecut-gitk-list-references-window-width
Make the "list references" default window width wider
2016-03-14 09:50:33 +01:00
Johannes Schindelin
a2e7156e6c Merge pull request #662 from shiftkey/issue_template
added issue template mirroring wiki notes
2016-03-14 09:50:31 +01:00
Johannes Schindelin
f982dfeed2 Merge branch 'consolez'
This fixes an issue where the Git wrapper would terminate upon Ctrl+C,
even in the case when its child process would *not* terminate.

Note: while the original intention was to fix running Git Bash in
ConsoleZ, the bug fix applies also to running

	C:\Program Files\Git\bin\bash -l -i

in a cmd window.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:50:29 +01:00
Johannes Schindelin
e075a46a51 Merge branch 'gitk-cursor-keys'
This patch needs to be contributed to gitk proper, of course.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:50:28 +01:00
Johannes Schindelin
70c36475c6 Merge branch 'clean-long-paths'
This addresses https://github.com/git-for-windows/git/issues/521

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:50:26 +01:00
Johannes Schindelin
d045e304ae Merge branch 'js/pull-rebase-i'
"git pull --rebase" has been extended to allow invoking
"rebase -i".

* js/pull-rebase-i:
  completion: add missing branch.*.rebase values
  remote: handle the config setting branch.*.rebase=interactive
  pull: allow interactive rebase with --rebase=interactive

Forward-port from upstream Git.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:50:24 +01:00
Johannes Schindelin
45906564fd Merge branch 'git-wrapper-interpolate'
There was a bug in the wrapper where it would interpolate incorrectly if
the name of the environment variable to expand was longer than the value.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:50:22 +01:00
Johannes Schindelin
65381ef161 Merge branch 'home-bin' 2016-03-14 09:50:21 +01:00
Johannes Schindelin
595b8da88d Merge branch 'conhost-git-bash' 2016-03-14 09:50:19 +01:00
Johannes Schindelin
b84e2b9155 Merge branch 'bash-redirector' 2016-03-14 09:50:17 +01:00
Johannes Schindelin
e3d7d0b871 Merge branch 'pinnable'
Part 2/3 of fixing https://github.com/git-for-windows/git/issues/263

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:50:15 +01:00
Johannes Schindelin
22359b00e1 Merge branch 'git-wrapper--command'
This topic branch adds the --command=<command> option that allows
starting the Git Bash (or Git CMD) with different terminal emulators
than the one encoded via embedded string resources.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:50:13 +01:00
Johannes Schindelin
6464ca30c7 Merge 'git-wrapper' into HEAD
Use msysGit's `git-wrapper` instead of the builtins. This works around
two issues:

- when the file system does not allow hard links, we would waste over
  800 megabyte by having 109 copies of a multi-megabyte executable

- even when the file system allows hard links, the Windows Explorer
  counts the disk usage as if it did not. Many users complained about
  Git for Windows using too much space (when it actually did not). We
  can easily avoid those user complaints by merging this branch.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:50:12 +01:00
Johannes Schindelin
34e4375bf5 Merge 'aslr' into HEAD
Address Space Layout Randomization (ASLR) allows executables' memory
layout to change at random between runs, and therefore offers a quite
decent protection against many attacks.

We enable ASLR because MSYS2's C compiler offers support for ASLR, and
whatever performance impact it has is neglible, according to
https://insights.sei.cmu.edu/cert/2014/02/differences-between-aslr-on-windows-and-linux.html

This merges the part of https://github.com/git-for-windows/git/pull/612
that does not break Git ;-)

This fixes https://github.com/git-for-windows/git/issues/608

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:50:08 +01:00
Johannes Schindelin
c7c7c12f0c Merge 'unc-alternates' into HEAD 2016-03-14 09:50:07 +01:00
Johannes Schindelin
0519ce42c1 Merge pull request #552 from duncansmart/fix-vcproj-gen
Fix Visual Studio .sln/.vcproj generation.
2016-03-14 09:50:05 +01:00
Johannes Schindelin
8de411f4c5 Merge pull request #487 from dscho/default-username
Improve the default user name & email logic
2016-03-14 09:50:04 +01:00
Johannes Schindelin
b075646971 Merge pull request #486 from dscho/mmap-no-error
Better mmap() emulation
2016-03-14 09:50:01 +01:00
Johannes Schindelin
1d3d58b980 Merge branch 'msys2-git-gui'
This topic branch addresses the bug where Git for Windows 2.x' Git GUI
failed to generate a working shortcut via Repository>Create Desktop
Shortcut.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:49:59 +01:00
Johannes Schindelin
0a3604906d Merge pull request #443 from kblees/kb/nanosecond-file-times-v2.5.3
nanosecond file times for v2.5.3
2016-03-14 09:49:58 +01:00
Johannes Schindelin
6ed75006a5 Merge pull request #305 from dscho/msysgit_issues_182
Allow `add -p` and `add -i` with a large number of files
2016-03-14 09:49:56 +01:00
Johannes Schindelin
3d22b15753 Merge pull request #246 from uecasm/patch-1
Verify memoized files can be reloaded before using them
2016-03-14 09:49:53 +01:00
Johannes Schindelin
2c8b691136 Merge branch 'program-data-config'
This branch introduces support for reading the "Windows-wide" Git
configuration from `%PROGRAMDATA%\Git\config`. As these settings are
intended to be shared between *all* Git-related software, that config
file takes an even lower precedence than `$(prefix)/etc/gitconfig`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:49:51 +01:00
Johannes Schindelin
5052f6e6e3 Merge pull request #159 from dscho/vagrant
Add Vagrant support (easy Linux VM setup)
2016-03-14 09:49:50 +01:00
Johannes Schindelin
9609d516eb Merge pull request #156 from kblees/kb/symlinks
Symlink support
2016-03-14 09:49:50 +01:00
Johannes Schindelin
6e8f07341e Merge 'sideband-bug' into HEAD
This works around the push-over-git-protocol issues pointed out in
https://github.com/msysgit/git/issues/101.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:49:48 +01:00
Johannes Schindelin
f01829da47 Merge 'readme' into HEAD
Add a README.md for GitHub goodness.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:49:45 +01:00
Johannes Schindelin
5916b0c38f Merge 'fix-is-exe' into HEAD 2016-03-14 09:49:43 +01:00
Johannes Schindelin
2da215b99e Merge 'fix-externals' into HEAD 2016-03-14 09:49:42 +01:00
Johannes Schindelin
bdbb0e8425 Merge 'remote-hg-prerequisites' into HEAD
These fixes were necessary for Sverre Rabbelier's remote-hg to work,
but for some magic reason they are not necessary for the current
remote-hg. Makes you wonder how that one gets away with it.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:49:40 +01:00
Johannes Schindelin
722858ba74 Merge 'win-tests-fixes' into HEAD 2016-03-14 09:49:38 +01:00
Johannes Schindelin
50f8a4aaa8 Merge 'msys2' into HEAD
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-03-14 09:49:36 +01:00
Johannes Schindelin
eaee9530c9 Merge 'jberezanski/wincred-sso-r2' into HEAD 2016-03-14 09:49:35 +01:00
Johannes Schindelin
9620e95c88 Merge 'gitk' into HEAD 2016-03-14 09:49:34 +01:00
Johannes Schindelin
15a669501f Merge 'git-gui' into HEAD 2016-03-14 09:49:30 +01:00
Johannes Schindelin
81575f779a Merge 'hide-dotgit' into HEAD 2016-03-14 09:49:28 +01:00
Johannes Schindelin
1d50c05448 Merge 'unicode' into HEAD 2016-03-14 09:49:27 +01:00
yaras
5e8723dbdd Fix initial git gui message encoding
This fix refers https://github.com/git-for-windows/git/issues/664

After `git merge --squash` git creates .git/SQUASH_MSG (UTF-8 encoded)
which contains squashed commits. When run `git gui` it copies SQUASH_MSG
to PREPARE_COMMIT_MSG, but without honoring UTF-8. This leads to encoding
problems on `git gui` commit prompt.

The same applies on git cherry-pick conflict, where MERGE_MSG is created
and then is copied to PREPARE_COMMIT_MSG.

In both cases PREPARE_COMMIT_MSG must be configured to store data in UTF-8.

Signed-off-by: yaras <yaras6@gmail.com>
2016-03-14 09:49:25 +01:00
James J. Raden
4ad7dc4859 gitk: make the "list references" default window width wider
When using remotes (with git-flow especially), the remote reference names
are almost always wordwrapped in the "list references" window because it's
somewhat narrow by default. It's possible to resize it with a mouse,
but it's annoying to have to do this every time, especially on Windows 10,
where the window border seems to be only one (1) pixel wide, thus making
the grabbing of the window border tricky.

Signed-off-by: James J. Raden <james.raden@gmail.com>
2016-03-14 09:49:21 +01:00
Brendan Forster
e374fe40dc added issue template mirroring wiki notes 2016-03-14 09:49:17 +01:00