Re: [PATCH v7 1/1] refs.c: SSE4.2 optimizations for check_refname_component

2014-06-14 Thread David Turner
On Sat, 2014-06-14 at 17:22 +0200, Ondřej Bílka wrote: > On Thu, Jun 05, 2014 at 07:56:15PM -0400, David Turner wrote: > > Optimize check_refname_component using SSE4.2, where available. > > > > git rev-parse HEAD is a good test-case for this, since it does almost > > nothing except parse refs. F

Re: [PATCH] gitk: use mktemp -d to avoid predictable temporary directories

2014-06-14 Thread Paul Mackerras
On Fri, Jun 13, 2014 at 02:43:48PM -0700, David Aguilar wrote: > gitk uses a predictable ".gitk-tmp.$PID" pattern when generating > a temporary directory. > > Use "mktemp -d .gitk-tmp.XX" to harden gitk against someone > seeding /tmp with files matching the pid pattern. > > Signed-off-by: Dav

Re: [PATCH] gitk: honor TMPDIR when viewing external diffs

2014-06-14 Thread Paul Mackerras
On Fri, Jun 13, 2014 at 02:13:37PM -0700, David Aguilar wrote: > gitk fails to show diffs when browsing a read-only repository. > This is due to gitk's assumption that the current directory is always > writable. > > Teach gitk to honor either the GITK_TMPDIR or TMPDIR environment > variables. Thi

Re: [PATCH] gitk: Allow displaying time zones from author and commit timestamps

2014-06-14 Thread Paul Mackerras
On Mon, May 12, 2014 at 07:25:58AM -0400, Anders Kaseorg wrote: > Now gitk can be configured to display author and commit dates in their > original timezone, by putting %z into datetimeformat in ~/.gitk. > > Signed-off-by: Anders Kaseorg Thanks, applied. Paul. -- To unsubscribe from this list:

Re: [PATCH] gitk: show staged submodules regardless of ignore config

2014-06-14 Thread Paul Mackerras
On Fri, Jun 06, 2014 at 02:08:29PM -0700, Junio C Hamano wrote: > From: Jens Lehmann > Date: Tue, 8 Apr 2014 21:36:08 +0200 > > Currently setting submodule..ignore and/or diff.ignoreSubmodules to > "all" suppresses all output of submodule changes for gitk. This is really > confusing, as even when

Re: [PATCH] gitk: switch to patch mode when searching for line origin

2014-06-14 Thread Paul Mackerras
On Sat, Apr 05, 2014 at 11:38:50PM +0300, Max Kirillov wrote: > If the "Show origin of this line" is started from tree mode, > it still shows the result in tree mode, which I suppose not > what user expects to see. Thanks, applied. Paul. -- To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH] gitk: replace SHA1 entry field on keyboard paste

2014-06-14 Thread Paul Mackerras
On Thu, Mar 20, 2014 at 01:58:51AM -0700, Ilya Bobyr wrote: > We already replace old SHA with the clipboard content for the mouse > paste event. It seems reasonable to do the same when pasting from > keyboard. > > Signed-off-by: Ilya Bobyr Thanks, applied. Paul. -- To unsubscribe from this lis

[PATCH] http: fix charset detection of extract_content_type()

2014-06-14 Thread nori
extract_content_type() could not extract a charset parameter if the parameter is not the first one and there is a whitespace and a following semicolon just before the parameter. For example: text/plain; format=fixed ;charset=utf-8 Signed-off-by: Yi EungJun --- http.c | 2 +- 1 file changed,

[PATCH] http-protocol.txt: Basic Auth is RFC 2617, not RFC 2616

2014-06-14 Thread nori
Signed-off-by: Yi EungJun --- Documentation/technical/http-protocol.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/technical/http-protocol.txt b/Documentation/technical/http-protocol.txt index 544373b..2d0eb19 100644 --- a/Documentation/technical/http-proto

[PATCH v8] Add an explicit GIT_DIR to the list of excludes

2014-06-14 Thread Pasha Bolokhov
When an explicit '--git-dir' option points to a directory inside the work tree, git treats it as if it were any other directory. In particular, 'git status' lists it as untracked, while 'git add -A' stages the metadata directory entirely Add GIT_DIR to the list of excludes in a dedicated function

pre-commit hook question

2014-06-14 Thread Nick Dimov
Hello everyone. Im struggling for a couple of hours to make git store metadata of the files using metastore and I use hooks/pre-commit for this. The problem is that the script is invoked correctly, and modifies the file "metadata" but the file itself is not added into commit. I tried calling "git a

Re: [PATCH v7 1/1] refs.c: SSE4.2 optimizations for check_refname_component

2014-06-14 Thread Ondřej Bílka
On Thu, Jun 05, 2014 at 07:56:15PM -0400, David Turner wrote: > Optimize check_refname_component using SSE4.2, where available. > > git rev-parse HEAD is a good test-case for this, since it does almost > nothing except parse refs. For one particular repo with about 60k > refs, almost all packed,

Re: [PATCH v7 0/1] refs.c: SSE4.2 optimizations for check_refname_component

2014-06-14 Thread Philip Oakley
From: "Torsten Bögershausen" On 2014-06-13 03.18, David Turner wrote: [] It is too old for my patch because it doesn't support ifunc (and I suspect that no version of GCC for Windows supports ifunc). But that does not seem to be what is going on in your error message. Instead, when we #inclu