Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VC
rust-gitlab
Commits
f84e9976
Commit
f84e9976
authored
Feb 13, 2017
by
Ben Boeckel
Browse files
webhooks: support `null` source project info
This indicates that the source repository has been deleted.
parent
143f6ecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/webhooks.rs.in
View file @
f84e9976
...
...
@@ -298,7 +298,9 @@ impl MergeRequestParams {
/// Merge request information exposed in hooks.
pub struct MergeRequestHookAttrs {
/// The source project of the merge request.
pub source: ProjectHookAttrs,
///
/// If this is `None`, the source repository has been deleted.
pub source: Option<ProjectHookAttrs>,
/// The target project of the merge request.
pub target: ProjectHookAttrs,
pub last_commit: Option<CommitHookAttrs>,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment