Staging
v0.5.1
swh:1:snp:c5feb7ee9221a3820c8879e85e8a18470c0b3afa
Raw File
Tip revision: 4cb6764227173a6483edbdad09121651bc0b01c3 authored by Junio C Hamano on 08 November 2011, 00:48:34 UTC
Git 1.7.8-rc1
Tip revision: 4cb6764
sequencer.h
#ifndef SEQUENCER_H
#define SEQUENCER_H

#define SEQ_DIR		"sequencer"
#define SEQ_OLD_DIR	"sequencer-old"
#define SEQ_HEAD_FILE	"sequencer/head"
#define SEQ_TODO_FILE	"sequencer/todo"
#define SEQ_OPTS_FILE	"sequencer/opts"

/*
 * Removes SEQ_OLD_DIR and renames SEQ_DIR to SEQ_OLD_DIR, ignoring
 * any errors.  Intended to be used by 'git reset'.
 *
 * With the aggressive flag, it additionally removes SEQ_OLD_DIR,
 * ignoring any errors.  Inteded to be used by the sequencer's
 * '--reset' subcommand.
 */
void remove_sequencer_state(int aggressive);

#endif
back to top