git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
blob 90eb3f08a38e44a343292491f43521ed00f573cc 649 bytes (raw)
name: prompt.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
 
#ifndef PROMPT_H
#define PROMPT_H

#define PROMPT_ASKPASS (1<<0)
#define PROMPT_ECHO    (1<<1)

/*
 * This function should not be used for regular prompts (i.e., asking user for
 * confirmation or picking an option from an interactive menu) as it only
 * accepts input from /dev/tty, thus making it impossible to test with the
 * current test suite.  Please instead use git_read_line_interactively for that
 * purpose.  See 97387c8bdd (am: read interactive input from stdin, 2019-05-20)
 * for historical context.
 *
 */

char *git_prompt(const char *prompt, int flags);

int git_read_line_interactively(struct strbuf *line);

#endif /* PROMPT_H */

debug log:

solving 90eb3f08a3 ...
found 90eb3f08a3 in https://public-inbox.org/git/20210513214152.34792-2-firminmartin24@gmail.com/
found e294e93541 in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100644 e294e93541cfa0749cfb60fdceac2ebd3f41751d	prompt.h

applying [1/1] https://public-inbox.org/git/20210513214152.34792-2-firminmartin24@gmail.com/
diff --git a/prompt.h b/prompt.h
index e294e93541..90eb3f08a3 100644

Checking patch prompt.h...
Applied patch prompt.h cleanly.

index at:
100644 90eb3f08a38e44a343292491f43521ed00f573cc	prompt.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).