| OLD | NEW |
| (Empty) |
| 1 #!/bin/bash | |
| 2 | |
| 3 . common_demo_functions.sh | |
| 4 | |
| 5 TDIR=$(mktemp --tmpdir -d demo_repo.XXXXXXXXXX) | |
| 6 trap "rm -rf $TDIR" EXIT | |
| 7 | |
| 8 cd $TDIR | |
| 9 silent git clone "$REMOTE" . | |
| 10 silent git reset --hard stage_1 | |
| 11 silent git update-ref refs/remotes/origin/master stage_1 | |
| 12 silent git tag -d $(git tag -l 'stage_*') | |
| 13 silent git checkout origin/master | |
| 14 silent git branch -d master | |
| 15 silent git config color.ui always | |
| 16 | |
| 17 if [[ ! "$BLANK_DEMO" ]] | |
| 18 then | |
| 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" | |
| 42 fi | |
| 43 | |
| OLD | NEW |