Staging
v0.5.2
https://github.com/git/git
Revision 9ccb64c8e0791a865ad520bcfff4b02cc7c50097 authored by Junio C Hamano on 05 October 2006, 09:26:12 UTC, committed by Junio C Hamano on 05 October 2006, 09:26:12 UTC
It is silly to keep using git-tar-tree in dist target when the
command gives a big deprecation warning when called.  Instead,
use "git-archive --format=tar" which we recommend to our users.

Update gitweb's snapshot feature to use git-archive for the same
reason.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 6030649
Raw File
Tip revision: 9ccb64c8e0791a865ad520bcfff4b02cc7c50097 authored by Junio C Hamano on 05 October 2006, 09:26:12 UTC
tar-tree deprecation: we eat our own dog food.
Tip revision: 9ccb64c
xdiff-interface.h
#ifndef XDIFF_INTERFACE_H
#define XDIFF_INTERFACE_H

#include "xdiff/xdiff.h"

struct xdiff_emit_state;

typedef void (*xdiff_emit_consume_fn)(void *, char *, unsigned long);

struct xdiff_emit_state {
	xdiff_emit_consume_fn consume;
	char *remainder;
	unsigned long remainder_size;
};

int xdiff_outf(void *priv_, mmbuffer_t *mb, int nbuf);
int parse_hunk_header(char *line, int len,
		      int *ob, int *on,
		      int *nb, int *nn);

#endif
back to top