Revision 53b3c47d64b4294ae586d1daa04f9140dadd9ae6 authored by Michael J Gruber on 15 April 2010, 09:34:07 UTC, committed by Junio C Hamano on 17 April 2010, 17:30:00 UTC
The last two tests here were always supposed to fail in the sense
that, according to code and documentation, mktree should read non-recursive
ls-tree output, but not recursive one, and therefore explicitely refuses
to deal with slashes.

Adjust the test (must_fail) so that it succeeds when mktree dies on
slashes.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 2179870
Raw File
notes.h
#ifndef NOTES_H
#define NOTES_H

/* Free (and de-initialize) the internal notes tree structure */
void free_notes(void);

#define NOTES_SHOW_HEADER 1
#define NOTES_INDENT 2

void get_commit_notes(const struct commit *commit, struct strbuf *sb,
		const char *output_encoding, int flags);

#endif
back to top