Staging
v0.5.1
Revision 576cfc86fc321688aec0bc7359fb1097e5717631 authored by Yann Dirson on 06 January 2006, 20:54:41 UTC, committed by Junio C Hamano on 06 January 2006, 22:27:47 UTC
"cvs add" support was already there, but the "unknown" status
returned when querying a file not yet known to cvs caused the
script to abort prematurely.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent c1fe2fe
Raw File
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