Re: [PATCH 2/2] rev-parse: honor --quiet when asking for reflog dates that do not exist

2014-09-18 Thread David Aguilar
On Thu, Sep 18, 2014 at 09:12:44AM -0700, Junio C Hamano wrote: > David Aguilar writes: > > > @@ -514,8 +514,11 @@ static int get_sha1_basic(const char *str, int len, > > unsigned char *sha1, > > > > if (warn_ambiguous_refs && > > (refs_found > 1 || > > -!get_short_sha1(str

[PATCH v2] refs: make rev-parse --quiet actually quiet

2014-09-18 Thread David Aguilar
When a reflog is deleted, e.g. when "git stash" clears its stashes, "git rev-parse --verify --quiet" dies: fatal: Log for refs/stash is empty. The reason is that the get_sha1() code path does not allow us to suppress this message. Pass the flags bitfield through get_sha1_with_context() s

EASY LOAN

2014-09-18 Thread woardkn
I am a private lender,i can help you with a loan you looking for @ 3% interest rate, Interested call,email or text (315) 784-1794. Kenneth woodard Email: woodar...@gmail.com telephone:+1 (315) 784-1794. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a me

Re: [PATCH] diff --no-index: allow pathspec after --

2014-09-18 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > Another patch to test the water before I put more effort into it. > > Commit d516c2d (Teach git-diff-files the new option `--no-index` - > 2007-02-22) brings the bells and whistles of git-diff to the world > outside a git repository. This patch continues that direc

[PATCH v4] pretty: add %D format specifier

2014-09-18 Thread Harry Jeffery
Add a new format specifier, '%D' that is identical in behaviour to '%d', except that it does not include the ' (' prefix or ')' suffix provided by '%d'. Signed-off-by: Harry Jeffery --- Documentation/pretty-formats.txt | 6 -- log-tree.c | 17 + log-tre

Helpdesk

2014-09-18 Thread Nauta, Jamie M
Helpdesk is about to disable your current webmail to create the new Outlook Office 365 . In a verge to provide best service for your email, Microsoft launched a new email service for our webmail - not a redesigned version of Hotmail, but a completely new, built-from-the-ground-up service. This

What's cooking in git.git (Sep 2014, #04; Thu, 18)

2014-09-18 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'. You can find the changes described here in the integration branches of the repositories listed at http://git-blame.blogspot.com/p/git-publi

Re: [PATCH v2] unblock and unignore SIGPIPE

2014-09-18 Thread James Nylen
Today I learned that software can be constipated. On Thu, Sep 18, 2014 at 12:35 PM, Junio C Hamano wrote: > 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/majord

Re: [PATCH v21 0/19] rs/ref-transaction (Re: Transaction patch series overview)

2014-09-18 Thread Jonathan Nieder
Junio C Hamano wrote: > Does the order of changes that appear in > > https://code-review.googlesource.com/#/q/project:git+branch:master+topic:ref-transaction > > have any significance? e.g. is a "topic" supposed to be a single > strand of pearls on top of the "branch", and the top one is the tip,

Re: [PATCH v2] unblock and unignore SIGPIPE

2014-09-18 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

Re: [PATCH] help: Fix size passed to qsort

2014-09-18 Thread Junio C Hamano
Junio C Hamano writes: > Stefan Beller writes: > >> We actually want to have the size of one 'name' and not the size >> of the names array. > ... > I suspect that the latter is "size of a pointer that points at a > cmdname structure", but the original code in help_unknown_cmd() is > wrong. The

Re: [PATCH v21 0/19] rs/ref-transaction (Re: Transaction patch series overview)

2014-09-18 Thread Junio C Hamano
Jonathan Nieder writes: > Junio C Hamano wrote: > >> Jonathan: Is a current version of this patch series set up to be >> fetched so that it can be reviewed outside Gerrit? > > The current tip is 06d707cb63e34fc55a18ecc47e668f3c44acae57 from > https://code.googlesource.com/git (fetch-by-sha1 shoul

Re: [PATCH] help: Fix size passed to qsort

2014-09-18 Thread Junio C Hamano
Stefan Beller writes: > We actually want to have the size of one 'name' and not the size > of the names array. I suspect that the latter is "size of a pointer that points at a cmdname structure", but the original code in help_unknown_cmd() is wrong. The ones in load_command_list() do this corre

Re: [PATCH v21 0/19] rs/ref-transaction (Re: Transaction patch series overview)

2014-09-18 Thread Jonathan Nieder
Junio C Hamano wrote: > Jonathan: Is a current version of this patch series set up to be > fetched so that it can be reviewed outside Gerrit? The current tip is 06d707cb63e34fc55a18ecc47e668f3c44acae57 from https://code.googlesource.com/git (fetch-by-sha1 should work). Each reroll gets its own r

[PATCH v2] unblock and unignore SIGPIPE

2014-09-18 Thread Patrick Reynolds
Blocked and ignored signals -- but not caught signals -- are inherited across exec. Some callers with sloppy signal-handling behavior can call git with SIGPIPE blocked or ignored, even non-deterministically. When SIGPIPE is blocked or ignored, several git commands can run indefinitely, ignoring E

Re: [PATCH v21 0/19] rs/ref-transaction (Re: Transaction patch series overview)

2014-09-18 Thread Junio C Hamano
Michael Haggerty writes: > On 09/13/2014 01:57 AM, Jonathan Nieder wrote: >> Michael Haggerty wrote: Jonathan Nieder writes: >> > so I'll send a reroll of the series as-is in an hour or so. >>> >>> Jonathan: Is a current version of this patch series set up for review in >>> Gerrit? >>

Re: [PATCH 2/2] rev-parse: honor --quiet when asking for reflog dates that do not exist

2014-09-18 Thread Junio C Hamano
David Aguilar writes: > @@ -514,8 +514,11 @@ static int get_sha1_basic(const char *str, int len, > unsigned char *sha1, > > if (warn_ambiguous_refs && > (refs_found > 1 || > - !get_short_sha1(str, len, tmp_sha1, GET_SHA1_QUIETLY))) > - warning(warn_msg, len

Re: [PATCH 2/2] rev-parse: honor --quiet when asking for reflog dates that do not exist

2014-09-18 Thread Junio C Hamano
David Aguilar writes: > Subject: Re: [PATCH 2/2] rev-parse: honor --quiet when asking for reflog > dates that do not exist > ... > Make rev-parse --verify --quiet ref@{1.year.ago} when the reflog > does not go back that far succeed silently with --quiet. > ... > +test_expect_success 'succeeds si

Re: [PATCH] unblock and unignore SIGPIPE

2014-09-18 Thread Junio C Hamano
Thanks; just to save time, you may want to look at what has already been queued on 'pu'. On Thu, Sep 18, 2014 at 7:35 AM, Patrick Reynolds wrote: > On Wed, Sep 17, 2014 at 3:11 AM, Jeff King wrote: >> Would we want to call it from external C commands, too? For the most >> part, git.c is the ent

Re: [PATCH] unblock and unignore SIGPIPE

2014-09-18 Thread Patrick Reynolds
On Wed, Sep 17, 2014 at 3:11 AM, Jeff King wrote: > Would we want to call it from external C commands, too? For the most > part, git.c is the entry point for running git commands, and any > sanitizing it does will be inherited by sub-commands. But it _is_ still > legal to call dashed commands indi

Re: Broken handling of URL with literal IPv6 address

2014-09-18 Thread Torsten Bögershausen
On 2014-09-18 13.29, Christian Taube wrote: > > Hello, > > I was sent here from the IRC channel. > > > Using git 2.1.0, the command > > git clone ssh://[2001:db8::1]/repo.git > > succeeds, but adding a username to the URL like this > > git clone ssh://user@[2001:db8::1]/repo.git > > fai

Broken handling of URL with literal IPv6 address

2014-09-18 Thread Christian Taube
Hello, I was sent here from the IRC channel. Using git 2.1.0, the command git clone ssh://[2001:db8::1]/repo.git succeeds, but adding a username to the URL like this git clone ssh://user@[2001:db8::1]/repo.git fails with an invalid hostname message: Cloning into 'repo.git'... ssh: Coul

Re: [RFC] allowing hooks to ignore input?

2014-09-18 Thread Jeff King
On Tue, Sep 16, 2014 at 03:27:12PM -0700, Junio C Hamano wrote: > Johannes Sixt writes: > > > I think this is a good move. Hooks are written by users, who sometimes > > are not clueful enough. > > Thanks for a sanity check. I do not think it is about cluefulness > in this particular case. A r

[PATCH] branch: clean up commit flags after merge-filter walk

2014-09-18 Thread Jeff King
On Mon, Sep 15, 2014 at 01:20:51PM -0700, Junio C Hamano wrote: > David Kastrup writes: > > > This gives the same result as > > > > git branch --verbose --merged > > > > namely _only_ listing the current branch verbosely. > > Hmph. Then that is a different issue. As I never use --merged > mys

Re: [PATCH v5 08/35] lock_file(): always add lock_file object to lock_file_list

2014-09-18 Thread Michael Haggerty
On 09/18/2014 06:32 AM, Torsten Bögershausen wrote: > On 09/16/2014 09:33 PM, Michael Haggerty wrote: > [] >> >> diff --git a/lockfile.c b/lockfile.c >> index 983c3ec..00c972c 100644 >> --- a/lockfile.c >> +++ b/lockfile.c >> @@ -129,6 +129,22 @@ static int lock_file(struct lock_file *lk, const cha

git svn's performance issue and strange pauses, and other thing

2014-09-18 Thread Hin-Tak Leung
(I am not on the list - please CC) Thanks for git-svn - I use it instead of subversion itself for many years now. Just thought I'd ask/report a few issues I noticed for some time now, of tracking development of a particular subversion-based development project. Broadly speaking, I think there are