Re: [PATCH 2/3] setup_pager: set MORE=R

2014-01-16 Thread Kyle J. McKay
On Jan 16, 2014, at 20:21, Jeff King wrote: When we run the pager, we always set "LESS=R" to tell the pager to pass through ANSI colors. On modern versions of FreeBSD, the system "more" can do the same trick. [snip] diff --git a/pager.c b/pager.c index 90d237e..2303164 100644 --- a/pager.c +++

Re: [PATCH] .gitignore: Ignore editor backup and swap files

2014-01-16 Thread Duy Nguyen
On Fri, Jan 17, 2014 at 5:43 AM, Jonathan Nieder wrote: > Subject: gitignore doc: add global gitignore to synopsis > > The gitignore(5) manpage already documents $XDG_CONFIG_HOME/git/ignore > but it is easy to forget that it exists. Add a reminder to the > synopsis. Yes! I knew about the xdg thi

Re: [PATCH] .gitignore: Ignore editor backup and swap files

2014-01-16 Thread David Kastrup
Junio C Hamano writes: > Alexander Berntsen writes: > >> Signed-off-by: Alexander Berntsen >> --- >> .gitignore | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/.gitignore b/.gitignore >> index b5f9def..2905c21 100644 >> --- a/.gitignore >> +++ b/.gitignore >> @@ -240,3 +240,5 @@

[PATCH 3/3] pager: disable colors for some known-bad configurations

2014-01-16 Thread Jeff King
Some pagers do not like the ANSI colors we print. It used to be that one had to opt into the colors, and you would usually check your pager config at the same time. These days, we turn on color.ui by default, meaning that some users may see broken "git log" from the start, before they have configur

Re: [PATCH] send-email: If the ca path is not specified, use the defaults

2014-01-16 Thread Kyle J. McKay
On Jan 16, 2014, at 15:19, Junio C Hamano wrote: Jonathan Nieder writes: FWIW this should help on Mac OS X, too. Folks using git on mac at $DAYJOB have been using the workaround described at http://mercurial.selenic.com/wiki/CACertificates#Mac_OS_X_10.6_and_higher so I forgot to report it. :/

[PATCH 1/3] setup_pager: refactor LESS/LV environment setting

2014-01-16 Thread Jeff King
The way the code is structured now, we have to repeat ourselves in fetching the environment variables (which will get annoying as we add more). Instead, let's use an argv_array. That removes a lot of the extra conditionals and makes it easier to add new variables. It does means we'll leak the me

[PATCH 2/3] setup_pager: set MORE=R

2014-01-16 Thread Jeff King
When we run the pager, we always set "LESS=R" to tell the pager to pass through ANSI colors. On modern versions of FreeBSD, the system "more" can do the same trick. Unlike "less", we may be dealing with various versions of "more" that do not understand the "R" option, but do know how to read optio

[PATCH 0/3] improved out-of-the-box color settings

2014-01-16 Thread Jeff King
On Thu, Jan 16, 2014 at 09:35:48PM -0500, Jeff King wrote: > I can prepare a patch series, but I happily no longer have any antique > systems to test this kind of stuff on. Here it is. For those just joining us, the problem is that on some systems, "git log" out of the box produces ANSI codes whi

