Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Issue 11312153: Fix PATH to find cmd\git.exe before bin\git.exe. (Closed)

Created:
8 years, 1 month ago by szager
Modified:
8 years, 1 month ago
Reviewers:
cmp, M-A Ruel
CC:
chromium-reviews, cmp+cc_chromium.org
Visibility:
Public.

Description

Fix PATH to find cmd\git.exe before bin\git.exe. cmd\git.exe appeared in the newer (1.8.0) version of msysgit. It appears to do some env setup before invoking bit\git.exe. If that setup is skipped, git may have trouble with commands that use the pager (e.g., `less`). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=166792

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/git_bin_packager/files/git.cmd View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 3 (0 generated)
szager
8 years, 1 month ago (2012-11-08 22:24:20 UTC) #1
cmp
lgtm with note https://codereview.chromium.org/11312153/diff/1/third_party/git_bin_packager/files/git.cmd File third_party/git_bin_packager/files/git.cmd (left): https://codereview.chromium.org/11312153/diff/1/third_party/git_bin_packager/files/git.cmd#oldcode7 third_party/git_bin_packager/files/git.cmd:7: @set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH% Your description didn't mention ...
8 years, 1 month ago (2012-11-08 22:35:58 UTC) #2
szager1
8 years, 1 month ago (2012-11-08 22:53:12 UTC) #3
On 2012/11/08 22:35:58, cmp wrote:
> lgtm with note
> 
>
https://codereview.chromium.org/11312153/diff/1/third_party/git_bin_packager/...
> File third_party/git_bin_packager/files/git.cmd (left):
> 
>
https://codereview.chromium.org/11312153/diff/1/third_party/git_bin_packager/...
> third_party/git_bin_packager/files/git.cmd:7: @set
> PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH%
> Your description didn't mention what happened to mingw.  Is it intentionally
> being removed here?

The mingw path is typically where you put the compiler toolchain that is used to
build msys.  We don't do that; we just ship the pre-built msys, so that path
doesn't exist in our installation.

Powered by Google App Engine
This is Rietveld 408576698