PromucFlow_constructor/app/server/appsmith-git
Diljit 8895534538
chore: git: write only changed files to the FS (#40623)
## Description
This PR ensures that the file contents have changed before we start
writing un-commited changed to the FS. We are seeing around 30%
improvement in the latency of both git status api and git auto commit
api with this change


Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14924855165>
> Commit: dc53aa6b15c0137d16c1e41d8ee5d2adf392bfad
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14924855165&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 09 May 2025 09:37:32 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Improved detection of file changes between the database and filesystem
for more accurate updates in Git repositories.

- **Bug Fixes**
- Enhanced logic to ensure obsolete files are deleted and only changed
resources are updated in the repository.

- **Chores**
  - Updated variable names for improved clarity in internal processes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-13 23:54:22 +05:30
..
src chore: git: write only changed files to the FS (#40623) 2025-05-13 23:54:22 +05:30
pom.xml fix: Start using SHA2 instead of SHA1 algorithms for signing during git operations (#33166) 2024-05-06 18:25:32 +05:30