Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix commit retrieval by tag #21804

Merged
merged 26 commits into from
Mar 2, 2023
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8e00e25
Fix commit retrieval by tag
silverwind Nov 13, 2022
e66e2c2
fix import
silverwind Nov 13, 2022
c793f0f
attempt to fix tests
silverwind Nov 13, 2022
6b14736
fix TestRepository_GetTags
silverwind Nov 13, 2022
c595251
fix TestRepository_GetCodeActivityStats
silverwind Nov 13, 2022
82c00c1
fix TestRepository_GetRefs
silverwind Nov 13, 2022
0ee518d
fix TestGetLatestCommitTime
silverwind Nov 13, 2022
e92fff6
update comment
silverwind Nov 13, 2022
854170e
fix TestGetTagCommitWithSignature
silverwind Nov 13, 2022
83e3629
trim off newline from commit.CommitMessage
silverwind Nov 13, 2022
92813a6
remove useless MERGE_RR file
silverwind Nov 13, 2022
9a831b9
fix TestCommitFromReader and rename file to commit_reader_test.go
silverwind Nov 13, 2022
78a1bdc
only trim a single newline
silverwind Nov 13, 2022
5e61ff5
really fix TestCommitFromReader
silverwind Nov 13, 2022
b4ef4ca
fix TestGetFileResponseFromCommit
silverwind Nov 13, 2022
3eb7378
fix TestDeleteRepoFile
silverwind Nov 13, 2022
ac8339c
fix TestAPICreateFile
silverwind Nov 13, 2022
4e3f0d9
fix TestAPIDeleteFile
silverwind Nov 13, 2022
0425a53
fix TestAPIUpdateFile
silverwind Nov 13, 2022
91e9ee4
fix wiki tests
silverwind Nov 14, 2022
20343db
back out of newline changes
silverwind Nov 15, 2022
9024813
Merge branch 'main' into tagfix
silverwind Nov 15, 2022
ab3ed7c
Merge branch 'main' into tagfix
silverwind Nov 24, 2022
33a14d4
Merge branch 'main' into tagfix
lunny Dec 6, 2022
8555ddf
Merge branch 'main' into tagfix
silverwind Mar 1, 2023
2f84573
Merge branch 'main' into tagfix
lunny Mar 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/git/repo_commit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestGetTagCommitWithSignature(t *testing.T) {
assert.NotNil(t, commit)
assert.NotNil(t, commit.Signature)
// test that signature is not in message
assert.Equal(t, "tag", commit.CommitMessage)
assert.Equal(t, "signed-commit\n", commit.CommitMessage)
silverwind marked this conversation as resolved.
Show resolved Hide resolved
}

func TestGetCommitWithBadCommitID(t *testing.T) {
Expand Down