OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 REMOTE=$(pwd)/demo_repo | 3 REMOTE=$(pwd)/demo_repo |
4 | 4 |
5 unset GIT_DIR | 5 unset GIT_DIR |
6 | 6 |
7 # Helper functions | 7 # Helper functions |
8 set_user() { | 8 set_user() { |
9 export GIT_AUTHOR_EMAIL="$1@chromium.org" | 9 export GIT_AUTHOR_EMAIL="$1@chromium.org" |
10 export GIT_AUTHOR_NAME="$1" | 10 export GIT_AUTHOR_NAME="$1" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 fi | 70 fi |
71 echo "$CONTENT" > $1 | 71 echo "$CONTENT" > $1 |
72 silent git add $1 | 72 silent git add $1 |
73 } | 73 } |
74 | 74 |
75 # Add a special callout marker at the given line offset to indicate to | 75 # Add a special callout marker at the given line offset to indicate to |
76 # filter_demo_output.py to add a callout at that offset. | 76 # filter_demo_output.py to add a callout at that offset. |
77 callout() { | 77 callout() { |
78 echo -e "\x1b[${1}c" | 78 echo -e "\x1b[${1}c" |
79 } | 79 } |
OLD | NEW |