Revision 8f728fb96f00860cae58f4f2c5c9c96651e6a626 authored by martin f. krafft on 14 July 2007, 09:25:28 UTC, committed by Junio C Hamano on 23 August 2007, 07:18:02 UTC
The --stdlayout option to git-svn init/clone initialises the default
Subversion values of trunk,tags,branches: -T trunk -b branches -t tags.
If any of the -T/-t/-b options are given in addition, they are given
preference.

[ew: fixed whitespace and added "-s" shortcut]

Signed-off-by: martin f. krafft <madduck@madduck.net>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
1 parent b1d884a
Raw File
interpolate.h
/*
 * Copyright 2006 Jon Loeliger
 */

#ifndef INTERPOLATE_H
#define INTERPOLATE_H

/*
 * Convert a NUL-terminated string in buffer orig,
 * performing substitutions on %-named sub-strings from
 * the interpretation table.
 */

struct interp {
	const char *name;
	char *value;
};

extern void interp_set_entry(struct interp *table, int slot, const char *value);
extern void interp_clear_table(struct interp *table, int ninterps);

extern unsigned long interpolate(char *result, unsigned long reslen,
				 const char *orig,
				 const struct interp *interps, int ninterps);

#endif /* INTERPOLATE_H */
back to top