diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2017-11-10 13:21:05 +0100 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2017-11-10 13:21:05 +0100 |
commit | 597c6367e695263fc5b9998996355ef7af512888 (patch) | |
tree | 81e754b707bd0fec66777a7c0ddbe0613c53f300 | |
parent | a1e732b98de17e164956d9198bab6a7ff8757726 (diff) |
Search revisions on origin/master branch.
Change-Id: I1e0976a1158968d31b00cded242929a7b2411e5d
-rwxr-xr-x | backflip | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -195,9 +195,9 @@ fi # ============================================================================== for REV in "$@" do - SHA1=`git log --format=format:"%H" --grep=trunk@${REV} master` + SHA1=`git log --format=format:"%H" --grep=trunk@${REV} origin/master` if [ -z "$SHA1" ]; then - die "${red}Revision ${REV} is missing in master history${NC}" + die "${red}Revision ${REV} is missing in origin/master history${NC}" fi done @@ -232,7 +232,7 @@ print_info "example: ${bold}backflip -r master${NC}" # ============================================================================== print_step "Finding SHA1 for SVN revision $REV" # ============================================================================== -SHA1=`git log --format=format:"%H" --grep=trunk@${REV} master` +SHA1=`git log --format=format:"%H" --grep=trunk@${REV} origin/master` print_info "${NC}SVN rev ${bold}${REV}${NC} SHA1: ${bold}${SHA1}${NC}" if $INTERACTIVE; then ask "${bold}View the commit [N/y] ?" user_view |