alpha
Login
or
Join now
4uffin.bsky.social
/
core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
My own copy of Tangled :)
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix small bug with pushing
author
Akshay
date
1 year ago
(Mar 17, 2025, 9:52 PM UTC)
commit
68e4035f
68e4035fdce390c18db7c2aa70a82e4e04780788
parent
238db83d
238db83d2b90073a5f0e8de9ce96902c9f4f53e3
+1
-2
1 changed file
Expand all
Collapse all
Unified
Split
appview
state
pull.go
+1
-2
appview/state/pull.go
Reviewed
···
508
508
}
509
509
510
510
func (s *State) MergePull(w http.ResponseWriter, r *http.Request) {
511
511
-
user := s.auth.GetUser(r)
512
511
f, err := fullyResolvedRepo(r)
513
512
if err != nil {
514
513
log.Println("failed to resolve repo:", err)
···
538
537
}
539
538
540
539
// Merge the pull request
541
541
-
resp, err := ksClient.Merge([]byte(pull.LatestPatch()), user.Did, f.RepoName, pull.TargetBranch, pull.Title, pull.Body, "", "")
540
540
+
resp, err := ksClient.Merge([]byte(pull.LatestPatch()), f.OwnerDid(), f.RepoName, pull.TargetBranch, pull.Title, pull.Body, "", "")
542
541
if err != nil {
543
542
log.Printf("failed to merge pull request: %s", err)
544
543
s.pages.Notice(w, "pull-merge-error", "Failed to merge pull request. Try again later.")