File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1212const char git_version_string [] = GIT_VERSION ;
1313const char git_built_from_commit_string [] = GIT_BUILT_FROM_COMMIT ;
1414
15- /*
16- * Trim and replace each character with ascii code below 32 or above
17- * 127 (included) using a dot '.' character.
18- */
19- static void redact_non_printables (struct strbuf * buf )
15+ void redact_non_printables (struct strbuf * buf )
2016{
2117 strbuf_trim (buf );
2218 for (size_t i = 0 ; i < buf -> len ; i ++ ) {
Original file line number Diff line number Diff line change 44extern const char git_version_string [];
55extern const char git_built_from_commit_string [];
66
7+ struct strbuf ;
8+
79const char * git_user_agent (void );
810const char * git_user_agent_sanitized (void );
911
12+ /*
13+ * Trim and replace each character with ascii code below 32 or above
14+ * 127 (included) using a dot '.' character.
15+ */
16+ void redact_non_printables (struct strbuf * buf );
17+
1018#endif /* VERSION_H */
You can’t perform that action at this time.
0 commit comments