[GIT PULL] hotfix on fr.po for the maint branch

2013-08-30 Thread Jiang Xin
Hi, Junio Please merge this commit to the maint branch. The following changes since commit e230c568c4b9a991e3175e5f65171a566fd8e39c: Git 1.8.4 (2013-08-23 11:49:46 -0700) are available in the git repository at: git://github.com/git-l10n/git-po master for you to fetch changes up to

Re: [GIT PULL] hotfix on fr.po for the maint branch

2013-08-30 Thread Junio C Hamano
Jiang Xin worldhello@gmail.com writes: Please merge this commit to the maint branch. The following changes since commit e230c568c4b9a991e3175e5f65171a566fd8e39c: Git 1.8.4 (2013-08-23 11:49:46 -0700) are available in the git repository at: git://github.com/git-l10n/git-po master

Re: [GIT PULL] hotfix on fr.po for the maint branch

2013-08-30 Thread Jean-Noël AVILA
Le vendredi 30 août 2013 09:54:59 Junio C Hamano a écrit : Jiang Xin worldhello@gmail.com writes: Please merge this commit to the maint branch. The following changes since commit e230c568c4b9a991e3175e5f65171a566fd8e39c: Git 1.8.4 (2013-08-23 11:49:46 -0700) are available in

Re: [GIT PULL] hotfix on fr.po for the maint branch

2013-08-30 Thread Junio C Hamano
Jean-Noël AVILA jn.av...@free.fr writes: Le vendredi 30 août 2013 09:54:59 Junio C Hamano a écrit : Jiang Xin worldhello@gmail.com writes: Please merge this commit to the maint branch. The following changes since commit e230c568c4b9a991e3175e5f65171a566fd8e39c: Git 1.8.4

[PATCH 04/11] Use git merge instead of git pull .

2013-08-27 Thread Thomas Ackermann
git pull . works, but git merge is the recommended way for new users to do things. (The old description also should have read The former is actually *not* very commonly used.) Signed-off-by: Thomas Ackermann th.ac...@arcor.de --- Documentation/user-manual.txt | 8 1 file changed, 4

Re: [PATCH 04/11] Use git merge instead of git pull .

2013-08-27 Thread Junio C Hamano
Thomas Ackermann th.ac...@arcor.de writes: git pull . works, but git merge is the recommended way for new users to do things. (The old description also should have read The former is actually *not* very commonly used.) It does not matter that you are unaware other people use it often. I'd

Re: [PATCH 04/11] Use git merge instead of git pull .

2013-08-27 Thread Jonathan Nieder
On Tue, Aug 27, 2013 at 12:06:33PM -0700, Junio C Hamano wrote: Thomas Ackermann th.ac...@arcor.de writes: git pull . works, but git merge is the recommended way for new users to do things. (The old description also should have read The former is actually *not* very commonly used

Re: [PATCH 04/11] Use git merge instead of git pull .

2013-08-27 Thread Junio C Hamano
Jonathan Nieder jrnie...@gmail.com writes: On Tue, Aug 27, 2013 at 12:06:33PM -0700, Junio C Hamano wrote: Thomas Ackermann th.ac...@arcor.de writes: git pull . works, but git merge is the recommended way for new users to do things. (The old description also should have read The former

[PATCH 04/13] Use git merge instead of git pull .

2013-08-24 Thread Thomas Ackermann
git pull . works, but git merge is the recommended way for new users to do things. (The old description also should have read The former is actually *not* very commonly used.) Signed-off-by: Thomas Ackermann th.ac...@arcor.de --- Documentation/user-manual.txt | 15 ++- 1 file

Re: [PATCH 04/13] Use git merge instead of git pull .

2013-08-24 Thread Junio C Hamano
Thomas Ackermann th.ac...@arcor.de writes: git pull . works, but git merge is the recommended way for new users to do things. (The old description also should have read The former is actually *not* very commonly used.) I think it is probably a good idea to replace pull . in the two later

Re: [PATCH 04/13] Use git merge instead of git pull .

2013-08-24 Thread Jonathan Nieder
.) -The `git pull` command can also be given `.` as the remote repository, -in which case it just merges in a branch from the current repository; so -the commands - -- -$ git pull . branch -$ git merge branch

Re: [PATCH 04/13] Use git merge instead of git pull .

2013-08-24 Thread Martin von Zweigbergk
be updated to point to the latest commit from the upstream branch.) -The `git pull` command can also be given `.` as the remote repository, -in which case it just merges in a branch from the current repository; so -the commands - -- -$ git pull

