Comments (5)
Yeah I can confirm this issue.
When setting GIT_SYNC_BRANCH and GIT_SYNC_REV to a specific branch it seems to update to the right commit. The problem then is, that on each non updating run it throws an error such as:
error syncing repo: error running command: exit status 128: "fatal: '/etc/source/rev-13a93194f52c28591e2fee7e93666d8e1f7a4b50' already exists\n"
from git-sync.
You should only need to set one of branch or rev, I think. I'll have to
check - that part predated my touching it :)
On Wed, Oct 26, 2016 at 11:14 AM, Michael Grosser [email protected]
wrote:
Yeah I can confirm this issue.
When setting GIT_SYNC_BRANCH and GIT_SYNC_REV to a specific branch it
seems to update to the right commit. The problem then is, that on each non
updating run it throws an error such as:
error syncing repo: error running command: exit status 128: "fatal:
'/etc/source/rev-13a93194f52c28591e2fee7e93666d8e1f7a4b50' already
exists\n"—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#14 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVgVOIgOVzPIx3PeTzRPIbzDEepntO7ks5q35h9gaJpZM4Khdrg
.
from git-sync.
I can't repro this. I am writing a test to cover this, and it passes just fine. I'll post the test momentarily, and you can tell me what I am doing wrong...
from git-sync.
test is #18
from git-sync.
Will try to look at it later tonight or first thing tomorrow. Thanks for working on it.
from git-sync.
Related Issues (20)
- GitLab via ssh key HOT 3
- How to disable commit hash in the target folder? HOT 2
- Allow the submodule functionality for repos copied using vcs tool HOT 1
- Temporarily missing files when using $GITSYNC_LINK HOT 4
- Remediate security vulnerabilities on 4.1.0 HOT 5
- High vulnerability CVE-2023-6246 and CVE-2023-6779 HOT 1
- Issue with PYTHONPATH Resolution in git-sync 4.0.0 HOT 2
- v4 slack webhook HOT 6
- exechook behavior HOT 4
- Remediate 4.2.2 security vulnerabilities HOT 1
- Support GitHub App authentication HOT 7
- TODO: infra to make #878 work HOT 1
- Curious about real example raising race condition when using v3 HOT 1
- exechook working HOT 8
- TODO: shellcheck test_e2e.sh and test_git.sh HOT 5
- /bin/sh: ./build/test.sh: not found
- test_e2e.sh: use `local` for all variables defined inside functions HOT 2
- git-sync Multiple Vulnerabilities HOT 3
- how can put specific html folder from my git repo to nginx pod? HOT 2
- git-sync produced an intermediate file,the path of command is wrong HOT 1
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 git-sync.