Browse files

fixed bad route to .git

  • Loading branch information...
1 parent d6d99d3 commit 69ee6831250751192a8fa75f7b7fc2773c7acd27 @juanpabloaj juanpabloaj committed with lvv Jun 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-prompt.sh
View
2 git-prompt.sh
@@ -515,7 +515,7 @@ parse_git_status() {
if [[ ! -e $git_dir/FETCH_HEAD ]]; then
git fetch $remote >& /dev/null &
else
- fetchDate=$(date --utc --reference=.git/FETCH_HEAD +%s)
+ fetchDate=$(date --utc --reference=$git_dir/FETCH_HEAD +%s)
now=$(date --utc +%s)
delta=$(( $now - $fetchDate ))
# if last update to .git/FETCH_HEAD file

0 comments on commit 69ee683

Please sign in to comment.