From 71ed0ab06974d0bc72ad737645c35facf2b01c31 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Mon, 3 Nov 2014 20:02:12 +0100 Subject: Fix push not allowed to protected branch if commit starts with 7 zeros. --- lib/gitlab/git.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lib/gitlab/git.rb (limited to 'lib/gitlab/git.rb') diff --git a/lib/gitlab/git.rb b/lib/gitlab/git.rb new file mode 100644 index 00000000000..67aca5e36e9 --- /dev/null +++ b/lib/gitlab/git.rb @@ -0,0 +1,5 @@ +module Gitlab + module Git + BLANK_SHA = '0' * 40 + end +end -- cgit v1.2.1