mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-18 22:33:08 +00:00
fix: Resolve git operation error handling and conflict detection issues
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
*/
|
||||
|
||||
import { createLogger, getErrorMessage } from '@automaker/utils';
|
||||
import { getConflictFiles } from '@automaker/git-utils';
|
||||
import { execGitCommand, execGitCommandWithLockRetry, getCurrentBranch } from '../lib/git.js';
|
||||
import { execGitCommand, getConflictFiles } from '@automaker/git-utils';
|
||||
import { execGitCommandWithLockRetry, getCurrentBranch } from '../lib/git.js';
|
||||
|
||||
const logger = createLogger('PullService');
|
||||
|
||||
@@ -359,7 +359,7 @@ export async function performPull(
|
||||
// 9. If pull had conflicts, return conflict info (don't try stash pop)
|
||||
if (pullConflict) {
|
||||
return {
|
||||
success: true,
|
||||
success: false,
|
||||
branch: branchName,
|
||||
pulled: true,
|
||||
hasConflicts: true,
|
||||
|
||||
Reference in New Issue
Block a user