Re: [PATCH v2 02/25] sequencer: use memoized sequencer directory path
Johannes Schindelin <johannes.schindelin@gmx.de> writes:
Show 6 quoted lines
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
> builtin/commit.c | 2 +-
> sequencer.c | 11 ++++++-----
> sequencer.h | 5 +----
> 3 files changed, 8 insertions(+), 10 deletions(-)
OK. It's nice to see code reduction.
Show 5 quoted lines
> -#define SEQ_DIR "sequencer"
> -#define SEQ_HEAD_FILE "sequencer/head"
> -#define SEQ_TODO_FILE "sequencer/todo"
> -#define SEQ_OPTS_FILE "sequencer/opts"
> +const char *git_path_seq_dir(void);