Took out cache of where to merge, and chose to search the log for the appropriate place. Also made verbose option more verbose buy echoing .
Accidentally had only comments in a if structure, which is a syntax error in bash.
Fix spelling
First attempt to get failing pull test working, works by seeing when last local push was... maybe this technique isn't optimal after all as peers may not have similar subrepo/subdir branch checkout; will need to test that.
Commented out stuff that should have been.
Removed typo I made.
Improved comments/whitespace from last time.
Made tests work again by suppressing output.
Wrote get-best-common-ancestor-for-merge which solves my test case without caching subrepo-push commands! It does this by searching for when the last subrepo push was made, then using that as the common-ancestor so that the merge on a subrepo-pull will work. Importantly my technique doesn't use the I/O expensive git-filter-branch in its search.
Moved old logic I had added into separate functions to clean up the pull and push commands.
Merge branch 'FailingPullTestFix' into dev
Cleaned up the failing test case I gave ingy; didn't need the bare lib repository.
Merge branch 'CleanupMyFailingTestCaseFeature' into dev
Merge branch 'dev'