diff options
Diffstat (limited to 'server/common/src/git_socket.rs')
| -rw-r--r-- | server/common/src/git_socket.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/common/src/git_socket.rs b/server/common/src/git_socket.rs index a4805be..6e1c7d4 100644 --- a/server/common/src/git_socket.rs +++ b/server/common/src/git_socket.rs @@ -5,16 +5,14 @@ pub struct GitReceive { pub old_value: String, pub new_value: String, pub reference: String, - // Only set for pre hooks, because server can't read the objects the pre-hook has not yet - // accepted, so to be able to validate the commiter, send them. Also only set if new_value - // is not empty. - pub commiter: Option<String>, } #[derive(Deserialize, Serialize)] pub struct GitHookRequest { pub pre: bool, pub receive: Vec<GitReceive>, + pub object_dir: Option<String>, + pub alt_object_dirs: Option<String>, } #[derive(Deserialize, Serialize)] |
