submodules in diff

repository.blob_at also find submodules
related to https://github.com/gitlabhq/gitlabhq/pull/7389 
Final newline missing.