Re: 'git log' escape symbols shown as ESC[33 and ESC[m

2014-01-16 Thread Jeff King
On Thu, Jan 16, 2014 at 09:35:48PM -0500, Jeff King wrote: > I think we should make an effort to set MORE=R on FreeBSD. We can > perhaps just set it unconditionally, and assume that primitive "more" > will ignore it. And then assume that "more" will handle colors (either > because of the R setting

Re: with git-next, git pull --rebase can print out "fatal: No such ref: ''" for branches without an upstream

2014-01-16 Thread Siddharth Agarwal
On 01/16/2014 06:21 PM, Jeff King wrote: On Thu, Jan 16, 2014 at 05:08:14PM -0800, Siddharth Agarwal wrote: With git-next, where git pull --rebase can print out "fatal: No such ref: ''" if git pull --rebase is run on branches without an upstream. This is already fixed in bb3f458 (rebase: fix f

Re: 'git log' escape symbols shown as ESC[33 and ESC[m

2014-01-16 Thread Yuri
On 01/16/2014 18:32, Jeff King wrote: Ah, if "more" can handle the colors, then that is preferable. I do think it would have to be system-specific, though. Unlike "less", there are many implementations of "more", and quite a lot of them will probably not support colors. We can make it a build-ti

Re: [PATCH v4 6/6] Documentation: Describe 'submodule update' modes in detail

2014-01-16 Thread W. Trevor King
On Thu, Jan 16, 2014 at 01:55:37PM -0800, Junio C Hamano wrote: > "W. Trevor King" writes: > > On Thu, Jan 16, 2014 at 12:21:04PM -0800, Junio C Hamano wrote: > >> "W. Trevor King" writes: > >>> +is only touched when the remote reference does not match the > >>> +submodule's HEAD (for none-mode u

Re: 'git log' escape symbols shown as ESC[33 and ESC[m

2014-01-16 Thread Jeff King
On Thu, Jan 16, 2014 at 06:29:21PM -0800, Jonathan Nieder wrote: > > + /* > > +* We know that "more" does not pass through colors at all. > > +*/ > > + if (!strcmp(pager, "more")) > > + return 0; > > I seem to remember that on some systems "more" is the name of the > full-fe

Re: 'git log' escape symbols shown as ESC[33 and ESC[m

2014-01-16 Thread Jeff King
On Thu, Jan 16, 2014 at 06:28:10PM -0800, Yuri wrote: > On 01/16/2014 18:13, Jeff King wrote: > >Interesting. I take it that "more" does not pass through ANSI codes at > >all, then. > > Actually, 'more -R' also passes colors on FreeBSD. So maybe you can > always add -R if PAGER=more on *BSD (any

Re: 'git log' escape symbols shown as ESC[33 and ESC[m

2014-01-16 Thread Jonathan Nieder
Hi, Jeff King wrote: > Obviously that does not help the "new unchanged user". I think we can > be smarter about guessing whether the pager can actually handle color, > based on the name. [...] > +++ b/pager.c > @@ -182,3 +182,38 @@ int check_pager_config(const char *cmd) [...] > + /* > +

Re: 'git log' escape symbols shown as ESC[33 and ESC[m

2014-01-16 Thread Yuri
On 01/16/2014 18:13, Jeff King wrote: Interesting. I take it that "more" does not pass through ANSI codes at all, then. Actually, 'more -R' also passes colors on FreeBSD. So maybe you can always add -R if PAGER=more on *BSD (any of them) ? This will fix this issue. I know, it is unpleasan

Re: file permissions in Git repo

2014-01-16 Thread Jeff King
On Thu, Jan 16, 2014 at 03:58:57PM -0800, SH wrote: > We have a repository which holds lots of shell and perl scripts. We add the > files to repository (from windows client) with executable permissions (using > cygwin) but when we pull that repository on another machine (windows or > linux), > fi

Re: with git-next, git pull --rebase can print out "fatal: No such ref: ''" for branches without an upstream

2014-01-16 Thread Jeff King
On Thu, Jan 16, 2014 at 05:08:14PM -0800, Siddharth Agarwal wrote: > With git-next, where git pull --rebase can print out "fatal: No such > ref: ''" if git pull --rebase is run on branches without an upstream. This is already fixed in bb3f458 (rebase: fix fork-point with zero arguments, 2014-01-0

Re: 'git log' escape symbols shown as ESC[33 and ESC[m

2014-01-16 Thread Jeff King
On Thu, Jan 16, 2014 at 06:02:24PM -0800, Yuri wrote: > On 01/16/2014 17:47, Jeff King wrote: > >Are you using "less" as your pager (it is the default in git unless you > >have set your PAGER environment variable)? If so, do you have the "R" > >option set to pass through ANSI codes? Git will set t

Re: 'git log' escape symbols shown as ESC[33 and ESC[m

2014-01-16 Thread Yuri
On 01/16/2014 17:47, Jeff King wrote: Are you using "less" as your pager (it is the default in git unless you have set your PAGER environment variable)? If so, do you have the "R" option set to pass through ANSI codes? Git will set this automatically in your "LESS" variable if you do not already

Re: 'git log' escape symbols shown as ESC[33 and ESC[m

2014-01-16 Thread Jeff King
On Thu, Jan 16, 2014 at 04:34:01PM -0800, Yuri wrote: > When I run 'git log' on FreeBSD-9.2, I get output like this: > ESC[33mcommit 398e78c62fd507a317de7c2abb8e25c9fac7ac9eESC[m > Merge: 5fb8f6e d2138ba > ... > > ESC is white on black background. > > Why ESC[33m aren't expanded by the terminal?

[PATCH 5/5] diff_filespec: use only 2 bits for is_binary flag

2014-01-16 Thread Jeff King
The is_binary flag needs only three values: -1, 0, and 1. However, we use a whole 32-bit int for it on most systems (both 32- and 64- bit). Instead, we can mark it to use only 2 bits. On 32-bit systems, this lets it end up as part of the bitfield above (saving 4 bytes). On 64-bit systems, we don't

[PATCH 4/5] diff_filespec: reorder is_binary field

2014-01-16 Thread Jeff King
The middle of the diff_filespec struct contains a mixture of ints, shorts, and bit-fields, followed by a pointer. On an x86-64 system with an LP64 or LLP64 data model (i.e., most of them), the integers and flags end up being padded out by 41 bits to put the pointer at an 8-byte boundary. After the

[PATCH 3/5] diff_filespec: drop xfrm_flags field

2014-01-16 Thread Jeff King
The only mention of this field in the code is by some debugging code which prints it out (and it will always be zero, since we never touch it otherwise). It was obsoleted very early on by 25d5ea4 ([PATCH] Redo rename/copy detection logic., 2005-05-24). Signed-off-by: Jeff King --- No savings here

[PATCH 2/5] diff_filespec: drop funcname_pattern_ident field

2014-01-16 Thread Jeff King
This struct field was obsoleted by be58e70 (diff: unify external diff and funcname parsing code, 2008-10-05), but we forgot to remove it. Signed-off-by: Jeff King --- 8 bytes of our size savings come here... diffcore.h | 1 - 1 file changed, 1 deletion(-) diff --git a/diffcore.h b/diffcore.h i

[PATCH 1/5] diff_filespec: reorder dirty_submodule macro definitions

2014-01-16 Thread Jeff King
diff_filespec has a 2-bit "dirty_submodule" field and defines two flags as macros. Originally these were right next to each other, but a new field was accidentally added in between in commit 4682d85. This patch puts the field and its flags back together. Using an enum like: enum { DIR

[PATCH 0/5] diff_filespec cleanups and optimizations

2014-01-16 Thread Jeff King
I recently came across a repository with a commit containing 100 million paths in its tree. Cleverly, the whole repo fits into a 1.5K packfile (can you guess how it was done?). Not so cleverly, running "diff-tree --root" on that commit uses a large amount of memory. :) I do not think it is worth o

with git-next, git pull --rebase can print out "fatal: No such ref: ''" for branches without an upstream

2014-01-16 Thread Siddharth Agarwal
With git-next, where git pull --rebase can print out "fatal: No such ref: ''" if git pull --rebase is run on branches without an upstream. With git at b139ac2589b15d55cd9fa5c6957da44b150d0737, the following commands demonstrate the problem: git init repo1 cd repo1 touch a; git add a; git comm

'git log' escape symbols shown as ESC[33 and ESC[m

2014-01-16 Thread Yuri
When I run 'git log' on FreeBSD-9.2, I get output like this: ESC[33mcommit 398e78c62fd507a317de7c2abb8e25c9fac7ac9eESC[m Merge: 5fb8f6e d2138ba ... ESC is white on black background. Why ESC[33m aren't expanded by the terminal? Is this because git prints an unsupported sequence? Hex of what gi

file permissions in Git repo

2014-01-16 Thread SH
Hi We have a repository which holds lots of shell and perl scripts. We add the files to repository (from windows client) with executable permissions (using cygwin) but when we pull that repository on another machine (windows or linux), files dont have executable permission. Can you please provi

Re: [PATCH] send-email: If the ca path is not specified, use the defaults

2014-01-16 Thread Junio C Hamano
Jonathan Nieder writes: > FWIW this should help on Mac OS X, too. Folks using git on mac > at $DAYJOB have been using the workaround described at > http://mercurial.selenic.com/wiki/CACertificates#Mac_OS_X_10.6_and_higher > so I forgot to report it. :/ Hmph, is that the same issue, though? Tha

Re: [PATCH] .gitignore: Ignore editor backup and swap files

2014-01-16 Thread Ramsay Jones
On 16/01/14 22:06, Junio C Hamano wrote: > Alexander Berntsen writes: > >> Signed-off-by: Alexander Berntsen >> --- >> .gitignore | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/.gitignore b/.gitignore >> index b5f9def..2905c21 100644 >> --- a/.gitignore >> +++ b/.gitignore >> @@

Re: [PATCH] .gitignore: Ignore editor backup and swap files

2014-01-16 Thread Jonathan Nieder
Junio C Hamano wrote: > These paths that depend on your choice of the editor and other tools > can still be managed in your personal .git/info/exclude in the > meantime. Or $HOME/.config/git/ignore to not have to make the same setting in every repository. :) Maybe it would make sense to add a hi

Re: [PATCH v4 6/6] Documentation: Describe 'submodule update' modes in detail

2014-01-16 Thread W. Trevor King
On Thu, Jan 16, 2014 at 10:18:06PM -, Philip Oakley wrote: > From: "Junio C Hamano" > > "W. Trevor King" writes: > >> + repository. The update mode defaults to 'checkout', but be > > nit: s/but be/but can be/ ? Thanks. Queuing for v5. Cheers, Trevor -- This email may be signed or en

Re: [PATCH v4 6/6] Documentation: Describe 'submodule update' modes in detail

2014-01-16 Thread Philip Oakley
From: "Junio C Hamano" "W. Trevor King" writes: [...] @@ -155,13 +155,31 @@ it contains local modifications. update:: Update the registered submodules, i.e. clone missing submodules and - checkout the commit specified in the index of the containing repository. - This will make the submo

Re: [PATCH] .gitignore: Ignore editor backup and swap files

2014-01-16 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 16/01/14 23:06, Junio C Hamano wrote: > I personally do not mind listing these common ones too much, but if > I am not mistaken, our policy on this file so far has been that it > lists build artifacts, and not personal preference (the *.swp > ent

Re: git: problematic git status output with some translations (such as fr_FR)

2014-01-16 Thread Raphael Hertzog
Hi, On Fri, 20 Dec 2013, Duy Nguyen wrote: > On Fri, Dec 20, 2013 at 3:50 AM, Jonathan Nieder wrote: > > Junio C Hamano wrote: > >> Jonathan Nieder writes: > > > >>> This includes the colon in the translated string, to make it easier to > >>> remember to keep the non-breaking space before it. >

Re: [PATCH] .gitignore: Ignore editor backup and swap files

2014-01-16 Thread Junio C Hamano
Alexander Berntsen writes: > Signed-off-by: Alexander Berntsen > --- > .gitignore | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/.gitignore b/.gitignore > index b5f9def..2905c21 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -240,3 +240,5 @@ > *.pdb > /Debug/ > /Release/ > +*~

Re: [PATCH v4 6/6] Documentation: Describe 'submodule update' modes in detail

2014-01-16 Thread Junio C Hamano
"W. Trevor King" writes: >> A naïve expectation from a casual reader of the above would be "The >> superproject's tree ought to point at the same commit as the tip of >> the branch used in the submodule (modulo mirroring delays and >> somesuch), > > What is the branch used in the submodule? The

[PATCH] .gitignore: Ignore editor backup and swap files

2014-01-16 Thread Alexander Berntsen
Signed-off-by: Alexander Berntsen --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index b5f9def..2905c21 100644 --- a/.gitignore +++ b/.gitignore @@ -240,3 +240,5 @@ *.pdb /Debug/ /Release/ +*~ +.*.swp -- 1.8.3.2 -- To unsubscribe from this list:

Re: [PATCH v4 6/6] Documentation: Describe 'submodule update' modes in detail

2014-01-16 Thread W. Trevor King
On Thu, Jan 16, 2014 at 09:02:22PM +, John Keeping wrote: > On Thu, Jan 16, 2014 at 12:55:21PM -0800, W. Trevor King wrote: > > On Thu, Jan 16, 2014 at 12:21:04PM -0800, Junio C Hamano wrote: > > > Not '--checkout'? > > > > Oops, will fix in v5. > > Shouldn't this also be `--checkout` (backti

Re: [PATCH 0/6] Make 'git help everyday' work -> relnotes

2014-01-16 Thread Philip Oakley
From: "Stefan Näwe" [...] I'd really like to see 'git help relnotes' working as well... Stefan Stefan, Were you thinking that all the release notes would be quoted verbatim in the one long man page? Or that it would be a set of links to each of the individual text files (see the ifdef::

Re: [PATCH v4 3/6] submodule: Explicit local branch creation in module_clone

2014-01-16 Thread W. Trevor King
On Thu, Jan 16, 2014 at 11:43:44AM -0800, Junio C Hamano wrote: > "W. Trevor King" writes: > > > @@ -817,11 +831,15 @@ cmd_update() > > > > displaypath=$(relative_path "$prefix$sm_path") > > > > - if test "$update_module" = "none" > > - then > > + cas

What's cooking in git.git (Jan 2014, #03; Thu, 16)

2014-01-16 Thread Junio C Hamano
Here are the topics that have been cooking. Commits prefixed with '-' are only in 'pu' (proposed updates) while commits prefixed with '+' are in 'next'. I am planning to tag 1.9-rc0 preview release from the tip of 'master' soonish. Hopefully a few fix-up topics still in flight and also updates t

Re: [PATCH v4 6/6] Documentation: Describe 'submodule update' modes in detail

2014-01-16 Thread John Keeping
On Thu, Jan 16, 2014 at 12:55:21PM -0800, W. Trevor King wrote: > On Thu, Jan 16, 2014 at 12:21:04PM -0800, Junio C Hamano wrote: > > "W. Trevor King" writes: > > > @@ -155,13 +155,31 @@ it contains local modifications. > > > > > > update:: > > > Update the registered submodules, i.e. clone m

Re: [PATCH v4 6/6] Documentation: Describe 'submodule update' modes in detail

2014-01-16 Thread W. Trevor King
On Thu, Jan 16, 2014 at 12:21:04PM -0800, Junio C Hamano wrote: > "W. Trevor King" writes: > > @@ -155,13 +155,31 @@ it contains local modifications. > > > > update:: > > Update the registered submodules, i.e. clone missing submodules and > > - checkout the commit specified in the index o

Re: [PATCH v4 4/6] t7406: Just-cloned checkouts update to the gitlinked hash with 'reset'

2014-01-16 Thread Junio C Hamano
"W. Trevor King" writes: > On Thu, Jan 16, 2014 at 11:22:52AM -0800, Junio C Hamano wrote: >> "W. Trevor King" writes: >> >> > To preserve the local branch, for situations where we're not on a >> > detached HEAD. >> > >> > Signed-off-by: W. Trevor King >> > --- >> >> This should be a part of

Re: [PATCH v4 6/6] Documentation: Describe 'submodule update' modes in detail

2014-01-16 Thread Junio C Hamano
"W. Trevor King" writes: > The old documentation did not distinguish between cloning and > non-cloning updates and lacked clarity on which operations would lead > to detached HEADs, and which would not. The new documentation > addresses these issues while updating the docs to reflect the changes

Re: [PATCH v4 1/6] submodule: Make 'checkout' update_module explicit

2014-01-16 Thread W. Trevor King
On Thu, Jan 16, 2014 at 09:07:22PM +0100, Francesco Pretto wrote: > 2014/1/16 W. Trevor King : > > Avoiding useless clones is probably more important than avoiding > > duplicate "Invalid update mode" messages. > > No, it's not duplicate code. I meant “duplicating the "Invalid update mode" error m

Re: [PATCH v4 1/6] submodule: Make 'checkout' update_module explicit

2014-01-16 Thread Francesco Pretto
2014/1/16 W. Trevor King : > Avoiding useless clones is probably more important than avoiding > duplicate "Invalid update mode" messages. No, it's not duplicate code. I'll explain, please follow me: > @@ -803,17 +803,10 @@ cmd_update() > update_module=$update >

Re: [PATCH v4 3/6] submodule: Explicit local branch creation in module_clone

2014-01-16 Thread Junio C Hamano
"W. Trevor King" writes: > @@ -817,11 +831,15 @@ cmd_update() > > displaypath=$(relative_path "$prefix$sm_path") > > - if test "$update_module" = "none" > - then > + case "$update_module" in > + none) > echo "

Re: [PATCH v4 4/6] t7406: Just-cloned checkouts update to the gitlinked hash with 'reset'

2014-01-16 Thread W. Trevor King
On Thu, Jan 16, 2014 at 11:22:52AM -0800, Junio C Hamano wrote: > "W. Trevor King" writes: > > > To preserve the local branch, for situations where we're not on a > > detached HEAD. > > > > Signed-off-by: W. Trevor King > > --- > > This should be a part of some other change that actually change

Re: [PATCH v4 3/6] submodule: Explicit local branch creation in module_clone

2014-01-16 Thread W. Trevor King
On Thu, Jan 16, 2014 at 11:18:00AM -0800, Junio C Hamano wrote: > "W. Trevor King" writes: > > @@ -312,7 +317,16 @@ module_clone() > > echo "gitdir: $rel/$a" >"$sm_path/.git" > > > > rel=$(echo $a | sed -e 's|[^/][^/]*|..|g') > > - (clear_local_git_env; cd "$sm_path" && GIT_WORK_TREE=.

Re: git quietly fails on https:// URL, https errors are never reported to user

2014-01-16 Thread Yuri
On 01/16/2014 10:03, Jeff King wrote: We used to print "Reading from helper 'git-remote-https' failed" in this instance. But in the majority of cases, remote-https has printed a useful message already to stderr, and the extra line just confused people. The downside, as you noticed, is that when t

Re: [PATCH v4 4/6] t7406: Just-cloned checkouts update to the gitlinked hash with 'reset'

2014-01-16 Thread Junio C Hamano
"W. Trevor King" writes: > To preserve the local branch, for situations where we're not on a > detached HEAD. > > Signed-off-by: W. Trevor King > --- This should be a part of some other change that actually changes how this "git submodule update" checks out the submodule, no? > t/t7406-submod

Re: [PATCH v4 1/6] submodule: Make 'checkout' update_module explicit

2014-01-16 Thread W. Trevor King
On Thu, Jan 16, 2014 at 10:46:36AM -0800, Junio C Hamano wrote: > "W. Trevor King" writes: > > @@ -803,17 +803,10 @@ cmd_update() > > update_module=$update > > else > > update_module=$(git config submodule."$name".update) > > -

Re: [PATCH v4 3/6] submodule: Explicit local branch creation in module_clone

2014-01-16 Thread Junio C Hamano
"W. Trevor King" writes: > The previous code only checked out branches in cmd_add. This commit > moves the branch-checkout logic into module_clone, where it can be > shared by cmd_add and cmd_update. I also update the initial checkout > command to use 'reset' to preserve branches setup during m

Re: [PATCH v4 1/6] submodule: Make 'checkout' update_module explicit

2014-01-16 Thread Junio C Hamano
"W. Trevor King" writes: > This avoids the current awkwardness of having either '' or 'checkout' > for checkout-mode updates, which makes testing for checkout-mode > updates (or non-checkout-mode updates) easier. > > Signed-off-by: W. Trevor King > --- > git-submodule.sh | 27 +++---

Re: git quietly fails on https:// URL, https errors are never reported to user

2014-01-16 Thread Jeff King
On Thu, Jan 16, 2014 at 04:27:03AM -0800, Yuri wrote: > While debugging, I find that remove_junk() deletes all directories > from under __cxa_finalize. > Before this, exit(128) is called from recvline_fh ("Debug: Remote > helper quit.) And this function in turn is called from under > refs = transp

Rebase with remote branch?

2014-01-16 Thread Robert Dailey
I have two branches, 'master' and 'work'. 'master' I never work out of, and I merge changes into it from another SVN repository (I do not use git-svn, I do this all by hand as real git commits). My 'work' branch is technically my 'master' in the git-trunk sense, as that is my personal main line of

Re: [PATCH] git-gui: fallback right pane to packed widgets with Tk 8.4

2014-01-16 Thread Benoît Bourbié
Hi All, Max, you are right, my TK version is 8.4. I applied the patch and it now works perfectly. Thanks!! Benoît On Tue, Jan 14, 2014 at 5:58 PM, Max Kirillov wrote: > Since 918dbf58, git-gui crashes if started with Tk 8.4. The reason is that > tk < 8.5 does not support -stretch option for pa

Re: git-p4: exception when cloning a perforce repository

2014-01-16 Thread Damien Gérard
On 16 Jan 2014, at 15:45, Pete Wyckoff wrote: > Oh cool, that helps a lot. P4 is just broken here, so we can get > away with being a bit sloppy in git. I'll try just pretending > "empty symlinks" are not in the repo. Hopefully you'll have a > future commit in your p4 repo that brings back bn.

Re: git-p4: exception when cloning a perforce repository

2014-01-16 Thread Pete Wyckoff
dam...@iwi.me wrote on Thu, 16 Jan 2014 14:46 +0100: > > On 16 Jan 2014, at 14:08, Pete Wyckoff wrote: > > > dam...@iwi.me wrote on Wed, 15 Jan 2014 09:56 +0100: > >> p4 fstat //depot/openssl/0.9.8j/openssl/include/openssl/bn.h@59702 > >> ... depotFile //depot/openssl/0.9.8j/openssl/include/op

Re: git-p4: exception when cloning a perforce repository

2014-01-16 Thread Damien Gérard
On 16 Jan 2014, at 14:08, Pete Wyckoff wrote: > dam...@iwi.me wrote on Wed, 15 Jan 2014 09:56 +0100: >> p4 fstat //depot/openssl/0.9.8j/openssl/include/openssl/bn.h@59702 >> ... depotFile //depot/openssl/0.9.8j/openssl/include/openssl/bn.h >> ... headAction edit >> ... headType symlink >> ...

Re: git-p4: exception when cloning a perforce repository

2014-01-16 Thread Pete Wyckoff
dam...@iwi.me wrote on Wed, 15 Jan 2014 09:56 +0100: > p4 fstat //depot/openssl/0.9.8j/openssl/include/openssl/bn.h@59702 > ... depotFile //depot/openssl/0.9.8j/openssl/include/openssl/bn.h > ... headAction edit > ... headType symlink > ... headTime 1237906419 > ... headRev 2 > ... headChange 597

git quietly fails on https:// URL, https errors are never reported to user

2014-01-16 Thread Yuri
On one of my FreeBSD systems I can't clone github through https URL. It only says "Cloning into 'MyProject'...", writes some files, but then deletes everything, without printing anything else at all. Exit code is 128. Replacing https:// with git:// makes it work fine. While debugging, I find t

Re: git log --no-walk --tags produces strange result for certain user

2014-01-16 Thread Michael Haggerty
On 12/16/2013 12:52 PM, Kirill Likhodedov wrote: > I received one more complaint for this issue, and now it appears in a public > repository https://github.com/spray/spray > > To reproduce: > > # git clone https://github.com/spray/spray > # cd spray > # git log --no-walk --tags --pretty="%H %d