Skip to content

Commit

Permalink
デフォルトの質問リストをSAMPLEからとってくるようにした
Browse files Browse the repository at this point in the history
知見を活かせるように
  • Loading branch information
shimokei53 committed Apr 16, 2016
1 parent 976bbba commit 5a70a52
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions gscme
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,13 @@ fi

CURRENT_DIR=$(cd $(dirname $0); pwd)
MSGLIST_FILE=$CURRENT_DIR/.gscme_msglist
SAMPLE_MSGLIST_FILE=$CURRENT_DIR/sample_msglist/.gscme_msglist_present_tense_subject

# .gscme_msglistファイルが無い場合は作る
# デフォルトの質問リストをセットする
if [[ ! -r $MSGLIST_FILE ]]; then
/bin/echo "please edit .gscme_msglist file."
cat <<EOF > $MSGLIST_FILE
どのような変更ですか?
この変更によって,どんなことが起きますか?
なぜその変更が必要でしたか?
参考URLなど(あれば)
EOF
cat $SAMPLE_MSGLIST_FILE > $MSGLIST_FILE
fi

COMMIT_MSG=""
Expand Down

0 comments on commit 5a70a52

Please sign in to comment.