[RFC] allow git pull to preserve merges

2013-08-08 Thread Stephen Haberman
Hey, Following up on an old thread (2008): http://git.661346.n2.nabble.com/pull-preserve-merges-td1471688.html I'd like to finally add a config parameter/setting to allow git pull to preserve merges when it's rebasing. This addresses a somewhat common boundary case of a locally merged feature

Git pull silently removing files in the index

2013-06-17 Thread Stefan Schüßler
I think there's a bug in git pull. Doing a git pull in a fresh repository without any commits removes files in the index. Example: $ mkdir foo $ cd foo $ git init $ touch file1 file2 $ git add file1 $ ls file1 file2 $ git pull https://github.com/sos4nt/empty.git master $ ls

[PATCH] Fixed typo in git-pull manual

2013-03-27 Thread Mihai Capotă
Signed-off-by: Mihai Capotă mi...@mihaic.ro --- Documentation/git-pull.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/git-pull.txt b/Documentation/git-pull.txt index c975743..eec4c1d 100644 --- a/Documentation/git-pull.txt +++ b/Documentation/git-pull.txt

Re: [PATCH] Fixed typo in git-pull manual

2013-03-27 Thread Junio C Hamano
Mihai Capotă mi...@mihaic.ro writes: Signed-off-by: Mihai Capotă mi...@mihaic.ro --- Thanks. It might be better to make it which resulted in complex conflicts, though. Documentation/git-pull.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2] Fixed typo in git-pull manual

2013-03-27 Thread Mihai Capotă
Signed-off-by: Mihai Capotă mi...@mihaic.ro --- Documentation/git-pull.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/git-pull.txt b/Documentation/git-pull.txt index c975743..24ab07a 100644 --- a/Documentation/git-pull.txt +++ b/Documentation/git-pull.txt

Re: [PATCH v2] Fixed typo in git-pull manual

2013-03-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

git pull - reporting that I modified files, but I did not

2013-01-17 Thread Jay Vee
When I do a git pull, I am getting a messages that changes to local files would be overwritten by a merge, but I have not changed these files locally at all, I have not opened them in my IDE. This happens every now and then. 1) Why does this happen? 2) How do I prevent this from happening

Re: git pull - reporting that I modified files, but I did not

2013-01-17 Thread Max Horn
On 17.01.2013, at 20:29, Jay Vee wrote: When I do a git pull, I am getting a messages that changes to local files would be overwritten by a merge, but I have not changed these files locally at all, I have not opened them in my IDE. This happens every now and then. 1) Why does this happen

Inconsistency in messages about --set-upstream from git pull and git branch

2012-12-01 Thread Dan Rosén
I added a new origin to a repository and did git pull and got this message: * [new branch] master - origin/master There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details git pull remote branch If you

Re: Inconsistency in messages about --set-upstream from git pull and git branch

2012-12-01 Thread Carlos Martín Nieto
Dan Rosén d...@student.chalmers.se writes: git branch --set-upstream master origin/branch This has been fixed already in 1.8.0.1 cmn -- 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

Re: [PATCHv2] git-pull: Avoid merge-base on detached head

2012-10-26 Thread Jeff King
On Thu, Oct 25, 2012 at 02:50:37PM -0400, Phil Hord wrote: git pull --rebase does some clever tricks to find the base for $upstream , but it forgets that we may not have any branch at all. When this happens, git merge-base reports its usage help in the middle of an otherwise successful

Re: [PATCHv2] git-pull: Avoid merge-base on detached head

2012-10-25 Thread Jeff King
On Tue, Oct 23, 2012 at 04:39:56PM -0400, Phil Hord wrote: git pull --rebase does some clever tricks to find the base for $upstream , but it forgets that we may not have any branch at all. When this happens, git merge-base reports its usage help in the middle of an otherwise successful

Re: [PATCHv2] git-pull: Avoid merge-base on detached head

2012-10-25 Thread Phil Hord
Jeff King wrote: On Tue, Oct 23, 2012 at 04:39:56PM -0400, Phil Hord wrote: git pull --rebase does some clever tricks to find the base for $upstream , but it forgets that we may not have any branch at all. When this happens, git merge-base reports its usage help in the middle

git-pull suggests deprecated git-branch --set-upstream flag

