I ported git, and git subcommands only written in C to Plan 9. This pull request contains patches for existing codes, and new files to build git in Plan 9. All build options such as NO_PERL are not supported yet, and also some git subcommands written not in C is not available yet. But git can synchronize to remote repository with git pull and git push via HTTPS. This pull request don't contain a part of Git toolchain for example git-credential-store, etc. So I'm going to port other parts of Git toolchain too in the future. Whole installing process is published at https://medium.com/@lufia/14fee2ad7493 lufia (6): Change HOME, PATH, and .gitconfig paths to be customizable Fix C syntactic errors for the Plan 9 C compiler GIT-VERSION-GEN: Use sed instead of expr Port generate-cmdline.sh to rc Add plan9/wrap.c Add mkfile to build git and subcommands for Plan 9 GIT-VERSION-GEN | 2 +- Makefile | 26 ++++- builtin/config.c | 2 +- compat/plan9/openssl/crypto.h | 5 + compat/regex/regex_internal.h | 3 + config.c | 5 +- credential-cache.c | 2 +- credential-store.c | 2 +- exec-cmd.c | 4 +- generate-cmdlist.rc | 102 ++++++++++++++++++ git-compat-util.h | 17 ++- help.c | 2 +- mkfile | 195 ++++++++++++++++++++++++++++++++++ parse-options.h | 18 ++-- path.c | 6 +- plan9/wrap.c | 16 +++ remove-bitfields.rc | 14 +++ run-command.c | 4 +- sequencer.c | 2 +- shell.c | 2 +- 20 files changed, 402 insertions(+), 27 deletions(-) create mode 100644 compat/plan9/openssl/crypto.h create mode 100755 generate-cmdlist.rc create mode 100644 mkfile create mode 100644 plan9/wrap.c create mode 100644 remove-bitfields.rc base-commit: f36d08d72e7f68f880f8c1d7646cb3809c820485 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-305%2Flufia%2Fplan9-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-305/lufia/plan9-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/305 -- gitgitgadget