Staging
v0.5.2
https://github.com/git/git
Revision 1dc71a9155e209ed4da866eeb7c3064e4568532e authored by J. Bruce Fields on 11 March 2007, 03:38:13 UTC, committed by J. Bruce Fields on 11 March 2007, 04:05:01 UTC
Asciidoc appears to interpret a backslash at the end of a line as
escaping the end-of-line character, which screws up the display of
history diagrams like

 o--o--o
	\
	 o--...

The obvious fix (replacing "\" by "\\") doesn't work.  The only
workaround I've found is to include all such diagrams in a LiteralBlock.
Asciidoc claims that should be equivalent to a literal paragraph, so I
don't understand why the difference--perhaps it's an asciidoc bug.

Cc: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
1 parent ed4eb0d
Raw File
Tip revision: 1dc71a9155e209ed4da866eeb7c3064e4568532e authored by J. Bruce Fields on 11 March 2007, 03:38:13 UTC
user-manual: fix rendering of history diagrams
Tip revision: 1dc71a9
list-objects.h
#ifndef LIST_OBJECTS_H
#define LIST_OBJECTS_H

typedef void (*show_commit_fn)(struct commit *);
typedef void (*show_object_fn)(struct object_array_entry *);
typedef void (*show_edge_fn)(struct commit *);

void traverse_commit_list(struct rev_info *revs, show_commit_fn, show_object_fn);

void mark_edges_uninteresting(struct commit_list *, struct rev_info *, show_edge_fn);

#endif
back to top