2012-10-23 Thread Tomas Carnecky
I just ran git pull, and it suggested that I should use `git branch --set-upstream`. Yet when I used it, git-branch told me that the flag is deprecated. Git version 1.8.0. tom -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org

[PATCHv2] git-pull: Avoid merge-base on detached head

2012-10-23 Thread Phil Hord
git pull --rebase does some clever tricks to find the base for $upstream , but it forgets that we may not have any branch at all. When this happens, git merge-base reports its usage help in the middle of an otherwise successful rebase operation, because git-merge is called with one too few

[PATCHv2] git-pull: Avoid merge-base on detached head

2012-10-23 Thread Phil Hord
Add Signed-off-by... -- 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 1/2] git-pull: Avoid merge-base on detached head

2012-10-22 Thread Phil Hord
git pull --rebase does some clever tricks to find the base for $upstream , but it forgets that we may not have any branch at all. When this happens, git merge-base reports its usage help in the middle of an otherwise successful rebase operation, because git-merge is called with one too few

Re: Can git pull from a mercurial repository?

2012-10-17 Thread Felipe Contreras
Hi, On Tue, Sep 25, 2012 at 4:15 PM, Max Horn post...@quendi.de wrote: On 18.09.2012, at 14:40, Joachim Schmitz wrote: From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, September 18, 2012 1:46 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: Can git pull from

minor bug in git pull --rebase

2012-10-12 Thread Phil Hord
I saw some unexpected usage output today in git pull --rebase when I was on a detached head. $ git pull --rebase origin BL/3.0 usage: git merge-base [-a|--all] commit commit... or: git merge-base [-a|--all] --octopus commit... or: git merge-base --independent commit... or: git merge-base

