Revision b63103e908af54e5e2eaa3faad350e4738ef0047 authored by Junio C Hamano on 17 January 2012, 00:45:56 UTC, committed by Junio C Hamano on 17 January 2012, 00:45:56 UTC
* jn/maint-gitweb-grep-fix:
  gitweb: Harden "grep" search against filenames with ':'
  gitweb: Fix file links in "grep" search
2 parent s 6db5c6e + 8e09fd1
Raw File
sequencer.c
#include "cache.h"
#include "sequencer.h"
#include "strbuf.h"
#include "dir.h"

void remove_sequencer_state(void)
{
	struct strbuf seq_dir = STRBUF_INIT;

	strbuf_addf(&seq_dir, "%s", git_path(SEQ_DIR));
	remove_dir_recursively(&seq_dir, 0);
	strbuf_release(&seq_dir);
}
back to top