~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to commit.h

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-10-04 08:27:01 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20071004082701-rsd058ontoqz4i30
Tags: 1:1.5.3.4-1
new upstream point release (closes: #445188).

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
};
62
62
 
63
63
extern enum cmit_fmt get_commit_format(const char *arg);
64
 
extern unsigned long pretty_print_commit(enum cmit_fmt fmt, const struct commit *, unsigned long len, char *buf, unsigned long space, int abbrev, const char *subject, const char *after_subject, enum date_mode dmode);
 
64
extern unsigned long pretty_print_commit(enum cmit_fmt fmt, const struct commit *, unsigned long len, char **buf_p, unsigned long *space_p, int abbrev, const char *subject, const char *after_subject, enum date_mode dmode);
65
65
 
66
66
/** Removes the first commit from a list sorted by date, and adds all
67
67
 * of its parents.
68
68
 **/
69
 
struct commit *pop_most_recent_commit(struct commit_list **list, 
 
69
struct commit *pop_most_recent_commit(struct commit_list **list,
70
70
                                      unsigned int mark);
71
71
 
72
72
struct commit *pop_commit(struct commit_list **stack);
73
73
 
74
74
void clear_commit_marks(struct commit *commit, unsigned int mark);
75
75
 
76
 
int count_parents(struct commit * commit);
77
 
 
78
76
/*
79
77
 * Performs an in-place topological sort of list supplied.
80
78
 *