Misc Changes
This commit is contained in:
@@ -740,7 +740,8 @@ class GitRepositoryRuntime private constructor(
|
||||
"fetch" -> {
|
||||
val remote = tokens.getOrNull(2)?.takeIf { !it.startsWith("-") } ?: "origin"
|
||||
inspectedRepo.copy(
|
||||
fetchedBranches = inspectedRepo.fetchedBranches + previousRepo.fetchedBranches + "$remote/master" + "$remote/feature_branch",
|
||||
fetchedBranches = inspectedRepo.fetchedBranches + previousRepo.fetchedBranches + "$remote/master" + "$remote/feature_branch" + "$remote/new_branch",
|
||||
maintenanceActions = inspectedRepo.maintenanceActions + previousRepo.maintenanceActions + "fetch",
|
||||
)
|
||||
}
|
||||
"pull" -> {
|
||||
@@ -788,7 +789,7 @@ class GitRepositoryRuntime private constructor(
|
||||
maintenanceActions = if ("--squash" in tokens) {
|
||||
inspectedRepo.maintenanceActions + previousRepo.maintenanceActions + "merge-squash"
|
||||
} else {
|
||||
inspectedRepo.maintenanceActions + previousRepo.maintenanceActions
|
||||
inspectedRepo.maintenanceActions + previousRepo.maintenanceActions + "merge"
|
||||
},
|
||||
)
|
||||
else -> inspectedRepo.copy(
|
||||
|
||||
Reference in New Issue
Block a user