mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-01 15:32:11 +08:00
fix: use commit hash directly for conflict analysis instead of upstream/tag ref
This commit is contained in:
@@ -156,12 +156,9 @@ async function main() {
|
||||
// Step 4: Generate conflict report
|
||||
logger.step(4, 8, "Analyzing potential conflicts...")
|
||||
|
||||
const conflicts = await report.analyzeConflicts(
|
||||
`upstream/${targetVersion.tag}`,
|
||||
config.baseBranch,
|
||||
config.keepOurs,
|
||||
config.skipFiles,
|
||||
)
|
||||
// Use the commit hash or tag directly (tags are fetched, not remote refs)
|
||||
const upstreamRef = targetVersion.commit || targetVersion.tag
|
||||
const conflicts = await report.analyzeConflicts(upstreamRef, config.baseBranch, config.keepOurs, config.skipFiles)
|
||||
|
||||
const conflictReport: report.ConflictReport = {
|
||||
timestamp: new Date().toISOString(),
|
||||
|
||||
Reference in New Issue
Block a user