https://github.com/git/git
Revision bc88eb8cce00985cfbb5533e6b75e15cdecd9be5 authored by Tigran Mkrtchyan on 26 October 2017, 15:25:12 UTC, committed by Tigran Mkrtchyan on 26 October 2017, 19:22:36 UTC
Motivation:
in some workflows we have no control on how git command is executed,
however a signed tags are required.

The new config-file option tag.gpgSign enforces signed tags. Additional
command line option --no-gpg-sign is added to disable such behavior if
needed.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
1 parent 4e40fb3
Raw File
Tip revision: bc88eb8cce00985cfbb5533e6b75e15cdecd9be5 authored by Tigran Mkrtchyan on 26 October 2017, 15:25:12 UTC
add tag.gpgSign config option to force all tags be GPG-signed
Tip revision: bc88eb8
notes-cache.h
#ifndef NOTES_CACHE_H
#define NOTES_CACHE_H

#include "notes.h"

struct notes_cache {
	struct notes_tree tree;
	char *validity;
};

void notes_cache_init(struct notes_cache *c, const char *name,
		     const char *validity);
int notes_cache_write(struct notes_cache *c);

char *notes_cache_get(struct notes_cache *c, struct object_id *oid, size_t
		      *outsize);
int notes_cache_put(struct notes_cache *c, struct object_id *oid,
		    const char *data, size_t size);

#endif /* NOTES_CACHE_H */
back to top