ktoso/git-pre-push-submodule-check — Issue #1: Check if the submodule commit-id is pushed, not all commits in the sub
Author: ktoso
Created: 2011-11-13 01:02:37+00:00
State: open

With how it's now implemented you can not have commits in a submodule locally, which are not yet pushed, even if they're not refered to by `git submodule`.

This task is to check if the output commit of `git submodule` (sub_hash) is already pushed or not, and fail based on that info.
It's a quick fix, but I'm going to sleep now :-)

Cheerios!