Permalink
Browse files

build-git: Move commit count line closer to the menu

Readability.

6dc47f58-8da3-11e1-8701-fefdb24f8e10
  • Loading branch information...
1 parent 85b9cf1 commit d817b7e3561da101010b52fac8da3dc59644cd6a @sunny256 committed Apr 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 build-git
View
@@ -154,8 +154,6 @@ fetch_remotes
is_official_branch $local_master && destbranch=origin/$local_master || destbranch=$local_master
echo
if [ -n "$curr_git_ver" ]; then
- echo $(git log --format=oneline $curr_git_ver..$destbranch | wc -l) new commits available in range $curr_git_ver..$destbranch
- echo
echo ================= git status in `pwd` =================
git status
echo
@@ -164,6 +162,8 @@ if [ -n "$curr_git_ver" ]; then
until [ "$choice" = "y" ]; do
echo
unset choice
+ echo $(git log --format=oneline $curr_git_ver..$destbranch | wc -l) new commits available in range $curr_git_ver..$destbranch
+ echo
echo If that looks okay to you, press \'y\' to start the build, or:
echo \'d\' to diff
echo \'dw\' to word-diff

0 comments on commit d817b7e

Please sign in to comment.