diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b83b3e..c3b2fce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) ### Removed ### Fixed - Gitea internal repos token injection on https clones; thanks @drmacdon +- BitBucket backup with prune removes repositories just cloned; thanks @dannuralogix ### Security ## [1.11.0] - 9/28/2024 diff --git a/scm/bitbucket.go b/scm/bitbucket.go index af66db1..52bab2f 100644 --- a/scm/bitbucket.go +++ b/scm/bitbucket.go @@ -83,7 +83,7 @@ func (_ Bitbucket) filter(resp []bitbucket.Repository) (repoData []Repo, err err r := Repo{} r.Name = a.Name - r.Path = r.Name + r.Path = a.Full_name if os.Getenv("GHORG_BRANCH") == "" { r.CloneBranch = a.Mainbranch.Name } else {