Staging
v0.5.2
https://github.com/git/git
Revision d7e522cffb2224b91c9c0edde093fbb81a0289b0 authored by Jeff King on 16 December 2007, 07:21:04 UTC, committed by Junio C Hamano on 16 December 2007, 20:52:40 UTC
The convention for helper scripts has been
git-$TOOL--$HELPER. Since this is a "browse" helper for the
"help" tool, git-help--browse is a more sensible name.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 6ba7823
Raw File
Tip revision: d7e522cffb2224b91c9c0edde093fbb81a0289b0 authored by Jeff King on 16 December 2007, 07:21:04 UTC
rename git-browse--help to git-help--browse
Tip revision: d7e522c
patch-ids.h
#ifndef PATCH_IDS_H
#define PATCH_IDS_H

struct patch_id {
	unsigned char patch_id[20];
	char seen;
};

struct patch_ids {
	struct diff_options diffopts;
	int nr, alloc;
	struct patch_id **table;
	struct patch_id_bucket *patches;
};

int init_patch_ids(struct patch_ids *);
int free_patch_ids(struct patch_ids *);
struct patch_id *add_commit_patch_id(struct commit *, struct patch_ids *);
struct patch_id *has_commit_patch_id(struct commit *, struct patch_ids *);

#endif /* PATCH_IDS_H */
back to top