Staging
v0.5.2
https://github.com/git/git
Revision 3368d11f308eb4ba2ad5703aa059bb0e5a82212f authored by Jürgen Rühle on 07 January 2007, 19:18:26 UTC, committed by Junio C Hamano on 08 January 2007, 02:04:57 UTC
Since git-reset has learned restoring the absence of paths git-rm --cached is
no longer necessary. Therefore remove it from the cached content header hint.

Also remove the unfortunate wording 'Cached' from the header itself.

Signed-off-by: Jürgen Rühle <j-r@online.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 515377e
Raw File
Tip revision: 3368d11f308eb4ba2ad5703aa059bb0e5a82212f authored by Jürgen Rühle on 07 January 2007, 19:18:26 UTC
Remove unnecessary git-rm --cached reference from status output
Tip revision: 3368d11
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 {
	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 int interpolate(char *result, int reslen,
		       const char *orig,
		       const struct interp *interps, int ninterps);

#endif /* INTERPOLATE_H */
back to top