Merge branch 'jc/fetch'
authorJunio C Hamano <junkio@cox.net>
Fri, 24 Mar 2006 07:46:06 +0000 (23:46 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 24 Mar 2006 07:46:06 +0000 (23:46 -0800)
* jc/fetch:
  fetch: exit non-zero when fast-forward check fails.

git-fetch.sh

index 0346d4a..6835634 100755 (executable)
@@ -179,6 +179,7 @@ fast_forward_local () {
                        ;;
                *)
                        echo >&2 "  not updating."
+                       exit 1
                        ;;
                esac
            }