From: Sebastien Marie Subject: submodules: got: bad file type To: gameoftrees@openbsd.org Date: Sun, 10 May 2020 10:00:38 +0200 Hi, Working on rust repository currently, I have an error when trying to commit changes on it. $ got ci -m 'my changes' Cargo.lock src/librustc_data_structures/Cargo.toml M Cargo.lock M src/librustc_data_structures/Cargo.toml got: bad file type With few debug printf: $ got ci ... M Cargo.lock M src/librustc_data_structures/Cargo.toml XXX te_mode=160000 (%o) XXX got_object_tree_create: name=llvm-project got: bad file type the "llvm-project" entry (at src/llvm-project) is a submodule entry (see https://github.com/rust-lang/rust/tree/master/src) with tog tree, it is showed as 'llvm-project$'. I think it makes sens to permit working with repository with submodules. Thanks. -- Sebastien Marie