On Wed, Oct 30, 2013 at 11:54 PM, Junio C Hamano gits...@pobox.com wrote:
Eugene Sajine eugu...@gmail.com writes:
That was my initial intention, because I would like to be able to pass
parameters like to git log or git blame correctly without the explicit
use of $1. Could you please advise
On Thu, Oct 31, 2013 at 2:15 PM, David Aguilar dav...@gmail.com wrote:
On Thu, Oct 31, 2013 at 11:07:19AM -0700, Junio C Hamano wrote:
David Aguilar dav...@gmail.com writes:
A-ha.. I think adding the chdir to alias is possible using a function.
You do not have to use a function to do so,
On Thu, Oct 31, 2013 at 3:41 PM, Junio C Hamano gits...@pobox.com wrote:
Eugene Sajine eugu...@gmail.com writes:
One note: i tried the ${GIT_PREFIX:-.} and ${GIT_PREFIX} and it seems
to give the same results. What is the expected difference here?
GIT_PREFIX may be an empty string when you
Hi,
I need some advice about creating the git command alias:
I have this as the command:
git log --pretty=format:%h %ad %ae %s --date=short | sed 's/@\S*//g'
The purpose is to cut off the email domain and keep only username.
I'm trying to create this as the alias:
lg = !sh -c 'git log
understanding \S* as regexp so it removes only
@, while i need to remove from @ to the next whitespace
Thanks,
Eugene
On 30 October 2013 12:34, Eugene Sajine eugu...@gmail.com wrote:
Hi,
I need some advice about creating the git command alias:
I have this as the command:
git log --pretty=format:%h
On Wed, Oct 30, 2013 at 3:57 PM, Ralf Thielow ralf.thie...@gmail.com wrote:
lg=!git log --pretty=format:'%h %ad %ae %s' --date=short | sed 's/@\\S*//g'
should work.
It did! thanks! I didn't know that !sh -c is not needed
On Wed, Oct 30, 2013 at 8:34 PM, Eugene Sajine eugu...@gmail.com
On Wed, Oct 30, 2013 at 5:02 PM, Junio C Hamano gits...@pobox.com wrote:
Eugene Sajine eugu...@gmail.com writes:
On Wed, Oct 30, 2013 at 3:57 PM, Ralf Thielow ralf.thie...@gmail.com wrote:
lg=!git log --pretty=format:'%h %ad %ae %s' --date=short | sed 's/@\\S*//g'
should work.
It did
For now I'm trying to do the following:
access-hook.bash has:
delayed-notify.bash $@
delayed-notify.bash has:
sleep 10
...
curl ...
I'm expecting access-hook to spawn new process and return without
waiting for it to finish to let the service to do its job. But when i
do push - it
Hi,
We are serving repos in closed netwrok via git protocol. We are using
git-daemon access hook (thank you very much for such a great feature)
in order to create push notifications for Jenkins.
I.e. upon the push the access-hook is called and then the curl command
is created and executed. As we
On Thu, Sep 12, 2013 at 3:15 PM, Junio C Hamano gits...@pobox.com wrote:
Eugene Sajine eugu...@gmail.com writes:
Is it possible to have access-hook to be executed after receive?
The whole point of access-hook is to allow it to decide whether the
access is allowed or not, so that is a non
:
Eugene Sajine eugu...@gmail.com writes:
So are you really sure that it is a non-starter to have
--before-service/--after-service options for access-hook?
Given the definition of --access-hook in git help daemon:
--access-hook=path::
Every time a client connects, first run
On Thu, Sep 12, 2013 at 5:16 PM, Eugene Sajine eugu...@gmail.com wrote:
Junio,
Thanks for the clarification! Your solution does look better.
For now though i think i will have to delay the notification somehow
and let the service finish first then notify the server.
Thanks again!
Eugene
On Thu, Sep 12, 2013 at 6:20 PM, Junio C Hamano gits...@pobox.com wrote:
Junio C Hamano gits...@pobox.com writes:
Eugene Sajine eugu...@gmail.com writes:
So are you really sure that it is a non-starter to have
--before-service/--after-service options for access-hook?
Given the definition
- Your log file might not be located where you expect, you should use
absolute path to dump text
You were right! The problem was with the script itself - the log file
not being specified with absolute path! Stupid me!
...
- The documentation says you can print one line before a failure, also
Anybody? Any ideas?
Thanks in advance!
Eugene
On Fri, May 31, 2013 at 4:22 PM, Eugene Sajine eugu...@gmail.com wrote:
Hi,
I'm trying to test this new feature and having problems getting any
results in the following scenario:
i have a repo in local folder
/home/users/myuser/repos
Hi,
I'm trying to test this new feature and having problems getting any
results in the following scenario:
i have a repo in local folder
/home/users/myuser/repos/projectA/.git
i start the daemon with the following:
git daemon --export-all --base-path=/home/users/myuser/repos
...@alum.mit.edu wrote:
On 05/15/2013 12:19 AM, Junio C Hamano wrote:
Eugene Sajine eugu...@gmail.com writes:
What if there are a lot of branches in the CVS repo? Is it guaranteed
to be broken after import?
Even though CVS repository can record branches in individual ,v
files, reconstructing
Hi,
We are using git cvsimport heavily but mostly the projects are not
using branches that much. We are also migrating our repos only once,
so there is no commits to CVS repo and no incremental imports allowed
after the migration. we have migrated more than a thousand projects
already.
we use
On Tue, Aug 7, 2012 at 4:55 PM, Theodore Ts'o ty...@mit.edu wrote:
On Tue, Aug 07, 2012 at 01:33:23PM -0600, John 'Warthog9' Hawley wrote:
It's pretty simple: you sent HTML mail to vger.kernel.org, and it
explicitly rejects all HTML e-mail. GMail, particularly from Android,
apparently doesn't
On Fri, Aug 3, 2012 at 4:00 PM, Junio C Hamano gits...@pobox.com wrote:
Eugene Sajine eugu...@gmail.com writes:
I think the best variant would be to do something like:
$ git pull --rebase /refs/heads/*:/refs/heads/*
$ git push origin /refs/heads/*:/refs/heads/*
You perhaps meant worst
20 matches
Mail list logo