diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Remove what the version removal left behind
-rw-r--r--source/cgit.c2
-rw-r--r--source/cgit.h2
-rw-r--r--source/ui-patch.c4
3 files changed, 2 insertions, 6 deletions
diff --git a/source/cgit.c b/source/cgit.c
index b26a528..8dc90e6 100644
--- a/source/cgit.c
+++ b/source/cgit.c
@@ -54,8 +54,6 @@ struct refmatch {
int found;
};
-const char *cgit_version = CGIT_VERSION;
-
/*
* Isolate git from the calling user's configuration, which could otherwise
* break once HOME is unset below. Called from cmd_main rather than from a
diff --git a/source/cgit.h b/source/cgit.h
index a632fed..30f97c5 100644
--- a/source/cgit.h
+++ b/source/cgit.h
@@ -324,8 +324,6 @@ struct cgit_context {
int empty_repo;
};
-extern const char *cgit_version;
-
extern struct cgit_repolist cgit_repolist;
extern struct cgit_context ctx;
diff --git a/source/ui-patch.c b/source/ui-patch.c
index 2c595ca..7191542 100644
--- a/source/ui-patch.c
+++ b/source/ui-patch.c
@@ -129,8 +129,8 @@ void cgit_print_patch(const char *new_rev, const char *old_rev, const char *pref
while ((commit = get_revision(&rev))) {
log_tree_commit(&rev, commit);
// Two dashes and a space is the mail signature separator, so
- // git am and mail readers drop the version note below rather
- // than carrying it into the commit message.
+ // git am and mail readers drop the line below rather than
+ // carrying it into the commit message.
printf("-- \ncgit\n\n");
}
}