[PATCH] archive-zip: fix compressed size for stored export-subst files

2013-02-27 Thread René Scharfe
Currently ZIP archive entries of files with export-subst attribute are broken if they are stored uncompressed. We get the size of a file from sha1_object_info(), but this number is likely wrong for files whose contents are changed due to export-subst placeholder expansion. We use sha1_file_to_arc

Re: [PATCH] attr: allow pattern escape using backslashes

2013-02-27 Thread Duy Nguyen
On Sun, Feb 24, 2013 at 4:15 PM, Junio C Hamano wrote: > Speaking of .gitignore, I recall that there was a hanging discussion > on allowing a pattern to name the directory that the .gitignore file > appears in, which I do not think we currently support. With such a > feature, instead of listing "

[PATCH] contrib/subtree: fix Makefile to respect non-configure `make`

2013-02-27 Thread Jan Rueegg
Hello There was a message in this list before to try to fix the Makefile: http://marc.info/?l=git&m=134116914230460&w=2 However, without any reaction following. See also here whats the problem: https://bugs.archlinux.org/task/30473 Anyone there who can have a look at the patch and integrate it u

Re: [PATCH] diff: prevent pprint_rename from underrunning input

2013-02-27 Thread Antoine Pelisse
>> The logic described in d020e27 (diff: Fix rename pretty-print when >> suffix and prefix overlap, 2013-02-23) is wrong: The proof in the >> comment is valid only if both strings are the same length. *One* of >> old/new can reach a-1 (b-1, resp.) if 'a' is a suffix of 'b' (or vice >> versa). Ind

Re: [PATCHv4 5/6] Git.pm: add interface for git credential command

2013-02-27 Thread Matthieu Moy
Michal Nazarewicz writes: > +=item credential_read( FILEHANDLE ) > + > +Reads credential key-value pairs from C. Reading stops at EOF or > +when an empty line is encountered. Each line must be of the form > C > +with a non-empty key. Function returns hash with all read values. Any white > +s

Re: [PATCHv4 6/6] git-send-email: use git credential to obtain password

