Comments (1)
The problem is that we sometimes run into a race condition where Kirby triggers an update/sorted hook when things have not changed or have already been committed. Thats one of the reasons why we disable errors by default because most of the time errors are no real problems (like this one here). I think this is not a special git lfs problem but commiting with lfs is sometimes a bit slower so it’s more likely to trigger this race condition.
Maybe we should run a git status before committing and thus catching the error but it would trigger a git status every commit which can get slow when running with large repos. I think the better solution is to simply catch this specific „nothing to commit” error.
from kirby-git-content.
Related Issues (20)
- Use of functions deprecated in Kirby v4 HOT 4
- Custom Path and some other options not settable HOT 2
- Call to a member function format() on bool HOT 1
- git identity not settable on shared hosting HOT 5
- Add buttons to revert/drop commits HOT 1
- SSH key issues with dokku HOT 3
- Is it normal to end up with all sorts of uncommitted `.lock` file deletes? HOT 3
- Add info about .lock files into README
- plugin possibly causes internal server errors with certain characters HOT 5
- switch to original git PHP lib (kbjr/Git) HOT 2
- Add a panel button to push to remote HOT 3
- Array to string conversion error with Kirby 3.6 and PHP 8.0 HOT 8
- Return status for KirbyGitHelper::push() and ::pull() HOT 1
- Working fine locally but not committing when on public server HOT 5
- Only add files of changed page
- Working locally but not on server HOT 4
- Problems with Kirby 3.8.0-rc1 when installing without composer HOT 23
- error: unknown option `end-of-options' HOT 9
- 'KirbyGitHelper::$git is deprecated' error on saving HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kirby-git-content.