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

2014-01-21 Thread Junio C Hamano
Philip Oakley philipoak...@iee.org writes: I already have a local patch that creates a stalenote.txt file, and includes that in a release-notes(7) man page, but it still leaves the actual release notes in a separate plain text file, linked from the man page, rather than being right at hand,

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

2014-01-17 Thread Stefan Näwe
Am 16.01.2014 22:14, schrieb Philip Oakley: From: Stefan Näwe stefan.na...@atlas-elektronik.com [...] 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

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

2014-01-16 Thread Philip Oakley
From: Stefan Näwe stefan.na...@atlas-elektronik.com [...] 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

[PATCH] Provide a 'git help user-manual' route to the docbook

2014-01-15 Thread Philip Oakley
@@ +gituser-manual(7) += + +NAME + +gituser-manual - a link to the user-manual docbook + + +SYNOPSIS + +[verse] +'git help user-manual' + +link:user-manual.html[Git User's Manual] + +DESCRIPTION +--- +Git is a fast, scalable, distributed revision control system

[PATCH 2/2] pull: add --ff-only to the help text

2014-01-15 Thread David Aguilar
Signed-off-by: David Aguilar dav...@gmail.com --- git-pull.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-pull.sh b/git-pull.sh index 7dbf6b1..68b2e40 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -4,7 +4,7 @@ # # Fetch one or more remote refs and merge it/them into

[PATCH v2] Make 'git help everyday' work

2014-01-12 Thread Philip Oakley
The Everyday GIT With 20 Commands Or So is not accessible via the Git help system. Fix that. Move everyday.txt to giteveryday.txt. Update giteveryday.txt to fit man page formatting. Add standard man page section titles. Also adjust anchor text markup for man page format. Add giteveryday

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

2014-01-11 Thread Philip Oakley
about ensuring that the 'git help' command could access these extra extra guides that it currently misses. (Tt also misses the 'user-manual', which isn't a man page, but could have a link page to guide the seeker of truth between 'git help' and the actual user-manual) The only method I can see

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

2014-01-10 Thread Philip Oakley
From: Junio C Hamano gits...@pobox.com I think we already use a nicer way to set up a page alias to keep old links working than making a copy in Documentation/; please mimic that if possible. This was mainly about ensuring that the 'git help' command could access these extra extra guides

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

2014-01-10 Thread Stefan Näwe
changed over the past 8 years. Perhaps we should do that after reorganizing with something like this series. I'd really like to see 'git help relnotes' working as well... Stefan -- /dev/random says: Despite the high cost of living

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

2014-01-10 Thread Junio C Hamano
Philip Oakley philipoak...@iee.org writes: From: Junio C Hamano gits...@pobox.com I think we already use a nicer way to set up a page alias to keep old links working than making a copy in Documentation/; please mimic that if possible. This was mainly about ensuring that the 'git help

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

2014-01-10 Thread Jonathan Nieder
Hi, Philip Oakley wrote: The Everyday GIT With 20 Commands Or So guide is not accessible via the git help system. Fix that. Neat. :) Junio covered everything I'd want to say about patch 1/6. After fixing that, I'd suggest squashing all 6 patches into a single patch. They all are part

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

2014-01-10 Thread Philip Oakley
about ensuring that the 'git help' command could access these extra extra guides that it currently misses. (Tt also misses the 'user-manual', which isn't a man page, but could have a link page to guide the seeker of truth between 'git help' and the actual user-manual) The only method I can see

[PATCH 0/6] Make 'git help everyday' work

2014-01-09 Thread Philip Oakley
The Everyday GIT With 20 Commands Or So guide is not accessible via the git help system. Fix that. The git everyday file does not use the appropriate filenaming convention for help files, and is not suitably formatted for display as a man page. First copy everyday.txt to giteveryday.txt Second

[PATCH 5/6] add 'everyday' to the help --guides list

2014-01-09 Thread Philip Oakley
Signed-off-by: Philip Oakley philipoak...@iee.org --- builtin/help.c | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/help.c b/builtin/help.c index cc17e67..45509ce 100644 --- a/builtin/help.c +++ b/builtin/help.c @@ -418,6 +418,7 @@ static struct { const char *help

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

2014-01-09 Thread Junio C Hamano
I think we already use a nicer way to set up a page alias to keep old links working than making a copy in Documentation/; please mimic that if possible. It may be overdue to refresh the suggested set of top 20 commands, as things have vastly changed over the past 8 years. Perhaps we should do

[PATCH v3 8/9] test-hg.sh: help user correlate verbose output with email test

2013-11-17 Thread Richard Hansen
It's hard to tell which author conversion test failed when the email addresses look similar. Signed-off-by: Richard Hansen rhan...@bbn.com Reviewed-by: Felipe Contreras felipe.contre...@gmail.com --- contrib/remote-helpers/test-hg.sh | 20 ++-- 1 file changed, 10 insertions(+),

RE: [PATCH 6/7] test-hg.sh: help user correlate verbose output with email test

2013-11-11 Thread Felipe Contreras
Richard Hansen wrote: It's hard to tell which author conversion test failed when the email addresses look similar. Signed-off-by: Richard Hansen rhan...@bbn.com --- contrib/remote-helpers/test-hg.sh | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

Re: [PATCH 6/7] test-hg.sh: help user correlate verbose output with email test

2013-11-11 Thread Richard Hansen
On 2013-11-11 06:42, Felipe Contreras wrote: Richard Hansen wrote: It's hard to tell which author conversion test failed when the email addresses look similar. Signed-off-by: Richard Hansen rhan...@bbn.com --- contrib/remote-helpers/test-hg.sh | 20 ++-- 1 file changed, 10

Re: [PATCH 6/7] test-hg.sh: help user correlate verbose output with email test

2013-11-11 Thread Felipe Contreras
On Mon, Nov 11, 2013 at 1:19 PM, Richard Hansen rhan...@bbn.com wrote: On 2013-11-11 06:42, Felipe Contreras wrote: Richard Hansen wrote: It's hard to tell which author conversion test failed when the email addresses look similar. Signed-off-by: Richard Hansen rhan...@bbn.com ---

Re: [PATCH 6/7] test-hg.sh: help user correlate verbose output with email test

2013-11-11 Thread Richard Hansen
On 2013-11-11 14:29, Felipe Contreras wrote: On Mon, Nov 11, 2013 at 1:19 PM, Richard Hansen rhan...@bbn.com wrote: On 2013-11-11 06:42, Felipe Contreras wrote: Richard Hansen wrote: It's hard to tell which author conversion test failed when the email addresses look similar. Signed-off-by:

[PATCH v2 8/9] test-hg.sh: help user correlate verbose output with email test

2013-11-11 Thread Richard Hansen
It's hard to tell which author conversion test failed when the email addresses look similar. Signed-off-by: Richard Hansen rhan...@bbn.com --- contrib/remote-helpers/test-hg.sh | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH 6/7] test-hg.sh: help user correlate verbose output with email test

2013-11-10 Thread Richard Hansen
It's hard to tell which author conversion test failed when the email addresses look similar. Signed-off-by: Richard Hansen rhan...@bbn.com --- contrib/remote-helpers/test-hg.sh | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH 60/86] builtin/help: replace prefixcmd() with has_prefix()

2013-11-08 Thread Christian Couder
.)); } @@ -258,7 +258,7 @@ static int add_man_viewer_info(const char *var, const char *value) static int git_help_config(const char *var, const char *value, void *cb) { - if (!prefixcmp(var, column.)) + if (has_prefix(var, column.)) return git_column_config(var, value, help

[PATCH 22/86] help: replace prefixcmd() with has_prefix()

2013-11-08 Thread Christian Couder
Signed-off-by: Christian Couder chrisc...@tuxfamily.org --- help.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/help.c b/help.c index f068925..b41d2d5 100644 --- a/help.c +++ b/help.c @@ -148,7 +148,7 @@ static void list_commands_in_dir(struct cmdnames *cmds,

Re: Help creating git alias

2013-10-31 Thread Eugene Sajine
add an alias: pd = !sh -c 'pwd' i get this: $ git pd /home/users/euguess/repo $ pwd /home/users/euguess/repo/a/b/c Is there any way to help that situation? Thanks, Eugene Thanks, Eugene -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord

Re: Help creating git alias

2013-10-31 Thread David Aguilar
no matter where i am. git log a/b/c/filename the difference is obviously in the working directory when i add an alias: pd = !sh -c 'pwd' i get this: $ git pd /home/users/euguess/repo $ pwd /home/users/euguess/repo/a/b/c Is there any way to help that situation? Here's

Re: Help creating git alias

2013-10-31 Thread Junio C Hamano
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, no? -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info

Re: Help creating git alias

2013-10-31 Thread David Aguilar
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, no? Right, of course. So something like: [alias] example =

Re: Help creating git alias

2013-10-31 Thread Eugene Sajine
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,

Re: Help creating git alias

2013-10-31 Thread Junio C Hamano
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 run from the top-level, in which case you would end up with cd ... and end

Re: Help creating git alias

2013-10-31 Thread Eugene Sajine
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

Help creating git alias

2013-10-30 Thread Eugene Sajine
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

Re: Help creating git alias

2013-10-30 Thread Andrew Ardill
Have you tried backslash escaping the backslash? double escaping? I don't know how many are required, but I would try first \S, then \\S, then S, etc Regards, Andrew Ardill On 30 October 2013 12:34, Eugene Sajine eugu...@gmail.com wrote: Hi, I need some advice about creating the git

Re: Help creating git alias

2013-10-30 Thread Eugene Sajine
On Wed, Oct 30, 2013 at 3:47 PM, Andrew Ardill andrew.ard...@gmail.com wrote: Have you tried backslash escaping the backslash? double escaping? I don't know how many are required, but I would try first \S, then \\S, then S, etc Regards, Andrew Ardill When i do that it stops

Re: Help creating git alias

2013-10-30 Thread Ralf Thielow
lg=!git log --pretty=format:'%h %ad %ae %s' --date=short | sed 's/@\\S*//g' should work. On Wed, Oct 30, 2013 at 8:34 PM, 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 %ad %ae %s

Re: Help creating git alias

2013-10-30 Thread Eugene Sajine
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

Re: Help creating git alias

2013-10-30 Thread Junio C Hamano
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! thanks! I didn't know that !sh -c is not needed sh -c is often used when you

Re: Help creating git alias

2013-10-30 Thread Eugene Sajine
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!

Re: Help creating git alias

2013-10-30 Thread Junio C Hamano
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 about how to make it work with the !sh -c ? Because the same exact (sed

[PATCH] mergetool--lib: Fix typo in the merge/difftool help

2013-10-04 Thread Stefan Saasen
The help text for the `tool` flag should mention: --tool=tool instead of: --tool-tool Signed-off-by: Stefan Saasen ssaa...@atlassian.com --- git-mergetool--lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-mergetool--lib.sh b/git-mergetool--lib.sh index

Re: [PATCH] mergetool--lib: Fix typo in the merge/difftool help

2013-10-04 Thread David Aguilar
On Fri, Oct 4, 2013 at 7:34 AM, Stefan Saasen ssaa...@atlassian.com wrote: The help text for the `tool` flag should mention: --tool=tool instead of: --tool-tool Signed-off-by: Stefan Saasen ssaa...@atlassian.com --- Good eyes! Reviewed-by: David Aguilar dav...@gmail.com Thanks

PLEASE I NEED YOUR HELP

2013-10-03 Thread Foots, Alisha
I am Mrs, Nancy Butler. I have a foundation/Estate uncompleted {worth sum of USD 4,142,728.00 Dollars} and need somebody to help me finish it because of my health. Contact me with this email ( nancybutler...@yahoo.co.ukmailto:nancybutler...@yahoo.co.uk ). -- To unsubscribe from this list: send

Git pack v4: next step, help required

2013-09-18 Thread Nicolas Pitre
on this otherwise very interesting problem (IMHO at least) so I'm sending this request for help in the hope that more people would be keen to contribute their computing skills to solve this challenge. I'll make a quick description of the pv4 tree encoding first and explain the problem to solve afterwards

Re: Git pack v4: next step, help required

2013-09-18 Thread Duy Nguyen
is the actual tree deltification. I don't have the time to spend on this otherwise very interesting problem (IMHO at least) so I'm sending this request for help in the hope that more people would be keen to contribute their computing skills to solve this challenge. Just so we're clear as I'm

[PATCH v4 4/4] gitweb: make search help link less ugly

2013-08-20 Thread Tony Finch
The search help link was a superscript question mark right next to a drop-down menu, which looks misaligned and is a cramped and awkward click target. Remove the superscript tags and add some spacing to fix these nits. Add a title attribute to provide an explanatory mouseover. Signed-off-by: Tony

Re: Help with sparse checkouts

2013-08-13 Thread Duy Nguyen
. In the end, I basically just don't really understand how this file is supposed to work, so I'd rather get some expert help here rather than thrashing about randomly. I realize that sparse checkouts is usually used to select a specific directory rather than what I'm trying to do, so I

Help with sparse checkouts

2013-08-12 Thread Ari Entlich
error or no effect at all. In the end, I basically just don't really understand how this file is supposed to work, so I'd rather get some expert help here rather than thrashing about randomly. I realize that sparse checkouts is usually used to select a specific directory rather than what I'm trying

Re: [PATCH 4/4] gitweb: make search help link less ugly

2013-08-05 Thread Tony Finch
Jakub Narębski jna...@gmail.com wrote: - -values = ['commit', 'grep', 'author', 'committer', 'pickaxe']) . + -values = ['commit', 'grep', 'author', 'committer', 'pickaxe']) . Nb. what changed here (in line above)? Whoops, tab

Re: [PATCH 4/4] gitweb: make search help link less ugly

2013-08-03 Thread Jakub Narębski
On Tue, Jul 9, 2013 at 7:15 PM, Tony Finch d...@dotat.at wrote: The search help link was a superscript question mark right next to a drop-down menu, which looks misaligned I think the idea was to simulate footnote explaining search terms (I think, I am not the author of this feature

Re: Help using git subtree

2013-07-31 Thread Gabriel Jover
Al 30/07/13 11:58, En/na Fredrik Gustafsson ha escrit: Git subtree is very convenient to get all the sub-projects into the main-project directory tree and to send back sub-project commits to the corresponding repository. But I don't understand the work flow very well. I haven't used subtree

Help using git subtree

2013-07-30 Thread Gabriel Jover
Dear all, I am trying to avoid using git submodules and thus I am testing if git subtree fit my needs. I have a set of sub-projects linked to a main-project. Git subtree is very convenient to get all the sub-projects into the main-project directory tree and to send back sub-project commits

Re: Help using git subtree

2013-07-30 Thread Fredrik Gustafsson
On Tue, Jul 30, 2013 at 11:32:22AM +0200, Gabriel Jover wrote: Dear all, I am trying to avoid using git submodules and thus I am testing if git subtree fit my needs. I have a set of sub-projects linked to a main-project. Just out of curiosity, why are you trying to avoid submodules? Git

[PATCH] Let index-pack help with connectivity check on cloning via smart http

2013-07-21 Thread Nguyễn Thái Ngọc Duy
This is an extension of c6807a4 (clone: open a shortcut for connectivity check - 2013-05-26) to reduce the cost of connectivity check at clone time, this time with smart http protocol. Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com --- Documentation/git-fetch-pack.txt| 4

[PATCH 4/4] gitweb: make search help link less ugly

2013-07-15 Thread Tony Finch
The search help link was a superscript question mark right next to a drop-down menu, which looks misaligned and is a cramped and awkward click target. Remove the superscript tags and add some spacing to fix these nits. Add a title attribute to provide an explanatory mouseover. Signed-off-by: Tony

[PATCH] configure: fix help screen

2013-06-28 Thread Stefano Lattarini
The configure option to disable threading is '--disable-pthreads', not '--without-pthreads'. Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f3462d9..2f43393 100644

Re: [PATCH] configure: fix help screen

2013-06-28 Thread Junio C Hamano
Stefano Lattarini stefano.lattar...@gmail.com writes: The configure option to disable threading is '--disable-pthreads', not '--without-pthreads'. Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com --- Thanks. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [HELP] Corrupted repository

2013-06-23 Thread Matthieu Moy
Junio C Hamano gits...@pobox.com writes: Ramkumar Ramachandra artag...@gmail.com writes: Junio C Hamano wrote: $ ~/src/git error: object file .git/objects/8e/6a6dda24b017915449897fcc1353a9b848fd2f is empty error: object file .git/objects/8e/6a6dda24b017915449897fcc1353a9b848fd2f is

[PATCH] help: introduce man.viewer = eman

2013-06-22 Thread Ramkumar Ramachandra
Corresponding to woman. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- Documentation/git-help.txt | 3 +++ builtin/help.c | 11 --- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/git-help.txt b/Documentation/git-help.txt index

Re: [PATCH] help: introduce man.viewer = eman

2013-06-22 Thread John Keeping
On Sat, Jun 22, 2013 at 05:13:29PM +0530, Ramkumar Ramachandra wrote: Corresponding to woman. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- Documentation/git-help.txt | 3 +++ builtin/help.c | 11 --- 2 files changed, 11 insertions(+), 3 deletions(-)

Re: [PATCH] help: introduce man.viewer = eman

2013-06-22 Thread Ramkumar Ramachandra
John Keeping wrote: Would it be nicer to pass a string in here instead of a flag? Then this becomes: strbuf_addf(man_page, (%s \%s\), command, page); You should probably also rename this function to exec_emacsclient or something as well now that it doesn't just launch woman. Sure,

[HELP] Corrupted repository

2013-06-21 Thread Ramkumar Ramachandra
64fa33d706658278b871a6e2ca66694efcadacca (stored in .git/objects/64/fa33d706658278b871a6e2ca66694efcadacca) is corrupt error: github.com:artagnon/git did not send all necessary objects Auto packing the repository for optimum performance. You may also run git gc manually. See git help gc for more

Re: [HELP] Corrupted repository

2013-06-21 Thread Junio C Hamano
Ramkumar Ramachandra artag...@gmail.com writes: $ ~/src/git error: object file .git/objects/8e/6a6dda24b017915449897fcc1353a9b848fd2f is empty error: object file .git/objects/8e/6a6dda24b017915449897fcc1353a9b848fd2f is empty fatal: loose object

Re: [HELP] Corrupted repository

2013-06-21 Thread Ramkumar Ramachandra
Junio C Hamano wrote: $ ~/src/git error: object file .git/objects/8e/6a6dda24b017915449897fcc1353a9b848fd2f is empty error: object file .git/objects/8e/6a6dda24b017915449897fcc1353a9b848fd2f is empty fatal: loose object 8e6a6dda24b017915449897fcc1353a9b848fd2f (stored in

Re: [HELP] Corrupted repository

2013-06-21 Thread Junio C Hamano
Ramkumar Ramachandra artag...@gmail.com writes: Junio C Hamano wrote: $ ~/src/git error: object file .git/objects/8e/6a6dda24b017915449897fcc1353a9b848fd2f is empty error: object file .git/objects/8e/6a6dda24b017915449897fcc1353a9b848fd2f is empty fatal: loose object

Re: [HELP] Corrupted repository

2013-06-21 Thread Ramkumar Ramachandra
Junio C Hamano wrote: A tl;dr is that we _trust_ our refs and everything reachable from them has to be complete. If that is not the case, things will not work, and it is not a priority to add workarounds in the normal codepath to slow things down. Makes sense. That does not forbid an

[PATCH v3 1/7] t/t7512-status-help: test HEAD detached from

2013-06-19 Thread Ramkumar Ramachandra
From: Junio C Hamano gits...@pobox.com b397ea (status: show more info than currently not on any branch, 2013-03-13) wanted to make sure that after a checkout to detach HEAD, the user can see where the HEAD was originally detached from. The last test added by that commit to t/status-help shows

[PATCH 1/8] t/status-help: test HEAD detached from

2013-06-18 Thread Ramkumar Ramachandra
From: Junio C Hamano gits...@pobox.com b397ea (status: show more info than currently not on any branch, 2013-03-13) wanted to make sure that after a checkout to detach HEAD, the user can see where the HEAD was originally detached from. The last test added by that commit to t/status-help shows

[PATCH v2 1/7] t/t7512-status-help: test HEAD detached from

2013-06-18 Thread Ramkumar Ramachandra
From: Junio C Hamano gits...@pobox.com b397ea (status: show more info than currently not on any branch, 2013-03-13) wanted to make sure that after a checkout to detach HEAD, the user can see where the HEAD was originally detached from. The last test added by that commit to t/status-help shows

Re: Should git help respect the 'pager' setting?

2013-06-02 Thread Junio C Hamano
of thing: how would we unset it after that? Perhaps something like execvpe(), passing in the environment as an argument? Running man is the last thing we do before exitting git help and exec_man_man() does seem to do execlp(), so I do not see it as an issue. Overriding PAGER might make sense

Should git help respect the 'pager' setting?

2013-05-30 Thread Michael Campbell
I have my global git config pager set to 'cat', but when I do a git help command, it still uses a pager. This is especially irksome in emacs shell buffers, where I am most of the time. I know I can do a M-x man - git-whatever, but wondered if this was a bug or user error. (git --no-pager help

Re: Should git help respect the 'pager' setting?

2013-05-30 Thread Matthieu Moy
Michael Campbell michael.campb...@gmail.com writes: I have my global git config pager set to 'cat', but when I do a git help command, it still uses a pager. This is especially irksome in emacs shell buffers, where I am most of the time. I know I can do a M-x man - git-whatever, but wondered

Re: Should git help respect the 'pager' setting?

2013-05-30 Thread Matthieu Moy
is there no option for Emacs man corresponding to Emacs woman? I guess because no one implemented it ;-). I personally run M-x git-foo RET, and never run git help. M-x man git-foo RET, you mean? Yes, sorry. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send

Re: Should git help respect the 'pager' setting?

2013-05-30 Thread Ramkumar Ramachandra
Matthieu Moy wrote: I find it a bit weird that Git sets the configuration for external commands, but it may make sense. No strong opinion here. I don't mean a setenv() kind of thing: how would we unset it after that? Perhaps something like execvpe(), passing in the environment as an argument?

Re: Should git help respect the 'pager' setting?

2013-05-30 Thread John Keeping
man pages - invoking man through git help shouldn't cause it to behave differently in this case. -- 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: Workflow Help

2013-05-21 Thread John Keeping
On Tue, May 21, 2013 at 10:59:17AM +1000, Quilkey, Tony wrote: I am looking at formulating and then documenting our vcs workflow using Git at work. I have an idea of how I want things to work, but am a little hazy on some of the details. Our basic workflow will be based around:

Re: Workflow Help

2013-05-21 Thread Magnus Bäck
On Monday, May 20, 2013 at 20:59 EDT, Quilkey, Tony t...@thorpesystems.com wrote: I am looking at formulating and then documenting our vcs workflow using Git at work. I have an idea of how I want things to work, but am a little hazy on some of the details. Our basic workflow will be

Re: Workflow Help

2013-05-21 Thread Andreas Ericsson
On 2013-05-21 02:59, Quilkey, Tony wrote: Hi, I am looking at formulating and then documenting our vcs workflow using Git at work. I have an idea of how I want things to work, but am a little hazy on some of the details. Our basic workflow will be based around:

Workflow Help

2013-05-20 Thread Quilkey, Tony
Hi, I am looking at formulating and then documenting our vcs workflow using Git at work. I have an idea of how I want things to work, but am a little hazy on some of the details. Our basic workflow will be based around: http://nvie.com/posts/a-successful-git-branching-model, with a few

[PATCH 0/6] Get stash to help rebase.autostash

2013-05-13 Thread Ramkumar Ramachandra
Hi, This topic is based on the rebase.autostash topic. It cleans up a few things, introduces 'git stash store', and patches rebase to use it. Should be simple enough. Thanks. Ramkumar Ramachandra (6): Documentation/stash: correct synopsis for create Documentation/stash: document short form

Re: [PATCH v2 1/2] help: add help_unknown_ref

2013-05-09 Thread Vikrant Varma
On Thursday 09 May 2013 04:19 AM, Junio C Hamano wrote: [...] which in turn made me realize that some commands may not even know if the user mistyped a ref. It is not an objection to this patch per-se, but a useful future enhancement may be to allow the callers call guess_mistyped_ref()

Re: [PATCH v2 1/2] help: add help_unknown_ref

2013-05-08 Thread Junio C Hamano
Vikrant Varma vikrant.varm...@gmail.com writes: When a ref is not known, currently functions call die() with an error message. The first part read somewhat awkward, so I started rewriting the above like so: When the user gives an unknown string to a command that expects to see a ref,

An individual Learn how to Help make pandora sale?

2013-05-07 Thread backing
/An-individual-Learn-how-to-Help-make-pandora-sale-tp7585097.html Sent from the git mailing list archive at Nabble.com. -- 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

[PATCH v2 1/2] help: add help_unknown_ref

2013-05-03 Thread Vikrant Varma
When a ref is not known, currently functions call die() with an error message. Add helper function help_unknown_ref to take care of displaying an error message along with a list of suggested refs the user might have meant. Example: $ git merge foo merge: foo - not something we can

[PATCH 1/2] help: add help_unknown_ref

2013-05-01 Thread Vikrant Varma
Give better advice when trying to merge a branch that doesn't exist. If the branch exists in any remotes, display a list of suggestions. Example: $ git merge foo fatal: foo - not something we can merge Did you mean this? bar/foo Signed-off-by: Vikrant Varma

Re: [PATCH 1/2] help: add help_unknown_ref

2013-05-01 Thread Ramkumar Ramachandra
Vikrant Varma wrote: Give better advice when trying to merge a branch that doesn't exist. If the branch exists in any remotes, display a list of suggestions. Interesting. Thanks for working on this. You say advice, but you're not invoking advise() or guarding the advice with an advice.* --

Re: [PATCH 1/2] help: add help_unknown_ref

2013-05-01 Thread Junio C Hamano
to add to 'git merge' would encounter and could help the user with. git merge origin/mastre and orign/master may benefit from a typofix as well, and the mechanism to come up with the suggestion is likely to hook to the same codepath you are modifying with this patch, even though

Re: [PATCH 1/2] help: add help_unknown_ref

2013-05-01 Thread Vikrant Varma
On 01-05-2013 17:53, Ramkumar Ramachandra wrote: Vikrant Varma wrote: Give better advice when trying to merge a branch that doesn't exist. If the branch exists in any remotes, display a list of suggestions. Interesting. Thanks for working on this. You say advice, but you're not invoking

Re: [PATCH 1/2] help: add help_unknown_ref

2013-05-01 Thread Johannes Sixt
Am 01.05.2013 21:55, schrieb Vikrant Varma: On 01-05-2013 17:53, Ramkumar Ramachandra wrote: Vikrant Varma wrote: +void help_unknown_ref(const char* ref) { +int i; +struct similar_ref_cb ref_cb; +ref_cb.similar_refs = (struct string_list)STRING_LIST_INIT_NODUP; Why

Re: [PATCH 1/2] help: add help_unknown_ref

2013-05-01 Thread Ramkumar Ramachandra
Vikrant Varma wrote: I agree with Matthieu, the people who don't want to see this advice never will, because they won't make that mistake. Maybe advice is the wrong word, corrections might be more appropriate. Makes sense. Perhaps it would make sense to hook into help.autocorrect. I would

Re: [PATCH 1/2] help: add help_unknown_ref

2013-05-01 Thread Vikrant Varma
On 02-05-2013 02:02, Ramkumar Ramachandra wrote: ref_cb.similar_refs has already been defined. The compiler won't let me assign to it unless I cast first. However, I think compound literals are a C99/gcc feature. Is this better? struct similar_ref_cb ref_cb = {ref,

Re: [PATCH 1/2] help: add help_unknown_ref

2013-05-01 Thread Junio C Hamano
Vikrant Varma vikrant.varm...@gmail.com writes: On 02-05-2013 02:02, Ramkumar Ramachandra wrote: ref_cb.similar_refs has already been defined. The compiler won't let me assign to it unless I cast first. However, I think compound literals are a C99/gcc feature. Is this better?

Re: [PATCH 1/2] help: add help_unknown_ref

2013-05-01 Thread Vikrant Varma
help the user with. Yes. I like your suggestion of using levenshtein.c, similar to what's been done in help.c:help_unknown_cmd. However, where do you draw the line? Do you also suggest 'remotes/origin/foo' for 'remotes/foo'? Also, which would you then prioritize for 'foo': 'fob

Re: [PATCH 1/2] help: add help_unknown_ref

2013-05-01 Thread Junio C Hamano
to add to 'git merge' would encounter and could help the user with. Yes. I like your suggestion of using levenshtein.c, similar to what's been done in help.c:help_unknown_cmd. However, where do you draw the line? Do you also suggest 'remotes/origin/foo' for 'remotes/foo'? Also, which

Re: Help with git-svn and SVN symlinks

2013-04-23 Thread Sadystio Ilmatunt
Any update about this: I created this simple bug test to reproduce my problem. I tried on latest GIT, It fails. It is really preventing me from using GitSvn. Any help will be highly appreciated. Let me know if you have any questions. [GITSVN] $git --version git version 1.8.2.GIT [GITSVN] $git

[PATCH 1/7] git-shortlog.txt: remove (-h|--help) from OPTIONS

2013-04-21 Thread Ramkumar Ramachandra
To be consistent with the documentation of all the other commands, remove (-h|--help) from the OPTIONS section. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- Documentation/git-shortlog.txt | 4 1 file changed, 4 deletions(-) diff --git a/Documentation/git-shortlog.txt b

[PATCH 1/7] git-shortlog.txt: remove (-h|--help) from OPTIONS

2013-04-21 Thread Ramkumar Ramachandra
To be consistent with the documentation of all the other commands, remove (-h|--help) from the OPTIONS section. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- Documentation/git-shortlog.txt | 4 1 file changed, 4 deletions(-) diff --git a/Documentation/git-shortlog.txt b

[PATCH 1/5] git-shortlog.txt: remove (-h|--help) from OPTIONS

2013-04-20 Thread Ramkumar Ramachandra
To be consistent with the documentation of all the other commands, remove (-h|--help) from the OPTIONS section. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- Documentation/git-shortlog.txt | 4 1 file changed, 4 deletions(-) diff --git a/Documentation/git-shortlog.txt b

Help with git-svn and SVN symlinks

2013-04-18 Thread Sadystio Ilmatunt
Hi, I have been using git-svn successfully for last 1 year. But yesterday somebody checked in something in SVN using svn client and It caused inconsitency in GIT-svn repository. In one of SVN Merge commit, Some symlink files were not made svn special by mistake, So there was another SVN commit

[PATCH] help: mark common_guides[] as translatable

2013-04-12 Thread Simon Ruderich
( %s , common_guides[i].name); + mput_char(' ', longest - strlen(common_guides[i].name)); + puts(_(common_guides[i].help)); common_guides[] is used here, but without N_() not picked up by xgettext when creating the pot file. Regards Simon builtin/help.c | 14

Re: [PATCH] help: mark common_guides[] as translatable

2013-04-12 Thread Philip Oakley
, common_guides[i].name); + mput_char(' ', longest - strlen(common_guides[i].name)); + puts(_(common_guides[i].help)); common_guides[] is used here, but without N_() not picked up by xgettext when creating the pot file. Yes. I mucked that up when I hacked the generate-cmdlist.sh to create

<    2   3   4   5   6   7   8   9   10   >