Skip to content

Conversation

@manuel71sj
Copy link

Pull Request

📋 Summary

aic 명령 사용시 커밋 메세지에 stage되지 않은 파일의 변경 사항까지 표시되는 오류를 수정했습니다.

🔄 Changes Made

  • STAGE_ALL 플래그에 따른 조건부 로직을 추가했습니다
  • STAGE_ALL=false일 때 (기본 aic 명령어):
    • STAGED_STATUS를 사용하여 staged 파일만 카운트
    • 패턴: ^A (추가), ^M (수정), ^D (삭제)
  • STAGE_ALL=true일 때 (aic --all 명령어):
    • 기존 STATUS 사용하여 모든 파일 카운트
    • 패턴: ^??|^A (추가), ^.M|^M (수정), ^.D|^D (삭제)

bin/aic: --all 플래그가 없을 때 스테이징된 파일만 정확히 필터링
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant