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

Side by Side Diff: man/src/git-squash-branch.demo.1.sh

Issue 197213008: Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/… (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Use "/usr/bin/env bash" for these files too. Created 6 years, 7 months 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 unified diff | Download patch
« no previous file with comments | « man/src/git-new-branch.demo.1.sh ('k') | man/src/make_docs.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/usr/bin/env bash
2 . demo_repo.sh 2 . demo_repo.sh
3 3
4 run git map 4 run git map
5 echo 5 echo
6 6
7 # since these are all empty commits, pretend there's something there 7 # since these are all empty commits, pretend there's something there
8 pcommand git squash-branch -m "cool squash demo" 8 pcommand git squash-branch -m "cool squash demo"
9 git squash-branch -m "cool squash demo" > /dev/null 2> /dev/null 9 git squash-branch -m "cool squash demo" > /dev/null 2> /dev/null
10 c "cool squash demo" 10 c "cool squash demo"
11 11
12 run git map 12 run git map
OLDNEW
« no previous file with comments | « man/src/git-new-branch.demo.1.sh ('k') | man/src/make_docs.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698