Merge branch 'jc/fetch' into next
authorJunio C Hamano <junkio@cox.net>
Fri, 17 Mar 2006 22:11:10 +0000 (14:11 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 17 Mar 2006 22:11:10 +0000 (14:11 -0800)
* jc/fetch:
  fetch: exit non-zero when fast-forward check fails.

git-fetch.sh

index c0eb967..954901d 100755 (executable)
@@ -185,6 +185,7 @@ fast_forward_local () {
                        ;;
                *)
                        echo >&2 "  not updating."
+                       exit 1
                        ;;
                esac
            }