Re: [Query] Separate hooks for Git worktrees

2017-11-12 Thread Viresh Kumar
On 10-11-17, 10:00, Stefan Beller wrote: > Well it is the same project with different upstream workflows. > For example I would imagine that Viresh wants to cherry-pick > from one branch to another, or even send the same patch > (just with different commit messages, with or without the > ChangeId)

Re: [Query] Separate hooks for Git worktrees

2017-11-09 Thread Viresh Kumar
On 09-11-17, 11:14, Stefan Beller wrote: > The proposed approach above might be hacky but sounds as if > it should work? Yeah its hacky for sure, but it solved my problem. Thanks for your help Stefan :) -- viresh

[Query] Separate hooks for Git worktrees

2017-11-09 Thread Viresh Kumar
Hi, I have a typical use case, where I am using the same repository for both Android and Linux kernel branches. Android needs us to keep a special hook "commit-msg" which adds a "Change-Id" to every commit we create. While this works fine with Android, the behavior doesn't change by simply

Re: [PATCH] send-email: Add tocmd option to suppress-cc

2017-06-13 Thread Viresh Kumar
On 13-06-17, 10:23, Junio C Hamano wrote: > Viresh Kumar <viresh.ku...@linaro.org> writes: > > >> Going back to the core part of your change, i.e. > >> > >> - foreach my $entry (qw (cccmd cc author self sob body bodycc)) { > >> + foreach my

Re: [PATCH] send-email: Add tocmd option to suppress-cc

2017-06-12 Thread Viresh Kumar
On 12-06-17, 11:04, Junio C Hamano wrote: > Junio C Hamano <gits...@pobox.com> writes: > > > Viresh Kumar <viresh.ku...@linaro.org> writes: > > > >> On 18-05-17, 17:05, Viresh Kumar wrote: > >>> This adds tocmd option to suppress-cc co

Re: [PATCH] send-email: Add tocmd option to suppress-cc

2017-06-11 Thread Viresh Kumar
On 18-05-17, 17:05, Viresh Kumar wrote: > This adds tocmd option to suppress-cc command which already supports > cccmd and others. > > Signed-off-by: Viresh Kumar <viresh.ku...@linaro.org> > --- > Documentation/git-send-email.txt | 1 + > git-send-email.perl

[PATCH] send-email: Add tocmd option to suppress-cc

2017-05-18 Thread Viresh Kumar
This adds tocmd option to suppress-cc command which already supports cccmd and others. Signed-off-by: Viresh Kumar <viresh.ku...@linaro.org> --- Documentation/git-send-email.txt | 1 + git-send-email.perl | 8 2 files changed, 5 insertions(+), 4 deletions(-) diff

Re: [Query] Override sendemail.tocmd

2017-05-18 Thread Viresh Kumar
On 10 May 2017 at 12:53, Viresh Kumar <viresh.ku...@linaro.org> wrote: > Hi, > > I have a use case and wanted help from you guys.. > > I have set the sendemail.tocmd option in my kernel's .git/config > file and that works very well. But sometimes I want to avoid tha

Re: [Query] Override sendemail.tocmd

2017-05-10 Thread Viresh Kumar
On 10-05-17, 16:04, Viresh Kumar wrote: > On 10-05-17, 12:18, Ævar Arnfjörð Bjarmason wrote: > > On Wed, May 10, 2017 at 9:23 AM, Viresh Kumar <viresh.ku...@linaro.org> > > wrote: > > > Hi, > > > > > > I have a use case and wanted help from you g

Re: [Query] Override sendemail.tocmd

2017-05-10 Thread Viresh Kumar
On 10 May 2017 at 12:59, Viresh Kumar <viresh.ku...@linaro.org> wrote: > On 10 May 2017 at 12:53, Viresh Kumar <viresh.ku...@linaro.org> wrote: >> Hi, >> >> I have a use case and wanted help from you guys.. >> >> I have set the sendemail.to

Re: [Query] Override sendemail.tocmd

2017-05-10 Thread Viresh Kumar
On 10-05-17, 12:18, Ævar Arnfjörð Bjarmason wrote: > On Wed, May 10, 2017 at 9:23 AM, Viresh Kumar <viresh.ku...@linaro.org> wrote: > > Hi, > > > > I have a use case and wanted help from you guys.. > > > > I have set the sendemail.tocmd option in my kerne

Re: [Query] Override sendemail.tocmd

2017-05-10 Thread Viresh Kumar
On 10 May 2017 at 12:53, Viresh Kumar <viresh.ku...@linaro.org> wrote: > Hi, > > I have a use case and wanted help from you guys.. > > I have set the sendemail.tocmd option in my kernel's .git/config > file and that works very well. But sometimes I want to avoid tha

[Query] Override sendemail.tocmd

2017-05-10 Thread Viresh Kumar
Hi, I have a use case and wanted help from you guys.. I have set the sendemail.tocmd option in my kernel's .git/config file and that works very well. But sometimes I want to avoid that (for example sending the patch to someone without the list and maintainers). The suppress-cc=all option works

Re: Issues with cc-cmd

2016-02-15 Thread Viresh Kumar
On 15-02-16, 02:06, Junio C Hamano wrote: > Viresh Kumar <viresh.ku...@linaro.org> writes: > > > linux...@vger.kernel.org) (open list:OPERATING PERFORMANCE POINTS > > (OPP), > > Hmm > > http://lists.kernelnewbies.org/pipermail/kernelnewbies/2014-July/01134

Issues with cc-cmd

2016-02-15 Thread Viresh Kumar
: Viresh Kumar <vire...@kernel.org> M: Nishanth Menon <n...@ti.com> M: Stephen Boyd <sb...@codeaurora.org> L: linux...@vger.kernel.org S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git F: drivers/base/power/opp/ F: incl

Re: [Query] Can we ignore case for commiters name in shortlog?

2012-11-30 Thread Viresh Kumar
On 30 November 2012 16:49, Max Horn m...@quendi.de wrote: I don't see how wrong case is different from any other form of misspelling. And mailmap is there precisely to handle such problems. Now, if these case issues were for some reasons very frequent, it might be worth adding dedicated

[Query] Can we ignore case for commiters name in shortlog?

2012-11-29 Thread viresh kumar
Hi Junio and others, I have a query. git shortlog lists the patches submitted per commiter, like: Viresh Kumar (7): cpufreq: Improve debug prints cpufreq: return early from __cpufreq_driver_getavg() cpufreq: governors: remove redundant code cpufreq: Fix sparse

Re: [Query] Can we ignore case for commiters name in shortlog?

2012-11-29 Thread Viresh Kumar
On 30 November 2012 08:54, David Aguilar dav...@gmail.com wrote: There's a feature that does exactly this. http://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html See the section called Mapping Authors. It discusses the .mailmap file. I have my name there :) I thought using names

Re: [Query] Can we ignore case for commiters name in shortlog?

2012-11-29 Thread Viresh Kumar
On 30 November 2012 09:03, Nicolas Pitre nicolas.pi...@linaro.org wrote: Have a look at the .mailmap file in the top directory of your repo. Repeating what i said to David in other mail: I have my name there :) I thought using names with different case is actually different then misspelling