Commit 6c269206 authored by Tristan Gingold's avatar Tristan Gingold

fake git: report submodule status

parent faeb6e65
......@@ -44,6 +44,9 @@ elif argv[0] == 'submodule':
sys.exit(0)
elif argv[1:] == ['update', '--recursive']:
sys.exit(0)
elif argv[1] == 'status':
print('+abcdef {} (remote/origin/master)'.format(argv[2]))
sys.exit(0)
elif argv == ['config', '-f', '.gitmodules', '--list']:
sys.stdout.write(open('.gitmodules', 'r').read())
sys.exit(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment