Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 30 Dec 2013 20:27:01 +0000
(12:27 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 30 Dec 2013 20:27:01 +0000
(12:27 -0800)
* maint:
for-each-ref: remove unused variable
builtin/for-each-ref.c
patch
|
blob
|
history
raw
(from parent 1:
53f3478
)
diff --git
a/builtin/for-each-ref.c
b/builtin/for-each-ref.c
index 6551e7b39b6039032852d6ec0d0dd8da0d7031dc..51798b48b54266fccd2f7b4687646d152ab70588 100644
(file)
--- a/
builtin/for-each-ref.c
+++ b/
builtin/for-each-ref.c
@@
-92,7
+92,7
@@
static struct {
*/
static const char **used_atom;
static cmp_type *used_atom_type;
-static int used_atom_cnt,
sort_atom_limit,
need_tagged, need_symref;
+static int used_atom_cnt, need_tagged, need_symref;
static int need_color_reset_at_eol;
/*
@@
-1105,7
+1105,6
@@
int cmd_for_each_ref(int argc, const char **argv, const char *prefix)
if (!sort)
sort = default_sort();
- sort_atom_limit = used_atom_cnt;
/* for warn_ambiguous_refs */
git_config(git_default_config, NULL);