blob: a07a47ee8885d9a471bcfa8b1427e7f083325ada [file] [log] [blame]
iannucci@chromium.org21980022014-04-11 04:51:49 +00001#!/bin/bash
2
3. common_demo_functions.sh
4
5TDIR=$(mktemp --tmpdir -d demo_repo.XXXXXXXXXX)
6trap "rm -rf $TDIR" EXIT
7
8cd $TDIR
9silent git clone "$REMOTE" .
10silent git reset --hard stage_1
11silent git update-ref refs/remotes/origin/master stage_1
12silent git tag -d $(git tag -l 'stage_*')
13silent git checkout origin/master
14silent git branch -d master
15silent git config color.ui always
16
17if [[ ! "$BLANK_DEMO" ]]
18then
19 silent git new-branch cool_feature
20
21 c "Add widget"
22 c "Refactor spleen"
23 silent git tag spleen_tag
24
25 c "another improvement"
26
27 silent git new-branch --upstream_current subfeature
28 c "slick commenting action"
29 c "integrate with CoolService"
30
31 silent git checkout cool_feature
32 c "Respond to CL comments"
33
34 silent git new-branch fixit
35 c "Epic README update"
36 c "Add neat feature"
37
38 silent git new-branch --upstream_current frozen_branch
39 c "a deleted file"
40 c "modfile"
41 c "FREEZE.unindexed"
42fi
43