Merge branch 'ss/completion-rec-sub-fetch-push'
[gitweb.git] / builtin / commit-tree.c
index 1646d5b25e4fe66cdb84a09aba87cb2f09f8c572..987a4c3d731d7cf01f61e4fddec208b4cb51a4af 100644 (file)
@@ -71,6 +71,11 @@ int cmd_commit_tree(int argc, const char **argv, const char *prefix)
                        continue;
                }
 
+               if (!strcmp(arg, "--no-gpg-sign")) {
+                       sign_commit = NULL;
+                       continue;
+               }
+
                if (!strcmp(arg, "-m")) {
                        if (argc <= ++i)
                                usage(commit_tree_usage);