Skip to content

Fallback to detecting latest revision if revisions-since call fails#124

Merged
ashwanthkumar merged 1 commit intoashwanthkumar:masterfrom
ketan:master
Aug 2, 2018
Merged

Fallback to detecting latest revision if revisions-since call fails#124
ashwanthkumar merged 1 commit intoashwanthkumar:masterfrom
ketan:master

Conversation

@ketan
Copy link
Contributor

@ketan ketan commented Aug 2, 2018

This usually happens when an attempt is made to force-push, and in the
meanwhile, the flyweight folder is deleted. The plugin tends to perform
a git log last-commit..HEAD and the last-commit is no longer in the
git object database, thereby rendering the plugin useless.

A workaround is to ask that the old commit be force-pushed (hopefully
whoever pushed the old commit still has it in their reflog)

This usually happens when an attempt is made to force-push, and in the
meanwhile, the flyweight folder is deleted. The plugin tends to perform
a `git log last-commit..HEAD` and the `last-commit` is no longer in the
git object database, thereby rendering the plugin useless.

A workaround is to ask that the old commit be force-pushed (hopefully
whoever pushed the old commit still has it in their reflog)
@ketan
Copy link
Contributor Author

ketan commented Aug 2, 2018

I've taken the liberty to bump the revision number. Do you mind publishing a release when you get time?

@ashwanthkumar
Copy link
Owner

Thanks @ketan

@ashwanthkumar ashwanthkumar merged commit 492af8c into ashwanthkumar:master Aug 2, 2018
@ashwanthkumar
Copy link
Owner

Published a new version v1.3.5 with these changes.

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

Successfully merging this pull request may close these issues.

2 participants