Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

New git.exe wrapper do not return correctly #43

@frosteyes

Description

@frosteyes

Hello. Hope I report this correctly.

Just installed Git-1.7.11-preview20120704.exe and can see an issue with git.exe wrapper, where it returns 1, instead of 0.

From a new install on a windows xp machine without any git installation before.

Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.

Y:>echo %errorlevel%
0

Y:>git --version
git version 1.7.11.msysgit.1

Y:>echo %errorlevel%
1

Y:>

On a windows 7 64 bit, just upgraded to 1.7.11.1, and still have the old git.cmd wrapper.

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\cst>echo %errorlevel%
0

C:\Users\cst>git.cmd --version
git version 1.7.11.msysgit.1

C:\Users\cst>echo %errorlevel%
0

C:\Users\cst>git.exe --version
git version 1.7.11.msysgit.1

C:\Users\cst>echo %errorlevel%
1

C:\Users\cst>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions