git log, git show, git blame and friends look at the encoding header of a commit object, and try to re-code the log message into UTF-8 unless otherwise specified. You can specify the desired output encoding with i18n.logOutputEncoding in .git/config file, like this: [i18n] logOutputEncod...
You may often find that during a bisect session you want to have temporary modifications (e.g. s/#define DEBUG 0/#define DEBUG 1/ in a header file, or "revision that does not have this commit needs this patch applied to work around another problem this bisection is not interested in")...
badType (ERROR) Found an invalid object type. duplicateEntries (ERROR) A tree contains duplicate file entries. emptyName (WARN) A path contains an empty name. extraHeaderEntry (IGNORE) Extra headers found after tagger. fullPathname (WARN) A path contains the full path starting with ...
{ const char *ident_line = NULL; size_t ident_len; struct ident_split ident; const char *signer_header; switch (sigc->payload_type) { case SIGNATURE_PAYLOAD_COMMIT: signer_header = "committer"; break; case SIGNATURE_PAYLOAD_TAG: signer_header = "tagger"; break; case SIGNATURE_PAYLOAD_...
what locale they are in by sending Accept-Language HTTP header, but this was done only for some requests but not others. * Introduce a safe.barerepository configuration variable that allows users to forbid discovery of bare repositories.
(*w).Header().Set("Pragma", "no-cache") (*w).Header().Set("Cache-Control", "no-cache, max-age=0, must-revalidate" 上面我们也提到了,无论是拉取还是推送,都需要先进行引用发现,实际上upload-pack和receive-pack所处理的差别仅仅是调用的命令不同而已,这一点我们也在handleRefs函数里面做了相应...
server { listen 80; server_name wiki.example.com location / { proxy_pass http://127.0.0.1:5001/; proxy_set_header X-Real-IP $remote_addr; proxy_redirect off; } access_log /var/log/nginx/wiki.example.com.log main; } Reload your nginx config and you should be all set. Proxying to...
what locale they are in by sending Accept-Language HTTP header, but this was done only for some requests but not others. * Introduce a safe.barerepository configuration variable that allows users to forbid discovery of bare repositories.
/* Derived from Linux "Features Test Macro" header * Convenience macros to test the versions of gcc (or * a compatible compiler).* Use them like this: * #if GIT_GNUC_PREREQ (2,8) * ... code requiring gcc 2.8 or later ......
/* * On Solaris, when _XOPEN_EXTENDED is set, its header file * forces the programs to be XPG4v2, defeating any _XOPEN_SOURCE * setting to say we are XPG5 or XPG6. Also on Solaris, * XPG6 programs must be compiled with a c99 compiler, while ...