2013-02-27 Thread Matthieu Moy
Michal Nazarewicz writes: > + $auth = Git::credential({ > + 'protocol' => 'smtp', > + 'host' => join(':', $smtp_server, $smtp_server_port), At this point, $smtp_server_port is not always defined. I just tested and got Use of uninitialized value $smtp_server_port in j

Re: post-receive-email hook with custom_showrev

2013-02-27 Thread Adam Mercer
On Wed, Feb 27, 2013 at 1:42 AM, Michael Haggerty wrote: > If I type that into my .git/config file then type "git config > hooks.showrev" I get "bad config file line 7 in .git/config" due to the > "\$". I think the quoting in the comment in post-receive-email is > written as if it would be passe

[PATCH] name-hash.c: fix endless loop with core.ignorecase=true

2013-02-27 Thread Karsten Blees
With core.ignorecase=true, name-hash.c builds a case insensitive index of all tracked directories. Currently, the existing cache entry structures are added multiple times to the same hashtable (with different name lengths and hash codes). However, there's only one dir_next pointer, which gets compl

Re: clean/smudge filters on .zip/.tgz files

2013-02-27 Thread Michael J Gruber
Johannes Sixt venit, vidit, dixit 27.02.2013 07:39: > Am 2/26/2013 23:38, schrieb Tim Chase: >> Various programs that I use ([Open|Libre]Office, Vym, etc) use a >> zipped/.tgz'ed file format, usually containing multiple >> (usually) plain-text files within. >> >> I'm trying to figure out a way for

Re: [PATCH] Documentation/submodule: Add --force to update synopsis

2013-02-27 Thread Junio C Hamano
Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[BUG] git gui alert dialogs interfere with each other

2013-02-27 Thread Yann Dirson
(Seen in 1.7.12.3) When launching git gui in a repo where there are 1. lots of (>5000) stashed changes (to do a tree move), and 2. many non-packed files, git gui throws 2 alert dialogs: one saying that it will only show 5000 changed files and ignore the others, which very quickly hidden by the

Re: [PATCH] attr: allow pattern escape using backslashes

2013-02-27 Thread Junio C Hamano
Duy Nguyen writes: > On Sun, Feb 24, 2013 at 4:15 PM, Junio C Hamano wrote: >> Speaking of .gitignore, I recall that there was a hanging discussion >> on allowing a pattern to name the directory that the .gitignore file >> appears in, which I do not think we currently support. With such a >> fe

Re: [PATCHv4 6/6] git-send-email: use git credential to obtain password

2013-02-27 Thread Junio C Hamano
Matthieu Moy writes: > Michal Nazarewicz writes: > >> +$auth = Git::credential({ >> +'protocol' => 'smtp', >> +'host' => join(':', $smtp_server, $smtp_server_port), > > At this point, $smtp_server_port is not always defined. I just tested > and got > > Use of uninitia

git blame -M seems not to work as expected

2013-02-27 Thread Sokolov, Konstantin (ext)
Hi Folks! I've posed this question already on stackoverflow and on Google Groups - without any (satisfying) answer. So maybe you can help me to understand the behavior of git blame -M. First I commit the following file(file.cpp): void func1(){return;}[CR][LF] int func2(){return 23;}[CR][LF]

Re: Git Notes - Search Functionality

2013-02-27 Thread Thomas Rast
krishna chaitanya kurnala writes: >I working on Git Notes. I want to know if there is an easy way to > obtain a list of all "namespaces"(For eg., git notes --ref=namespace > ... ) with notes objects in a specific git repository. We can easily > create, edit, merge git notes with commands if w

Re: [PATCHv4 6/6] git-send-email: use git credential to obtain password

2013-02-27 Thread Michal Nazarewicz
On Wed, Feb 27 2013, Junio C Hamano wrote: > Matthieu Moy writes: > >> Michal Nazarewicz writes: >> >>> + $auth = Git::credential({ >>> + 'protocol' => 'smtp', >>> + 'host' => join(':', $smtp_server, $smtp_server_port), >> >> At this point, $smtp_server_port is not always d

Re: [PATCHv4 6/6] git-send-email: use git credential to obtain password

2013-02-27 Thread Matthieu Moy
Junio C Hamano writes: > diff --git a/git-send-email.perl b/git-send-email.perl > index 76bbfc3..c3501d9 100755 > --- a/git-send-email.perl > +++ b/git-send-email.perl > @@ -1045,6 +1045,14 @@ sub maildomain { > return maildomain_net() || maildomain_mta() || 'localhost.localdomain'; > } >

Re: Git Notes - Search Functionality

2013-02-27 Thread Johan Herland
On Wed, Feb 27, 2013 at 4:34 PM, krishna chaitanya kurnala wrote: > Hello All > >I working on Git Notes. I want to know if there is an easy way to > obtain a list of all "namespaces"(For eg., git notes --ref=namespace > ... ) with notes objects in a specific git repository. The notes namespac

Re: [PATCHv4 6/6] git-send-email: use git credential to obtain password

2013-02-27 Thread Junio C Hamano
Matthieu Moy writes: > Junio C Hamano writes: > >> diff --git a/git-send-email.perl b/git-send-email.perl >> index 76bbfc3..c3501d9 100755 >> --- a/git-send-email.perl >> +++ b/git-send-email.perl >> @@ -1045,6 +1045,14 @@ sub maildomain { >> return maildomain_net() || maildomain_mta() || '

Re: [PATCH] name-hash.c: fix endless loop with core.ignorecase=true

2013-02-27 Thread Junio C Hamano
Karsten Blees writes: > With core.ignorecase=true, name-hash.c builds a case insensitive index of > all tracked directories. Currently, the existing cache entry structures are > added multiple times to the same hashtable (with different name lengths and > hash codes). However, there's only one di

Re: [PATCH 2/2] describe: Exclude --all --match=PATTERN

2013-02-27 Thread Junio C Hamano
Greg Price writes: > Currently when --all is passed, the effect of --match is only > to demote non-matching tags to be treated like non-tags. This > is puzzling behavior and not consistent with the documentation, > especially with the suggested usage of avoiding information leaks. > The combinat

Re: https_proxy and libcurl

2013-02-27 Thread Phil Hord
On Fri, Feb 22, 2013 at 4:55 PM, Junio C Hamano wrote: > Phil Hord writes: > >> I have been unable to clone via http proxy because of a wrongly >> configured proxy setup in my lab. >> >> I had this env: >> >> http_proxy=http://proxy.myco.com >> https_proxy=https://proxy.myco.com >> >> The

Re: [PATCH] name-hash.c: fix endless loop with core.ignorecase=true

2013-02-27 Thread Karsten Blees
Am 27.02.2013 17:53, schrieb Junio C Hamano: > Karsten Blees writes: > >> With core.ignorecase=true, name-hash.c builds a case insensitive index of >> all tracked directories. Currently, the existing cache entry structures are >> added multiple times to the same hashtable (with different name len

how to check pending commits to be pushed?

2013-02-27 Thread Patricia Bittencourt Egeland
Hi, Does someone know how to identify pending commits to be pushed in a local super repository (with quite some submodules), with git-1.6.5-1 ? Thanks, Patricia-- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More major

Re: git subtree workflow

2013-02-27 Thread Paul Campbell
On Tue, Feb 26, 2013 at 9:04 AM, Ben McCann wrote: > I'm fairly new to git and am trying to determine if git subtree would > be helpful for managing our company's codebase, which has several > repos some of which depend on each other. All the examples I've seen > make sense to me as a one-time ope

[BUG/PATCH] contrib/subtree: allow addition of remote branch with name not locally present

2013-02-27 Thread Paul Campbell
cmd_add() attempts to check for the validity of refspec for the repository it is about to add as a subtree. It tries to do so before contacting the repository. If the refspec happens to exist locally (say 'master') then the test passes and the repo is fetched. If the refspec doesn't exist locally t

[PATCH v2] name-hash.c: fix endless loop with core.ignorecase=true

2013-02-27 Thread Karsten Blees
With core.ignorecase=true, name-hash.c builds a case insensitive index of all tracked directories. Currently, the existing cache entry structures are added multiple times to the same hashtable (with different name lengths and hash codes). However, there's only one dir_next pointer, which gets compl

Re: [BUG/PATCH] contrib/subtree: allow addition of remote branch with name not locally present

2013-02-27 Thread Junio C Hamano
Paul Campbell writes: > cmd_add() attempts to check for the validity of refspec for the repository > it is about to add as a subtree. It tries to do so before contacting the > repository. If the refspec happens to exist locally (say 'master') then > the test passes and the repo is fetched. If the

Re: [PATCH v2] name-hash.c: fix endless loop with core.ignorecase=true

2013-02-27 Thread Junio C Hamano
Karsten Blees writes: > With core.ignorecase=true, name-hash.c builds a case insensitive index of > all tracked directories. Currently, the existing cache entry structures are > added multiple times to the same hashtable (with different name lengths and > hash codes). However, there's only one di

Re: [PATCH 2/4] config: drop file pointer validity check in get_next_char()

2013-02-27 Thread Heiko Voigt
On Wed, Feb 27, 2013 at 08:52:57AM +0100, Heiko Voigt wrote: > On Tue, Feb 26, 2013 at 03:05:56PM -0500, Jeff King wrote: > > On Tue, Feb 26, 2013 at 08:40:23PM +0100, Heiko Voigt wrote: > > > > > The only location where cf is set in this file is in do_config_from(). > > > This function has only o

Re: [PATCH 2/4] config: drop file pointer validity check in get_next_char()

2013-02-27 Thread Heiko Voigt
On Thu, Feb 28, 2013 at 01:41:47AM +0100, Heiko Voigt wrote: > On Wed, Feb 27, 2013 at 08:52:57AM +0100, Heiko Voigt wrote: > > On Tue, Feb 26, 2013 at 03:05:56PM -0500, Jeff King wrote: > > > On Tue, Feb 26, 2013 at 08:40:23PM +0100, Heiko Voigt wrote: > > > > > > > The only location where cf is

Beats by Dre Solo

2013-02-27 Thread tirons
Beats by Dre Schweiz Girls, sehen, dass Look, sie sind die Errungenschaften der Periode von tausend Jahren gebunden sind.Der Winter dieses Jahres, die extra kalt, Ende November, um den Schnee schweben, gab es zahlreiche, der Traum in Pianfei die Strecke weißen