git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
blob c278f3e26f6f48d8be559ef949eff37037f21203 803 bytes (raw)
name: add-interactive.h 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 
#ifndef ADD_INTERACTIVE_H
#define ADD_INTERACTIVE_H

#include "color.h"

struct add_i_state {
	struct repository *r;
	int use_color;
	char header_color[COLOR_MAXLEN];
	char help_color[COLOR_MAXLEN];
	char prompt_color[COLOR_MAXLEN];
	char error_color[COLOR_MAXLEN];
	char reset_color[COLOR_MAXLEN];
	char fraginfo_color[COLOR_MAXLEN];
	char context_color[COLOR_MAXLEN];
	char file_old_color[COLOR_MAXLEN];
	char file_new_color[COLOR_MAXLEN];
};

void init_add_i_state(struct add_i_state *s, struct repository *r);

struct repository;
struct pathspec;
int run_add_i(struct repository *r, const struct pathspec *ps);

enum add_p_mode {
	ADD_P_STAGE,
	ADD_P_STASH,
	ADD_P_RESET,
};

int run_add_p(struct repository *r, enum add_p_mode mode,
	      const char *revision, const struct pathspec *ps);

#endif

debug log:

solving c278f3e26f ...
found c278f3e26f in https://public-inbox.org/git/846cf16e77f4af39310902129be40fda664ace72.1576579264.git.gitgitgadget@gmail.com/
found 3defa2ff3d in https://public-inbox.org/git/8f6139f94debb9b3bfb9c9e8b8e18e3c2fb46a06.1576579264.git.gitgitgadget@gmail.com/
found 062dc3646c in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100644 062dc3646c2fd41df3b767d8fa64c8e454e846c0	add-interactive.h

applying [1/2] https://public-inbox.org/git/8f6139f94debb9b3bfb9c9e8b8e18e3c2fb46a06.1576579264.git.gitgitgadget@gmail.com/
diff --git a/add-interactive.h b/add-interactive.h
index 062dc3646c..3defa2ff3d 100644


applying [2/2] https://public-inbox.org/git/846cf16e77f4af39310902129be40fda664ace72.1576579264.git.gitgitgadget@gmail.com/
diff --git a/add-interactive.h b/add-interactive.h
index 3defa2ff3d..c278f3e26f 100644

Checking patch add-interactive.h...
Applied patch add-interactive.h cleanly.
Checking patch add-interactive.h...
Applied patch add-interactive.h cleanly.

index at:
100644 c278f3e26f6f48d8be559ef949eff37037f21203	add-interactive.h

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).