Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dploy - git diff - bad object #105

Open
ponyx opened this issue Apr 20, 2017 · 2 comments
Open

dploy - git diff - bad object #105

ponyx opened this issue Apr 20, 2017 · 2 comments

Comments

@ponyx
Copy link

ponyx commented Apr 20, 2017

Hi,

I have an error when I try to deploy my project :

dploy stage
Connecting to stage...
Checking revisions...
Checking diffs between [6c40f361380f9d0983ac24b71de0fd0369c50074] > [060c2eeaa06cbc12d38d771c4ad6498532bff937]
An error occurred when retrieving the 'git diff --name-status 6c40f361380f9d0983ac24b71de0fd0369c50074 060c2eeaa06cbc12d38d771c4ad6498532bff937' { [Error: Command failed: /bin/sh -c git diff --name-status 6c40f361380f9d0983ac24b71de0fd0369c50074 060c2eeaa06cbc12d38d771c4ad6498532bff937
fatal: bad object 6c40f361380f9d0983ac24b71de0fd0369c50074
]
  killed: false,
  code: 128,
  signal: null,
  cmd: '/bin/sh -c git diff --name-status 6c40f361380f9d0983ac24b71de0fd0369c50074 060c2eeaa06cbc12d38d771c4ad6498532bff937' } 

If I remove the .rev on the server, it works correctly but tries to upload all the project again and I don't want that, I'd like to upload only modified files.

Anyone has a solution ?
Thanks a lot

@big-kahuna-burger
Copy link

Seems like when doing git push --force which drops the previous commit, this it will happen

@bikash-idexcel
Copy link

Is there any solution fot this?

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

No branches or pull requests

3 participants