-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add parent commit to the create commit (#29)
Co-authored-by: Alireza Eiji <[email protected]>
- Loading branch information
1 parent
f54efb7
commit 39116f9
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
Mohaymen.GiteaClient/Gitea/Commit/Common/Dtos/ParentCommitDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Mohaymen.GiteaClient.Gitea.Commit.Common.Dtos; | ||
|
||
public sealed class ParentCommitDto | ||
{ | ||
[JsonProperty("sha")] | ||
public required string CommitSha { get; init; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters