Add the pre and post hook calls.

Signed-off-by: Peter van der Does <peter@avirtualhome.com>
Signed-off-by: Vincent Driessen <vincent@3rdcloud.com>
diff --git a/git-flow b/git-flow
index a03ba1f..4c8e40c 100755
--- a/git-flow
+++ b/git-flow
@@ -105,8 +105,15 @@
 		exit 1
 	fi
 
+	# Run hook action
+	do_hook pre
+	
 	# run the specified action
 	cmd_$SUBACTION "$@"
+	
+	# Run hook action
+	do_hook post
+	
 }
 
 main "$@"