git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
blob 3450359685e532bc707905d875b30f68e6ee191c 967 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
36
37
38
39
40
41
 
#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];

	int use_single_key;
	char *interactive_diff_filter, *interactive_diff_algorithm;
};

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

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,
	ADD_P_CHECKOUT,
	ADD_P_WORKTREE,
};

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

#endif

debug log:

solving 3450359685 ...
found 3450359685 in https://public-inbox.org/git/6d6794089d23169c7ea20f4d9ad1351ddcd33e51.1576968120.git.gitgitgadget@gmail.com/
found 21389851aa in https://public-inbox.org/git/74958419f62ee5a04b5fbc3ce6b399353f0791c8.1576968120.git.gitgitgadget@gmail.com/
found 7299cf6e04 in https://public-inbox.org/git/a7355776d6aef9d731de27c02caca728ff579bac.1576968120.git.gitgitgadget@gmail.com/
found 4895ed1df5 in https://public-inbox.org/git/b63fca6dabd6f5dbbc8280647146153e82aca77c.1576579264.git.gitgitgadget@gmail.com/
found f865f1e8ca in https://public-inbox.org/git/3c55f106c7e5f246d4bc55256249cd0bf7183dd8.1576579264.git.gitgitgadget@gmail.com/
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/7] 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/7] 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


applying [3/7] https://public-inbox.org/git/3c55f106c7e5f246d4bc55256249cd0bf7183dd8.1576579264.git.gitgitgadget@gmail.com/
diff --git a/add-interactive.h b/add-interactive.h
index c278f3e26f..f865f1e8ca 100644


applying [4/7] https://public-inbox.org/git/b63fca6dabd6f5dbbc8280647146153e82aca77c.1576579264.git.gitgitgadget@gmail.com/
diff --git a/add-interactive.h b/add-interactive.h
index f865f1e8ca..4895ed1df5 100644


applying [5/7] https://public-inbox.org/git/a7355776d6aef9d731de27c02caca728ff579bac.1576968120.git.gitgitgadget@gmail.com/
diff --git a/add-interactive.h b/add-interactive.h
index 4895ed1df5..7299cf6e04 100644


applying [6/7] https://public-inbox.org/git/74958419f62ee5a04b5fbc3ce6b399353f0791c8.1576968120.git.gitgitgadget@gmail.com/
diff --git a/add-interactive.h b/add-interactive.h
index 7299cf6e04..21389851aa 100644


applying [7/7] https://public-inbox.org/git/6d6794089d23169c7ea20f4d9ad1351ddcd33e51.1576968120.git.gitgitgadget@gmail.com/
diff --git a/add-interactive.h b/add-interactive.h
index 21389851aa..3450359685 100644

Checking patch add-interactive.h...
Applied patch add-interactive.h cleanly.
Checking patch add-interactive.h...
Applied patch add-interactive.h cleanly.
Checking patch add-interactive.h...
Applied patch add-interactive.h cleanly.
Checking patch add-interactive.h...
Applied patch add-interactive.h cleanly.
Checking patch add-interactive.h...
Applied patch add-interactive.h cleanly.
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 3450359685e532bc707905d875b30f68e6ee191c	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).