Re: git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-06 Thread Jeff King
On Fri, Oct 05, 2012 at 10:20:37PM -0700, Junio C Hamano wrote: Jeff King p...@peff.net writes: @@ -617,6 +618,8 @@ static struct commit_list *paint_down_to_common(struct commit *one, int n, struc one-object.flags |= PARENT1; commit_list_insert_by_date(one,

Re: git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-05 Thread Junio C Hamano
When refactoring the merge-base computation to reduce the pairwise O(n*(n-1)) traversals to parallel O(n) traversals, the code forgot that timestamp based heuristics needs each commit to have been parsed. This caused an empty git pull to spend cycles, traversing the history all the way down

Re: git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-05 Thread Jeff King
On Fri, Oct 05, 2012 at 01:34:02PM -0700, Junio C Hamano wrote: OK, I think I am convinced myself that this patch is the right fix. The performance regression Markus saw is in fmt-merge-message, and it is caused by the updated remove_redundant() that is used by get_merge_bases_many() and

Re: git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-05 Thread Junio C Hamano
Jeff King p...@peff.net writes: @@ -617,6 +618,8 @@ static struct commit_list *paint_down_to_common(struct commit *one, int n, struc one-object.flags |= PARENT1; commit_list_insert_by_date(one, list); + if (!n) + return list; for (i = 0; i n; i++) {

git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-04 Thread Markus Trippelsdorf
Hi, with current trunk I get the following on an up-to-date Linux tree: markus@x4 linux % time git pull Already up-to-date. git pull 7.84s user 0.26s system 92% cpu 8.743 total git version 1.7.12 is much quicker: markus@x4 linux % time git pull Already up-to-date. git pull 0.10s user 0.02s

Re: git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-04 Thread Jeff King
On Thu, Oct 04, 2012 at 04:14:54PM +0200, Markus Trippelsdorf wrote: with current trunk I get the following on an up-to-date Linux tree: markus@x4 linux % time git pull Already up-to-date. git pull 7.84s user 0.26s system 92% cpu 8.743 total git version 1.7.12 is much quicker: markus

Re: git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-04 Thread Junio C Hamano
Jeff King p...@peff.net writes: On Thu, Oct 04, 2012 at 04:14:54PM +0200, Markus Trippelsdorf wrote: with current trunk I get the following on an up-to-date Linux tree: markus@x4 linux % time git pull Already up-to-date. git pull 7.84s user 0.26s system 92% cpu 8.743 total git version

Re: git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-04 Thread Junio C Hamano
Jeff King p...@peff.net writes: On Thu, Oct 04, 2012 at 04:14:54PM +0200, Markus Trippelsdorf wrote: with current trunk I get the following on an up-to-date Linux tree: markus@x4 linux % time git pull Already up-to-date. git pull 7.84s user 0.26s system 92% cpu 8.743 total git version

Re: git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-04 Thread Junio C Hamano
Jeff King p...@peff.net writes: On Thu, Oct 04, 2012 at 04:14:54PM +0200, Markus Trippelsdorf wrote: with current trunk I get the following on an up-to-date Linux tree: markus@x4 linux % time git pull Already up-to-date. git pull 7.84s user 0.26s system 92% cpu 8.743 total git version

Re: git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-04 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: Jeff King p...@peff.net writes: On Thu, Oct 04, 2012 at 04:14:54PM +0200, Markus Trippelsdorf wrote: with current trunk I get the following on an up-to-date Linux tree: markus@x4 linux % time git pull Already up-to-date. git pull 7.84s user

Re: git pull takes ~8 seconds on up-to-date Linux git tree

2012-10-04 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: Junio C Hamano gits...@pobox.com writes: Jeff King p...@peff.net writes: On Thu, Oct 04, 2012 at 04:14:54PM +0200, Markus Trippelsdorf wrote: with current trunk I get the following on an up-to-date Linux tree: markus@x4 linux % time git pull

Re: git pull --no-ff documentation

2012-10-01 Thread Philip Oakley
From: Junio C Hamano gits...@pobox.com 乙酸鋰 ch3co...@gmail.com writes: The order of options in git pull is not clear in the documentation It only says git pull [options] [repository [refspec...]] So we have no idea which options should come first I tried git pull -v --no-tags --progress

Re: git pull --no-ff documentation

2012-10-01 Thread Junio C Hamano
synopsis ? e.g. git pull [pull_options] [merge_options] [fetch_options [repository [refspec…]] We certainly could do that, but I was hoping somebody would volunteer to make it easier to the end users so that they do not have to remember which one is which. The perhaps something like

git pull --no-ff documentation

2012-09-30 Thread 乙酸鋰
Hi, The order of options in git pull is not clear in the documentation It only says git pull [options] [repository [refspec...]] So we have no idea which options should come first I tried git pull -v --no-tags --progress --no-ff origin but failed with unknown option 'no-ff'. But if I ran git

Re: git pull --no-ff documentation

2012-09-30 Thread Junio C Hamano
乙酸鋰 ch3co...@gmail.com writes: The order of options in git pull is not clear in the documentation It only says git pull [options] [repository [refspec...]] So we have no idea which options should come first I tried git pull -v --no-tags --progress --no-ff origin but failed with unknown

Re: Can git pull from a mercurial repository?

2012-09-26 Thread Georgi Chorbadzhiyski
Around 09/25/2012 05:15 PM, Max Horn scribbled: I think there is a lot of demand for a git-hg bridge, a way to seemlessly access a Mercurial repository as if it was a git repository. A converse to hg-git http://hg-git.github.com/ I've already mentioned this, but such a tool already exists

Re: Can git pull from a mercurial repository?

2012-09-26 Thread Max Horn
On 26.09.2012, at 09:38, Georgi Chorbadzhiyski wrote: Around 09/25/2012 05:15 PM, Max Horn scribbled: I think there is a lot of demand for a git-hg bridge, a way to seemlessly access a Mercurial repository as if it was a git repository. A converse to hg-git http://hg-git.github.com/

Re: Can git pull from a mercurial repository?

2012-09-26 Thread Georgi Chorbadzhiyski
Around 09/26/2012 11:46 AM, Max Horn scribbled: On 26.09.2012, at 09:38, Georgi Chorbadzhiyski wrote: Around 09/25/2012 05:15 PM, Max Horn scribbled: I think there is a lot of demand for a git-hg bridge, a way to seemlessly access a Mercurial repository as if it was a git repository. A

Re: Can git pull from a mercurial repository?

2012-09-26 Thread Cosmin Stejerean
I definitely wrote git-hg for the purpose of checking out a mercurial repo so I can develop locally against it with git and then submit patches. Getting push support was never really a priority for me. Someone did eventually contribute some mechanism for pushing things back in a pull request, so I

Re: Can git pull from a mercurial repository?

2012-09-25 Thread Gelonida N
On 09/18/2012 02:40 PM, Joachim Schmitz wrote: From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, September 18, 2012 1:46 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: Can git pull from a mercurial repository? On 09/18/2012 01:22 PM, Joachim Schmitz wrote

Re: Can git pull from a mercurial repository?

2012-09-25 Thread Joachim Schmitz
Gelonida N wrote: On 09/18/2012 02:40 PM, Joachim Schmitz wrote: From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, September 18, 2012 1:46 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: Can git pull from a mercurial repository? On 09/18/2012 01:22 PM, Joachim Schmitz

Re: Can git pull from a mercurial repository?

2012-09-25 Thread Max Horn
Hi there, On 18.09.2012, at 14:40, Joachim Schmitz wrote: From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, September 18, 2012 1:46 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: Can git pull from a mercurial repository? On 09/18/2012 01:22 PM, Joachim Schmitz

RE: Can git pull from a mercurial repository?

2012-09-25 Thread Joachim Schmitz
From: Max Horn [mailto:post...@quendi.de] Sent: Tuesday, September 25, 2012 4:15 PM To: Joachim Schmitz Cc: 'Andreas Ericsson'; git@vger.kernel.org Subject: Re: Can git pull from a mercurial repository? Hi there, On 18.09.2012, at 14:40, Joachim Schmitz wrote: From: Andreas

Re: git pull transfers useless files

2012-09-24 Thread Junio C Hamano
Angelo Borsotti angelo.borso...@gmail.com writes: When it executes the git pull it spends on my computer some 30 seconds, obviously transferring the pdf file, that then it disregards because of the merge=binary attribute. When a commit contains many binary files, the command spends a lot

Can git pull from a mercurial repository?

2012-09-18 Thread Joachim Schmitz
Is there an easy way to get git to clone/pull from a Mercurial repository? Bye, Jojo -- 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: Can git pull from a mercurial repository?

2012-09-18 Thread Joachim Schmitz
From: Georgi Chorbadzhiyski [mailto:g...@unixsol.org] Sent: Tuesday, September 18, 2012 2:06 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: Can git pull from a mercurial repository? Around 09/18/2012 02:22 PM, Joachim Schmitz scribbled: Is there an easy way to get git

RE: Can git pull from a mercurial repository?

2012-09-18 Thread Joachim Schmitz
From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, September 18, 2012 1:46 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: Can git pull from a mercurial repository? On 09/18/2012 01:22 PM, Joachim Schmitz wrote: Is there an easy way to get git to clone/pull from

Re: [GIT PULL] sound fixes for 3.6-rc6

2012-09-13 Thread Linus Torvalds
with extra information in it. And indeed, the actual thing I should pull is not at all for-linus, it seems to be your tags/sound-3.6 tag. I don't know if this is the old git pull-request breakage where it stupidly corrects the remote branch when it verifies the branch name, or whether it's some other

Re: [GIT PULL] sound fixes for 3.6-rc6

2012-09-13 Thread Takashi Iwai
to a branch, but then the pull request clearly implies there is a tag with extra information in it. And indeed, the actual thing I should pull is not at all for-linus, it seems to be your tags/sound-3.6 tag. I don't know if this is the old git pull-request breakage where it stupidly corrects

Re: [GIT PULL] sound fixes for 3.6-rc6

2012-09-13 Thread Takashi Iwai
if this is the old git pull-request breakage where it stupidly corrects the remote branch when it verifies the branch name, or whether it's some other scripting problem. I think current git versions should not mess up the tag information, if that's the cause, but please verify. Oops, yes, it's

Re: [GIT PULL] sound fixes for 3.6-rc6

2012-09-13 Thread Jeff King
On Thu, Sep 13, 2012 at 02:28:51PM +0200, Takashi Iwai wrote: FWIW, it was an output from git-pull-request, which fell back to the equivalent branch. Usually I check it manually but I forgot it at this time just before going to a meeting. This was with git 1.7.11.5. I'll check

Re: [GIT PULL] sound fixes for 3.6-rc6

2012-09-13 Thread Takashi Iwai
At Thu, 13 Sep 2012 09:03:44 -0400, Jeff King wrote: On Thu, Sep 13, 2012 at 02:28:51PM +0200, Takashi Iwai wrote: FWIW, it was an output from git-pull-request, which fell back to the equivalent branch. Usually I check it manually but I forgot it at this time just before going

Re: [GIT PULL] sound fixes for 3.6-rc6

2012-09-13 Thread Junio C Hamano
Takashi Iwai ti...@suse.de writes: I can't reproduce here. What is your exact request-pull invocation? This question was not answerd. Did you ask request-pull to ask for a branch to be pulled, or did you ask it to ask for the tag to be pulled? If the former, I would have say it is a pebcak.

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-17 Thread Junio C Hamano
Miklos Vajna vmik...@suse.cz writes: I agree that it's a bit strange, but based on a quick search, it seems multiple projects already advertise git pull -r (i.e. not --rebase and not a configuration option): http://lilypond.org/doc/v2.15/Documentation/contributor/pulling-and-rebasing http

Re* [PATCH] man: git pull -r is a short for --rebase

2012-08-17 Thread Junio C Hamano
Philip Oakley philipoak...@iee.org writes: From: Junio C Hamano gits...@pobox.com Sent: Thursday, August 16, 2012 9:23 PM Philip Oakley philipoak...@iee.org writes: I wasn't aware of the abbreviated options capability. Is meant to be in the man pages as I couldn't find it, or is it

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-17 Thread Miklos Vajna
On Thu, Aug 16, 2012 at 11:18:40PM -0700, Junio C Hamano gits...@pobox.com wrote: From: Miklos Vajna vmik...@suse.cz Date: Thu, 16 Aug 2012 11:50:18 +0200 Subject: [PATCH] man: git pull -r is a short for --rebase Letting the --rebase option squat on the short-and-sweet single letter option

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-17 Thread Junio C Hamano
Miklos Vajna vmik...@suse.cz writes: On Thu, Aug 16, 2012 at 11:18:40PM -0700, Junio C Hamano gits...@pobox.com wrote: From: Miklos Vajna vmik...@suse.cz Date: Thu, 16 Aug 2012 11:50:18 +0200 Subject: [PATCH] man: git pull -r is a short for --rebase Letting the --rebase option squat

Re: Re* [PATCH] man: git pull -r is a short for --rebase

2012-08-17 Thread Philip Oakley
From: Junio C Hamano gits...@pobox.com Sent: Friday, August 17, 2012 7:19 AM Philip Oakley philipoak...@iee.org writes: From: Junio C Hamano gits...@pobox.com Sent: Thursday, August 16, 2012 9:23 PM Philip Oakley philipoak...@iee.org writes: I wasn't aware of the abbreviated options

Re: Re* [PATCH] man: git pull -r is a short for --rebase

2012-08-17 Thread Junio C Hamano
Philip Oakley philipoak...@iee.org writes: diff --git a/Documentation/git.txt b/Documentation/git.txt index ca85d1d..75b35ce 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -22,11 +22,13 @@ unusually rich command set that provides both high-level operations and full

Re: Re* [PATCH] man: git pull -r is a short for --rebase

2012-08-17 Thread Philip Oakley
From: Junio C Hamano gits...@pobox.com Sent: Friday, August 17, 2012 8:48 PM Philip Oakley philipoak...@iee.org writes: diff --git a/Documentation/git.txt b/Documentation/git.txt index ca85d1d..75b35ce 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -22,11 +22,13 @@ unusually

[PATCH] man: git pull -r is a short for --rebase

2012-08-16 Thread Miklos Vajna
-options.txt[] :git-pull: 1 +-r:: --rebase:: Rebase the current branch on top of the upstream branch after fetching. If there is a remote-tracking branch corresponding to -- 1.7.7 -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-16 Thread Junio C Hamano
-pull.txt @@ -101,6 +101,7 @@ include::merge-options.txt[] :git-pull: 1 +-r:: --rebase:: Rebase the current branch on top of the upstream branch after fetching. If there is a remote-tracking branch corresponding to I am not sure if this is worth it, as it comes from a natural

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-16 Thread Philip Oakley
..67fa5ee 100644 --- a/Documentation/git-pull.txt +++ b/Documentation/git-pull.txt @@ -101,6 +101,7 @@ include::merge-options.txt[] :git-pull: 1 +-r:: --rebase:: Rebase the current branch on top of the upstream branch after fetching. If there is a remote-tracking branch corresponding to I am

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-16 Thread Junio C Hamano
I sent the patch as a (newcomer) friend today asked if it's intentional that -r is undocumented in 'man git-pull'. It is more intentional than it is by accident that we don't. We would really think hard to avoid breaking when introducing new options whose long name could begin with v or q

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-16 Thread Junio C Hamano
Philip Oakley philipoak...@iee.org writes: I wasn't aware of the abbreviated options capability. Is meant to be in the man pages as I couldn't find it, or is it described differently? $ git help gitcli is the closest that comes to mind. If it is not reachable from git help git, we may want

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-16 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: We would really think hard to avoid breaking when introducing new options whose long name could begin with v or q to avoid breaking -v and -q that are common across commands [today's lesson for me; do not type while eating] Sorry. We would

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-16 Thread Junio C Hamano
Johannes Sixt j...@kdbg.org writes: Are you sure? This adds '-r', not '--r', i.e., the single-letter option 'r', to the documentation, which is not something we want to hide, usually. I actually think --rebase squatting on short-and-sweet -r was an accident, and we are saved by not endorsing

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-16 Thread Philip Oakley
From: Junio C Hamano gits...@pobox.com Sent: Thursday, August 16, 2012 9:23 PM Philip Oakley philipoak...@iee.org writes: I wasn't aware of the abbreviated options capability. Is meant to be in the man pages as I couldn't find it, or is it described differently? $ git help gitcli is the

Re: [PATCH] man: git pull -r is a short for --rebase

2012-08-16 Thread Miklos Vajna
would _always_ want to run pull --rebase, which means you would likely have it configured and would not be typing from the command line. I agree that it's a bit strange, but based on a quick search, it seems multiple projects already advertise git pull -r (i.e. not --rebase and not a configuration

[GIT PULL] vcs-svn housekeeping

2012-07-06 Thread Jonathan Nieder
Hi Junio, The following changes since commit 58ebd9865d2bb9d42842fbac5a1c4eae49e92859: vcs-svn/svndiff.c: squelch false unused warning from gcc (2012-01-27 11:58:56 -0800) are available at: git://repo.or.cz/git/jrn.git svn-fe The first three commits duplicate changes that are already in

Re: [GIT PULL] vcs-svn housekeeping

2012-07-06 Thread David Michael Barr
On Sat, Jul 7, 2012 at 3:10 AM, Jonathan Nieder jrnie...@gmail.com wrote: Hi Junio, The following changes since commit 58ebd9865d2bb9d42842fbac5a1c4eae49e92859: vcs-svn/svndiff.c: squelch false unused warning from gcc (2012-01-27 11:58:56 -0800) are available at:

Re: [GIT PULL] vcs-svn housekeeping

2012-07-06 Thread Junio C Hamano
David Michael Barr davidb...@google.com writes: On Sat, Jul 7, 2012 at 3:10 AM, Jonathan Nieder jrnie...@gmail.com wrote: ... Some of the patches had to change a little since v2 of db/vcs-svn, so I'll be replying with a copy of the patches for reference. David has looked the branch over and

Ugly git pull .. merge messages

2005-09-02 Thread Linus Torvalds
Junio, I think this happened when you rewrote the pull/push stuff to do shorthands.. Lately, git pull generates a lot of extra crud in the single-line commit message, which is annoying because a lot of tools will thus actually not show enough of the line to be valid. For example, it used to get

cache status after git pull

2005-08-25 Thread tony . luck
branches (and not provided an exit code to stop my script from trying the merge). Here's what I did this morning. 1) Updated my linus branch: $ git checkout linus git pull linus This appeared to work just fine ... except that when I check the status of my tree I see: $ git status

Re: cache status after git pull

2005-08-25 Thread Junio C Hamano
[EMAIL PROTECTED] writes: Aha ... is this the problem that caught me out last week (when I ended up with 10 extra files attached to one of my commits)? Plausible. 1) Updated my linus branch: $ git checkout linus git pull linus I would assume that just after git checkout linus before

Re: cache status after git pull

2005-08-25 Thread Junio C Hamano
Luck, Tony [EMAIL PROTECTED] writes: What I want is to get the latest from kernel.org...linus...master and update my .refs/heads/linus with the new SHA1. I'd like to be able to do that without touching what is in my index, and without changing the state of any checked out files. If that is

[PATCH] Make git pull and git fetch default to origin

2005-08-20 Thread Junio C Hamano
Amos Waterland sent in a patch for the pre-multi-head aware version of git pull to do this, but the code changed quite a bit since then. If there is no argument given to pull from, and if origin makes sense, default to fetch/pull from origin instead of barfing. [jc: besides, the patch by Amos

[PATCH 3/3] Update git-pull to match updated git-fetch.

2005-08-18 Thread Junio C Hamano
-- git-pull-script | 14 ++ 3 files changed, 10 insertions(+), 85 deletions(-) delete mode 100755 git-parse-remote 3a071a02828c71bbfdc2749d25814906cd9c8b18 diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ SCRIPTS

git-pull-script hates me

2005-07-06 Thread Greg KH
I just updated to the latest git tree, and now get the following when I try to pull from a ssh repo: $ git-pull-script [EMAIL PROTECTED]:/public_html/udev.git/ fatal: I don't like '@'. Sue me. So I drop the @ and then get: $ git-pull-script someserver.org:/public_html/udev.git/ fatal: I

Re: git-pull-script hates me

2005-07-06 Thread Linus Torvalds
On Wed, 6 Jul 2005, Greg KH wrote: I just updated to the latest git tree, and now get the following when I try to pull from a ssh repo: $ git-pull-script [EMAIL PROTECTED]:/public_html/udev.git/ fatal: I don't like '@'. Sue me. So I drop the @ and then get: $ git-pull-script

Re: git-pull-script hates me

2005-07-06 Thread Greg KH
On Wed, Jul 06, 2005 at 01:46:27PM -0700, Greg KH wrote: Ok, below is a patch for this. It works, but then errors out with: bash: git-upload-pack: command not found fatal: unexpected EOF So I'm guessing that I have to convince the server owner to update their version of git

Re: git-pull-script hates me

2005-07-06 Thread Linus Torvalds
On Wed, 6 Jul 2005, Greg KH wrote: Ok, below is a patch for this. It works, but then errors out with: bash: git-upload-pack: command not found fatal: unexpected EOF So I'm guessing that I have to convince the server owner to update their version of git too? The easiest way

Re: git-pull-script hates me

2005-07-06 Thread Greg KH
On Wed, Jul 06, 2005 at 01:37:55PM -0700, Linus Torvalds wrote: On Wed, 6 Jul 2005, Greg KH wrote: I just updated to the latest git tree, and now get the following when I try to pull from a ssh repo: $ git-pull-script [EMAIL PROTECTED]:/public_html/udev.git/ fatal: I don't like

Re: git pull on ia64 linux tree

2005-04-22 Thread Linus Torvalds
On Fri, 22 Apr 2005 [EMAIL PROTECTED] wrote: git log seems to have problems interpreting the dates ... looking at the commit entries, the time is right ... but it appears that git log applies the timezone correction twice, so the changes I just applied at 14:46 PDT look like I made them at

Errors received during git pull from linux-2.6.git, but resulting kernel looks OK.

2005-04-21 Thread Steven Cole
Executive summary: I received some alarming errors while doing a git pull of the latest kernel from kernel.org, but it appears that all is well. Continue reading for the gory details. I updated my git-pasky tools this morning, by doing git pasky pull, make, make install. Working from a repo

Re: Errors received during git pull from linux-2.6.git, but resulting kernel looks OK.

2005-04-21 Thread Petr Baudis
Dear diary, on Thu, Apr 21, 2005 at 03:55:26PM CEST, I got a letter where Steven Cole [EMAIL PROTECTED] told me that... Executive summary: I received some alarming errors while doing a git pull of the latest kernel from kernel.org, but it appears that all is well. Continue reading for the gory

Re: ia64 git pull

2005-04-21 Thread Petr Baudis
Dear diary, on Fri, Apr 22, 2005 at 12:29:07AM CEST, I got a letter where Linus Torvalds [EMAIL PROTECTED] told me that... On Thu, 21 Apr 2005 [EMAIL PROTECTED] wrote: I can't quite see how to manage multiple heads in git. I notice that in your tree on kernel.org that .git/HEAD is a

Re: ia64 git pull

2005-04-21 Thread Petr Baudis
Dear diary, on Fri, Apr 22, 2005 at 03:48:35AM CEST, I got a letter where Inaky Perez-Gonzalez [EMAIL PROTECTED] told me that... Petr Baudis [EMAIL PROTECTED] writes: I've just added to git-pasky a possibility to refer to branches inside of repositories by a fragment identifier:

Re: ia64 git pull

2005-04-21 Thread David A. Wheeler
Petr Baudis [EMAIL PROTECTED] writes: Still, why would you escape it? My shell will not take # as a comment start if it is immediately after an alphanumeric character. I guess there MIGHT be some command shell implementation that stupidly _DID_ accept # as a comment character, even immediately

<    1   2   3   4   5   6   >