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

Unified Diff: git-bash

Issue 1496343003: Add trivial git-bash so that it can always drop you into a bash term, (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: add comment Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-bash
diff --git a/git-bash b/git-bash
new file mode 100755
index 0000000000000000000000000000000000000000..0a5be93217497ea9885fb7a6adb54bd0b7e3714b
--- /dev/null
+++ b/git-bash
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This apparently useless file enables windows users to get access to
+# depot_tools' built-in bash.exe. When git executes this file as in `git bash`,
+# it has bash and related tools pre-installed in the environment. Therefore even
+# though 'bash' from cmd.exe doesn't work, bash here does work as you'd expect.
+
+bash "$@"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698