Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH_v1] add 'git credential' plumbing command

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:54:01

Javier.Roucher-Iglesias@ensimag.imag.fr writes:
+static const char usage_msg[] =
+"credential <fill|approve|reject>";
[...]
+	for (i = 2; i < argc; i++)
+		string_list_append(&c.helpers, argv[i]);
This helpers argument is still there, and is now totally undocumented. I
shouldn't have to repeat that so many times.
quoted hunk
--- a/git.c
+++ b/git.c
@@ -353,6 +353,7 @@ static void handle_internal_command(int argc, const char **argv)
 		{ "commit-tree", cmd_commit_tree, RUN_SETUP },
 		{ "config", cmd_config, RUN_SETUP_GENTLY },
 		{ "count-objects", cmd_count_objects, RUN_SETUP },
+		{ "credential", cmd_count_objects, RUN_SETUP },
Your "git credential" runs cmd_count_objects. A little bit of testing
should have found that (my remarks about lack of testing still apply).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help