git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / Atom feed
80e2679038372722425de6e99e70e48f9ae08462 blob 690 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
#ifndef SUBMODULE_MOVE_HEAD_H
#define SUBMODULE_MOVE_HEAD_H

struct unpack_trees_options;

/* NEEDSWORK: document */
struct submodule_move_head_options {
	int force;
	const char *old_ref;
	const char *new_ref;
	const char *target_ref;
};

/*
 * For use as unpack_trees_options.move_head. Parameters should be a
 * struct submodule_move_head_options * in unpack_trees_options.unpack_data.
 */
extern int unpack_trees_move_head(const struct unpack_trees_options *opt, const char *path, const char *old, const char *new, unsigned flags);

extern void create_symref_in_submodule(const char *path, const char *symref, const char *target, const char *logmsg);

#endif /* SUBMODULE_MOVE_HEAD_H */
debug log:

solving 80e2679038 ...
found 80e2679038 in https://public-inbox.org/git/20180927221603.148025-1-sbeller@google.com/

applying [1/1] https://public-inbox.org/git/20180927221603.148025-1-sbeller@google.com/
diff --git a/submodule-move-head.h b/submodule-move-head.h
new file mode 100644
index 0000000000..80e2679038

Checking patch submodule-move-head.h...
Applied patch submodule-move-head.h cleanly.

index at:
100644 80e2679038372722425de6e99e70e48f9ae08462	submodule-move-head.h

git@vger.kernel.org list mirror (unofficial, one of many)

Archives are clonable:
	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.org/gmane.comp.version-control.git

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox