Staging
v0.5.1
Revision fc14b89a7e6899b8ac3b5751ec2d8c98203ea4c2 authored by Junio C Hamano on 28 November 2011, 22:07:13 UTC, committed by Junio C Hamano on 28 November 2011, 22:07:22 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d69bafc
Raw File
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
 * '--quit' subcommand.
 */
void remove_sequencer_state(int aggressive);

#endif
back to top