@@ -1445,65 +1445,10 @@ struct object *repo_peel_to_type(struct repository *r,
14451445#define peel_to_type (name , namelen , obj , type ) \
14461446 repo_peel_to_type(the_repository, name, namelen, obj, type)
14471447
1448- #define IDENT_STRICT 1
1449- #define IDENT_NO_DATE 2
1450- #define IDENT_NO_NAME 4
1451-
1452- enum want_ident {
1453- WANT_BLANK_IDENT ,
1454- WANT_AUTHOR_IDENT ,
1455- WANT_COMMITTER_IDENT
1456- };
1457-
1458- const char * git_author_info (int );
1459- const char * git_committer_info (int );
1460- const char * fmt_ident (const char * name , const char * email ,
1461- enum want_ident whose_ident ,
1462- const char * date_str , int );
1463- const char * fmt_name (enum want_ident );
1464- const char * ident_default_name (void );
1465- const char * ident_default_email (void );
14661448const char * git_editor (void );
14671449const char * git_sequence_editor (void );
14681450const char * git_pager (int stdout_is_tty );
14691451int is_terminal_dumb (void );
1470- int git_ident_config (const char * , const char * , void * );
1471- /*
1472- * Prepare an ident to fall back on if the user didn't configure it.
1473- */
1474- void prepare_fallback_ident (const char * name , const char * email );
1475- void reset_ident_date (void );
1476-
1477- struct ident_split {
1478- const char * name_begin ;
1479- const char * name_end ;
1480- const char * mail_begin ;
1481- const char * mail_end ;
1482- const char * date_begin ;
1483- const char * date_end ;
1484- const char * tz_begin ;
1485- const char * tz_end ;
1486- };
1487- /*
1488- * Signals an success with 0, but time part of the result may be NULL
1489- * if the input lacks timestamp and zone
1490- */
1491- int split_ident_line (struct ident_split * , const char * , int );
1492-
1493- /*
1494- * Given a commit or tag object buffer and the commit or tag headers, replaces
1495- * the idents in the headers with their canonical versions using the mailmap mechanism.
1496- */
1497- void apply_mailmap_to_header (struct strbuf * , const char * * , struct string_list * );
1498-
1499- /*
1500- * Compare split idents for equality or strict ordering. Note that we
1501- * compare only the ident part of the line, ignoring any timestamp.
1502- *
1503- * Because there are two fields, we must choose one as the primary key; we
1504- * currently arbitrarily pick the email.
1505- */
1506- int ident_cmp (const struct ident_split * , const struct ident_split * );
15071452
15081453struct cache_def {
15091454 struct strbuf path ;
@@ -1570,9 +1515,6 @@ int update_server_info(int);
15701515const char * get_log_output_encoding (void );
15711516const char * get_commit_output_encoding (void );
15721517
1573- int committer_ident_sufficiently_given (void );
1574- int author_ident_sufficiently_given (void );
1575-
15761518extern const char * git_commit_encoding ;
15771519extern const char * git_log_output_encoding ;
15781520extern const char * git_mailmap_file ;
0 commit comments