From 9e80b8cd1e44fcf863d926055d9fa458db46e0d3 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 26 Jan 2025 21:58:42 +0100 Subject: Add basic git support Pushing a commit to a new branch creates a review. Each project has its own git directory, with githooks installed that talkes with server process via unix sockets. --- server/src/db_utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/db_utils.rs') diff --git a/server/src/db_utils.rs b/server/src/db_utils.rs index b7e1fd5..ccc07ff 100644 --- a/server/src/db_utils.rs +++ b/server/src/db_utils.rs @@ -95,11 +95,11 @@ where pub fn ok(&self) -> bool { self.sanity_check(); - return !self + !self .names .as_ref() .expect("BUG: names taken already") - .is_empty(); + .is_empty() } pub fn build(&mut self) -> (String, >::Arguments) { -- cgit v1.2.3-70-g09d2