Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Enhance GetGitDiffCommand class in git diff command file
The GetGitDiffCommand class has been updated to improve its functionality. Now, an instance of the SimpleGit class is created during the construction phase and used later for obtaining git diffs. Furthermore, a new private method isBlank has been added to check if the diff result is empty. This leads to cleaner and more maintainable code.
- Loading branch information