projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53dc463
)
fetch: exit non-zero when fast-forward check fails.
author
Junio C Hamano
<junkio@cox.net>
Fri, 17 Mar 2006 06:04:18 +0000
(22:04 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 17 Mar 2006 22:10:36 +0000
(14:10 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh
patch
|
blob
|
history
diff --git
a/git-fetch.sh
b/git-fetch.sh
index
0346d4a
..
6835634
100755
(executable)
--- a/
git-fetch.sh
+++ b/
git-fetch.sh
@@
-179,6
+179,7
@@
fast_forward_local () {
;;
*)
echo >&2 " not updating."
+ exit 1
;;
esac
}