[ostree] main: commit: Drop broken --parent option
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] main: commit: Drop broken --parent option
- Date: Tue, 23 Jul 2013 22:42:39 +0000 (UTC)
commit b6ab480272fa17cb4e3e92cf8e16d9592a45bf50
Author: Colin Walters <walters verbum org>
Date: Tue Jul 23 18:24:52 2013 -0400
main: commit: Drop broken --parent option
No idea why we had this, it didn't do anything in the current code.
Noticed while doing other refactoring.
src/ostree/ot-builtin-commit.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/ostree/ot-builtin-commit.c b/src/ostree/ot-builtin-commit.c
index f4af1b4..544fcec 100644
--- a/src/ostree/ot-builtin-commit.c
+++ b/src/ostree/ot-builtin-commit.c
@@ -29,7 +29,6 @@ static char *metadata_text_path;
static char *metadata_bin_path;
static char *subject;
static char *body;
-static char *parent;
static char *branch;
static char **metadata_strings;
static char *statoverride_file;
@@ -49,7 +48,6 @@ static GOptionEntry options[] = {
{ "metadata-variant", 0, 0, G_OPTION_ARG_FILENAME, &metadata_bin_path, "File containing serialized
variant, in host endianness", "path" },
{ "add-metadata-string", 0, 0, G_OPTION_ARG_STRING_ARRAY, &metadata_strings, "Append given key and value
(in string format) to metadata", "KEY=VALUE" },
{ "branch", 'b', 0, G_OPTION_ARG_STRING, &branch, "Branch", "branch" },
- { "parent", 'p', 0, G_OPTION_ARG_STRING, &parent, "Parent commit", "commit" },
{ "tree", 0, 0, G_OPTION_ARG_STRING_ARRAY, &trees, "Overlay the given argument as a tree", "NAME" },
{ "owner-uid", 0, 0, G_OPTION_ARG_INT, &owner_uid, "Set file ownership user id", "UID" },
{ "owner-gid", 0, 0, G_OPTION_ARG_INT, &owner_gid, "Set file ownership group id", "GID" },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]