Fix for making glip submodule aware #6

Merged
2 commits merged into from Feb 12, 2011

Projects

None yet

1 participant

@diffsky

Hi,

Here's my proposed fix for https://github.com/patrikf/glip/issues#issue/5

I'm uncertain if this is the best way to fix this, let me know what you think. I've also written a function to list through the contents of the .gitmodules file which might also be useful.

Cheers,
Matt

diffsky added some commits Feb 9, 2011
@diffsky diffsky added detection for git submodules
check for mode 57344 on a directory to indicate it is actually a git submodule. GitTree::listRecursive() uses is_submodule flag to know not to traverse that directory. :submodule is appended to the string name for that directory to indicate it is a submodule and not part of the current repo
3572363
@diffsky diffsky corrected code indentation 0ff5371
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment