ed from mingw.c which is included by msvc.c to a separate file. Then,
the new file "compat/win32/path-utils.h" was only included for the __CYGWIN__
and __MINGW32__ cases in git-compat-util.h, the case for _MSC_VER was missing.
Signed-off-by: Sven Strickroth
---
config.mak.uname | 1
t/win32/path-utils.o
> for the Windows build.
> In the git-for windows codebase I see
> COMPAT_OBJS +=compat/win32/path-utils
I don't use config.mak.uname and never did, so I can't tell you about that.
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
A path such as 'c:/somepath/submodule/../.git/modules/submodule' wasn't
resolved correctly any more, because the *nix variant of
offset_1st_component is used instead of the Win32 specific version.
Regression was introduced in commit
25d90d1cb72ce51407324259516843406142fe89.
Sign
Signed-off-by: Sven Strickroth
---
.mailmap | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.mailmap b/.mailmap
index f165222a78..a30f409f39 100644
--- a/.mailmap
+++ b/.mailmap
@@ -235,6 +235,8 @@ Steven Grimm
Steven Grimm kor...@midwinter.com
Steven Walter
Steven Walter
+Sven
This also removes an implicit conversion from size_t (unsigned) to int (signed).
_stricmp as well as _strnicmp are both available since VS2012.
Signed-off-by: Sven Strickroth
---
compat/msvc.h | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/compat/msvc.h b/compat
This also removes an implicit conversion from size_t (unsigned) to int (signed).
_stricmp as well as _strnicmp are both available since VS2012.
Signed-off-by: Sven Strickroth
---
compat/msvc.h | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/compat/msvc.h b/compat
Signed-off-by: Sven Strickroth
---
Documentation/gitweb.txt | 2 +-
bisect.c | 2 +-
gitweb/gitweb.perl | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt
index 96156e5e1..88450589a 100644
--- a
Signed-off-by: Sven Strickroth
---
Documentation/gitweb.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt
index 96156e5e1..88450589a 100644
--- a/Documentation/gitweb.txt
+++ b/Documentation/gitweb.txt
@@ -84,7 +84,7
ot updated and still
points to the .git directory of the parent repository which now is a file.
This issue is present for me in Git 2.12.0.
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
and ours
should be swapped in git index, so that git checkout --theirs and --ours
work as expected.
PS: I'm sorry if this was already discussed, I haven't found any discussion.
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
VS2010 comes with stdint.h [1]
VS2013 comes with inttypes.h [2]
[1] https://stackoverflow.com/a/2628014/3906760
[2]
https://blogs.msdn.microsoft.com/vcblog/2013/07/19/c99-library-support-in-visual-studio-2013/
Signed-off-by: Sven Strickroth
---
compat/mingw.h | 2 +-
compat
[1] https://msdn.microsoft.com/en-us/library/1kt27hek.aspx
Signed-off-by: Sven Strickroth
---
compat/snprintf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat/snprintf.c b/compat/snprintf.c
index 42ea1ac..0b11688 100644
--- a/compat/snprintf.c
+++ b/compat/snprintf.c
@@
Signed-off-by: Sven Strickroth
---
compat/mingw.h | 2 +-
compat/vcbuild/include/unistd.h | 4
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/compat/mingw.h b/compat/mingw.h
index 6b6d695..137f42e 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -415,7
Reduce the number of defines which need to be managed within vanilal git.
Signed-off-by: Sven Strickroth
---
compat/mingw.h | 2 +-
compat/vcbuild/include/unistd.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/compat/mingw.h b/compat/mingw.h
index
In MSVC2015 the behavior of vsnprintf was changed.
W/o this fix there is one character missing at the end.
Signed-off-by: Sven Strickroth
---
compat/snprintf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat/snprintf.c b/compat/snprintf.c
index 42ea1ac..0b11688 100644
commit log skeleton first when concluding a normal merge,
and then show the "# Conflicts:" list, to help the user write the
log message for the resulting commit.
Test by Junio C Hamano .
Signed-off-by: Sven Strickroth
---
builtin/commit.c | 11 ++-
t/t7600-merge.sh | 28 +
commit log skeleton first when concluding a normal merge,
and then show the "# Conflicts:" list, to help the user write the
log message for the resulting commit.
Signed-off-by: Sven Strickroth
---
builtin/commit.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/b
When concluding a conflicted "git merge --squash", the command
failed to read SQUASH_MSG that was prepared by "git merge", and
showed only the "# Conflicts:" list of conflicted paths.
Signed-off-by: Sven Strickroth
---
builtin/commit.c | 20
sts(git_path_squash_msg())) {
> read SQUASH_MSG;
> }
> if (file_exists(git_path_merge_msg()))
> read MERGE_MSG;
> }
> hook_arg1 = "merge";
> }
Here hook_arg1 would be always "merge&qu
After a merge --squash with a conflict the commit message did
not contain the information about the squashed commits, but
only the "# Conflicts:" information.
Signed-off-by: Sven Strickroth
---
builtin/commit.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/builtin/commit.c
ssues/1902
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Without this patch there might be open file handle leaks.
Signed-off-by: Sven Strickroth
Signed-off-by: Sup Yut Sum
---
config.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/config.c b/config.c
index 9fd275f..83caa25 100644
--- a/config.c
+++ b/config.c
@@ -1935,7
Without this patch there might be open file handle leaks.
Signed-off-by: Sven Strickroth
Signed-off-by: Sup Yut Sum
---
config.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/config.c b/config.c
index 9fd275f..8138d5d 100644
--- a/config.c
+++ b/config.c
@@ -2065,6 +2065,7 @@ int
Without this patch there might be open file handle leaks.
Signed-off-by: Sven Strickroth
Signed-off-by: Sup Yut Sum
---
config.c | 4
1 file changed, 4 insertions(+)
diff --git a/config.c b/config.c
index 9fd275f..c06dc2f 100644
--- a/config.c
+++ b/config.c
@@ -2010,6 +2010,7 @@ int
W/o this fix there is one character missing at the end.
Signed-off-by: Sven Strickroth
---
compat/snprintf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat/snprintf.c b/compat/snprintf.c
index 42ea1ac..0b11688 100644
--- a/compat/snprintf.c
+++ b/compat/snprintf.c
Am 14.08.2015 um 21:35 schrieb Eric Sunshine:
>> Signed-off-by: Sup Yut Sum
>> Signed-off-by: Sven Strickroth
>> ---
>> diff --git a/config.c b/config.c
>> index 9fd275f..89b49e3 100644
>> --- a/config.c
>> +++ b/config.c
>> @@ -2048,6 +2048,7 @
Without this patch there might be open handle leaks.
Signed-off-by: Sup Yut Sum
Signed-off-by: Sven Strickroth
---
config.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/config.c b/config.c
index 9fd275f..89b49e3 100644
--- a/config.c
+++ b/config.c
@@ -2048,6 +2048,7 @@ int
uot; parameter (or a parameter with a
better naming) to "git status".
What do you think of this idea?
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
oblem for me was, that
_WIN32_WINNT was set to 0x0600 and thus winsck2.h was also declaring pollfd.
Building libgit works now.
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Am 09.05.2013 15:21 schrieb Jonathan Nieder:
> Sven Strickroth wrote:
>
>> With MSVC initializing a variable with "int a=a" causes a warning about
>> using an uninitialized value.
> [...]
>> --- a/builtin/rev-list.c
>> +++ b/builtin/rev-list.c
>&
hich also doesn't exist
for MSVC.
Including compat/poll into the includes path causes redefinition errors.
How have you tested this?
I think the check in git-compat-util.h has to be extended to only
include any poll.h if _MSC_VER is defined.
--
Best regards,
Sven Strickroth
PGP key id F5A
Am 09.05.2013 03:12 schrieb Sven Strickroth:
> Some compilers, like Visual C++ complain when <> is used instead of
> double quotes for non system includes.
I just noticed that this patch isn't necessary for 1.8.3 (since
41f2999180f5a58f2a4214d896359c1587c9024f) any more. Sorry
Hi,
I've 3 patches fixing warnings and errors when compiling with latest
MSVC (2012).
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
With MSVC initializing a variable with "int a=a" causes a warning about
using an uninitialized value.
Signed-off-by: Sven Strickroth
---
builtin/rev-list.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/rev-list.c b/builtin/rev-list.c
index 67701be..13af
Some compilers, like Visual C++ complain when <> is used instead of
double quotes for non system includes.
Signed-off-by: Sven Strickroth
---
compat/poll/poll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat/poll/poll.c b/compat/poll/poll.c
index 7d226ec..b
Since the latest version of MSVC EWOULDBLOCK, EAFNOSUPPORT and
ECONNABORTED are defined in errno.h. When used with MSVC mingw.h
is included from msvc.h and causes warnings about redefinitions.
Signed-off-by: Sven Strickroth
---
compat/mingw.h | 6 ++
1 file changed, 6 insertions(+)
diff
Am 07.02.2013 00:22 schrieb Jeff King:
> On Wed, Feb 06, 2013 at 10:58:49PM +0100, Sven Strickroth wrote:
>
>> Default values for *plink can be set using PuTTY. If a user makes
>> telnet the default in PuTTY this breaks ssh clones in git.
>>
>> Since git clones of t
Am 07.02.2013 00:22 schrieb Jeff King:
> On Wed, Feb 06, 2013 at 10:58:49PM +0100, Sven Strickroth wrote:
>
>> Default values for *plink can be set using PuTTY. If a user makes
>> telnet the default in PuTTY this breaks ssh clones in git.
>>
>> Since git clones of t
Default values for *plink can be set using PuTTY. If a user makes
telnet the default in PuTTY this breaks ssh clones in git.
Since git clones of the type user@host:path use ssh, tell *plink
to use ssh and override PuTTY defaults for the protocol to use.
Signed-off-by: Sven Strickroth
nd this, TortoiseGitMerge does not
require the ":" after the arguments anymore which fixes handling file
names with spaces [2] (as written above).
[1] http://www.mingw.org/wiki/Posix_path_conversion
[2] https://github.com/msysgit/msysgit/issues/57
Signed-off-by: Sven Strickroth
Reported-by: Seb
the quotes). To work around this, TortoiseGitMerge does not
>> require the ":" after the arguments anymore which fixes handling file
>> names with spaces.
>>
>> [1] http://www.mingw.org/wiki/Posix_path_conversion
>
> Sven?
I just mailed a new patch. Thanks to Sebas
Am 01.02.2013 21:07 schrieb Sebastian Schuberth:
> mergetools: Teach tortoisemerge about TortoiseGitMerge
This subject doesn't make any sense if we don't combine the two patches.
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
--
To unsubscribe from this l
er, TortoiseGitMerge was
modified in order to handle filenames with spaces correctly. The
"-key value" form was choosen because this way no escaping for
quotes within quotes is necessary; see
https://github.com/msysgit/msysgit/issues/57
Signed-off-by: Sven Strickroth
Reported-by: Sebast
e improved its syntax to allow for file paths
> with spaces. Detect when it is installed and prefer it over
> TortoiseMerge.
This message implies, that I have to combine two patches again?!
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
--
To unsubscribe from this li
-values by space instead
of colons as TortoiseSVN TortoiseMerge does and supports filesnames
with spaces in it this way now.
Signed-off-by: Sven Strickroth
Reported-by: Sebastian Schuberth
---
mergetools/tortoisemerge | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a
The TortoiseGit team renamed TortoiseMerge.exe to TortoiseGitMerge.exe
(starting with 1.8.0) in order to make clear that this one has special
support for git and prevent confusion with the TortoiseSVN TortoiseMerge
version.
Signed-off-by: Sven Strickroth
---
mergetools/tortoisemerge | 11
The TortoiseGit team renamed TortoiseMerge.exe to TortoiseGitMerge.exe
(starting with 1.8.0) in order to make clear that this one has special
support for git and prevent confusion with the TortoiseSVN TortoiseMerge
version.
Signed-off-by: Sven Strickroth
---
mergetools/tortoisemerge | 11
Am 25.01.2013 19:28 schrieb Junio C Hamano:> Sven Strickroth
writes:
>
>> TortoiseGitMerge and filenames with spaces
>
> ??? ECANNOTPARSE.
>
> ... ah, wait. Is this a broken-off tail of your subject line?
Yes.
>> +touch "$BACKUP&qu
TortoiseSVN TortoiseMerge version.
- The tortoisemerge mergetool does not work with filenames which have
a space in it. Fixing this required changes in git and also in
TortoiseGitMerge; see https://github.com/msysgit/msysgit/issues/57.
Signed-off-by: Sven Strickroth
Reported-by: Sebastian
TortoiseSVN TortoiseMerge version.
- The tortoisemerge mergetool does not work with filenames which have
a space in it. Fixing this required changes in git and also in
TortoiseGitMerge; see https://github.com/msysgit/msysgit/issues/57.
Signed-off-by: Sven Strickroth
Reported-by: Sebastian
Am 24.01.2013 20:51 schrieb Junio C Hamano:
> Sven Strickroth writes:
>
>> - The TortoiseGit team renamed TortoiseMerge.exe to TortoiseGitMerge.exe
>> (starting with 1.8.0) in order to make clear that this one has special
>> support for git and prevent confus
Am 21.01.2013 09:26 schrieb Sven Strickroth:
> - The TortoiseGit team renamed TortoiseMerge.exe to TortoiseGitMerge.exe
> (starting with 1.8.0) in order to make clear that this one has special
> support for git and prevent confusion with the TortoiseSVN TortoiseMerge
> vers
have
a space in it. Fixing this required changes in git and also in
TortoiseGitMerge; see https://github.com/msysgit/msysgit/issues/57.
The new tortoisegitmerge helper was added so that people can still use
TortoiseMerge from TortoiseSVN (and older TortoiseGit versions).
Signed-off-by: Sven
have
a space in it. Fixing this required changes in git and also in
TortoiseGitMerge; see https://github.com/msysgit/msysgit/issues/57.
The new tortoisegitmerge helper was added so that people can still use
TortoiseMerge from TortoiseSVN (and older TortoiseGit versions).
Signed-off-by: Sven
ls/tortoisegitmerge b/mergetools/tortoisegitmerge
new file mode 100644
index 000..5b802a7
--- /dev/null
+++ b/mergetools/tortoisegitmerge
@@ -0,0 +1,17 @@
+can_diff () {
+ return 1
+}
+
+merge_cmd () {
+ if $base_present
+ then
+ touch "$BACKUP"
+ "$merge_tool_pa
for non password queries, and makes use of it instead of using
hand-rolled prompt-response code that only works with the interactive
terminal.
Signed-off-by: Sven Strickroth
---
perl/Git.pm| 28 +---
perl/Git/SVN/Prompt.pm | 16 +++-
2 files changed
If GIT_ASKPASS environment variable is not set, git-svn does not try to use
SSH_ASKPASS as git-core does. This change adds a fallback to SSH_ASKPASS.
Signed-off-by: Sven Strickroth
---
perl/Git.pm | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/perl/Git.pm b/perl
to solve
this issue, but was incomplete as described above.
Instead of using hand-rolled prompt-response code that only works with the
interactive terminal, a reusable prompt() method is introduced in this commit.
Signed-off-by: Sven Strickroth
---
perl/Git.pm| 45
Hi,
Am 26.11.2012 05:50 schrieb Junio C Hamano:
> Sven Strickroth writes:
>
>> Am 11.11.2012 17:40 schrieb Sven Strickroth:
>>> Am 06.10.2012 20:28 schrieb Junio C Hamano:
>>>> It is either that it was simply forgotten, or after I wrote the part
>>&g
Hi,
Am 11.11.2012 17:40 schrieb Sven Strickroth:
> Am 06.10.2012 20:28 schrieb Junio C Hamano:
>> It is either that it was simply forgotten, or after I wrote the part
>> you quoted early in January there were discussions later that showed
>> the patch was not desirable for
for non password queries, and makes use of it instead of using
hand-rolled prompt-response code that only works with the interactive
terminal.
Signed-off-by: Sven Strickroth
---
perl/Git.pm| 28 +---
perl/Git/SVN/Prompt.pm | 16 +++-
2 files changed
introduced in this commit.
This change also adds a fallback to SSH_ASKPASS.
Signed-off-by: Sven Strickroth
---
perl/Git.pm| 48 +++-
perl/Git/SVN/Prompt.pm | 20 +---
2 files changed, 48 insertions(+), 20 deletions(-)
diff
possible problems, so I try again.
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
there a reason why these changes did not get merged? The issues are
still there.
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
s umlauts and other
unicode chars like (國立1-.txt) the Windows 7 build-in zip displays
them correctly, too.
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to m
TF-8. (see APPENDIX D)
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-server
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
ve: 1.zip
4490a6dab1df5404f91ab3eb871f133154bff0bf
Length DateTimeName
- -- -
6 2012-08-10 23:41 +?+?++.txt
- ---
6 1 file
--
Best regards,
Sven Strickroth
PGP key id F5A9D4C4 @ any key-se
67 matches
Mail list logo