https://github.com/git/git
Raw File
Tip revision: c99ec048bf386ed2b28086cb3756af2dc91fc3d2 authored by Junio C Hamano on 18 October 2005, 00:46:35 UTC
GIT 0.99.8e
Tip revision: c99ec04
epoch.h
#ifndef EPOCH_H
#define EPOCH_H


// return codes for emitter_func
#define STOP     0
#define CONTINUE 1
#define DO       2
typedef int (*emitter_func) (struct commit *); 

int sort_list_in_merge_order(struct commit_list *list, emitter_func emitter);

/* Low bits are used by rev-list */
#define UNINTERESTING   (1u<<10)
#define BOUNDARY        (1u<<11)
#define VISITED         (1u<<12)
#define DISCONTINUITY   (1u<<13)
#define LAST_EPOCH_FLAG (1u<<14)


#endif	/* EPOCH_H */
back to top