milahu / nixpkgs

Nix Packages collection
MIT License
1 stars 0 forks source link

nix-init should ignore empty .gitmodules files #25

Open milahu opened 8 months ago

milahu commented 8 months ago

git leaves an empty .gitmodules file after all git submodules were removed

in that case, nix-init should not offer

Fetch submodules? (Y/n)

example https://github.com/fkie-cad/friTap/blob/b0ab947e9d747cf011d12ddb3c985c3172207da1/.gitmodules

ping @figsoda @pschmitt @Ninja3047

pschmitt commented 8 months ago

please stop pinging me.

milahu commented 8 months ago

no. just block me. byee : )