Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
rebase: rename write_basic_state()
author
Phillip Wood
<phillip.wood@dunelm.org.uk>
Wed, 17 Apr 2019 14:30:35 +0000
(15:30 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 19 Apr 2019 08:32:10 +0000
(17:32 +0900)
This clashes with a function in sequencer.c
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
146839c
)
diff --git
a/builtin/rebase.c
b/builtin/rebase.c
index 239a54ecfe21be467a234a9f53463183b82e095c..0b1a193a8ef651a611e829cc7384b197e46867d7 100644
(file)
--- a/
builtin/rebase.c
+++ b/
builtin/rebase.c
@@
-245,7
+245,7
@@
static int read_basic_state(struct rebase_options *opts)
return 0;
}
-static int write_basic_state(struct rebase_options *opts)
+static int
rebase_
write_basic_state(struct rebase_options *opts)
{
write_file(state_dir_path("head-name", opts), "%s",
opts->head_name ? opts->head_name : "detached HEAD");
@@
-640,7
+640,7
@@
static int run_am(struct rebase_options *opts)
}
if (is_directory(opts->state_dir))
- write_basic_state(opts);
+
rebase_
write_basic_state(opts);
return status;
}