remove the unused files interpolate.c and interpolate.h
[gitweb.git] / builtin-remote.c
index 71696b50d333f24f1c7a6a7ace946cf3392ca7d0..14774e36c40cb079b52259b300cb58f6b94d0588 100644 (file)
@@ -8,12 +8,12 @@
 #include "refs.h"
 
 static const char * const builtin_remote_usage[] = {
-       "git remote",
-       "git remote add <name> <url>",
+       "git remote [-v | --verbose]",
+       "git remote add [-t <branch>] [-m <master>] [-f] [--mirror] <name> <url>",
        "git remote rename <old> <new>",
        "git remote rm <name>",
-       "git remote show <name>",
-       "git remote prune <name>",
+       "git remote show [-n] <name>",
+       "git remote prune [-n | --dry-run] <name>",
        "git remote update [group]",
        NULL
 };
@@ -770,7 +770,7 @@ static int get_one_remote_for_update(struct remote *remote, void *priv)
 {
        struct string_list *list = priv;
        if (!remote->skip_default_update)
-               string_list_append(xstrdup(remote->name), list);
+               string_list_append(remote->name, list);
        return 0;
 }