aboutsummaryrefslogtreecommitdiffstats
path: root/storage/storer.go
diff options
context:
space:
mode:
authorThibault Jamet <tjamet@users.noreply.github.com>2021-05-26 14:19:07 +0200
committerThibault Jamet <tjamet@users.noreply.github.com>2021-10-28 21:48:32 +0200
commit617ae9f34f46b440f59979cdfc8a399e36decc32 (patch)
tree5df11cb3a89b88e51ca924feb35d579c06ff6c71 /storage/storer.go
parent99457e570d34320b12fb4fcd0f054f3d0b1d3eec (diff)
downloadgo-git-617ae9f34f46b440f59979cdfc8a399e36decc32.tar.gz
Add support to push commits per hashes
Using plain git, the command `git push ${sha}:refs/heads/some-branch` actually ensures that the remote branch `some-branch` points to the commit `${sha}`. In the current version of go-git, this results in an "everything is up to date" error. When a source reference is not found, check the object storage to find the sha. If it is found, consider pushing this exact commit. fixes: #105
Diffstat (limited to 'storage/storer.go')
0 files changed, 0 insertions, 0 deletions