Search revisions on origin/master branch.
Change-Id: I1e0976a1158968d31b00cded242929a7b2411e5d
diff --git a/backflip b/backflip
index 87a6e53..02ed430 100755
--- a/backflip
+++ b/backflip
@@ -195,9 +195,9 @@
# ==============================================================================
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_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