Skip to content

Commit

Permalink
Merge branch 'redbeardcreator-fix-find-warning'
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed May 4, 2016
2 parents 891ca83 + 741fc27 commit 47c8996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-standup
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

function usage() {
cat <<EOS
Usage:
Usage:
git standup [-a <author name>] [-w <weekstart-weekend>] [-d <days-ago>] [-m <max-dir-depth>] [-g] [-h]
-a - Specify author to restrict search to
Expand Down Expand Up @@ -133,7 +133,7 @@ if [[ ! -d ".git" ]]; then

## Iterate through all the top level directories inside
## and look for any git repositories.
for DIR in `find . -name .git -type d -maxdepth $MAXDEPTH -mindepth 0`; do
for DIR in `find . -maxdepth $MAXDEPTH -mindepth 0 -name .git -type d`; do

cd "`dirname $DIR`"
CUR_DIR=`pwd`
Expand Down

0 comments on commit 47c8996

Please sign in to comment.