git fetch documentation

2013-06-01 Thread Nicolas Richard
Hello, Regarding the git-fetch man page (IIUC, in pull-fetch-param.txt), in particular the refspec explanation, I feel that two facts are missing: - A '*' can be used both in src and dest, and it matches any name, including subdirectories, but not partial names (i.e. refs/heads/foo* is

Re: git fetch documentation

2013-06-01 Thread Ramkumar Ramachandra
Nicolas Richard wrote: - A '*' can be used both in src and dest, and it matches any name, including subdirectories, but not partial names (i.e. refs/heads/foo* is invalid). - multiple fetch lines can be given in .git/config, each of them will be obeyed These are probably obvious for

Re: git fetch documentation problem or bug

2012-10-21 Thread Drew Northup
On Mon, Oct 8, 2012 at 7:33 PM, Junio C Hamano gits...@pobox.com wrote: Junio C Hamano gits...@pobox.com writes: In other words, you can do this from the command line if you want to do the update. $ git fetch origin master:refs/remotes/origin/master Now having said all that, we should

Re: git fetch documentation problem or bug

2012-10-21 Thread Junio C Hamano
Drew Northup n1xim.em...@gmail.com writes: On Mon, Oct 8, 2012 at 7:33 PM, Junio C Hamano gits...@pobox.com wrote: Junio C Hamano gits...@pobox.com writes: I personally do not think the downside of breaking backward compatibility is too bad. If we do this only when we already are

Re: git fetch documentation problem or bug

2012-10-08 Thread Junio C Hamano
Angelo Borsotti angelo.borso...@gmail.com writes: git fetch repository refspec does not create the remote refs in the current (local) repository... However, if a git fetch origin is executed, the refs are properly created: Working as designed and documented. $ git fetch origin master is

Re: git fetch documentation problem or bug

2012-10-08 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: Angelo Borsotti angelo.borso...@gmail.com writes: git fetch repository refspec does not create the remote refs in the current (local) repository... However, if a git fetch origin is executed, the refs are properly created: Working as designed and

Re: git fetch documentation problem or bug

2012-10-08 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: In other words, you can do this from the command line if you want to do the update. $ git fetch origin master:refs/remotes/origin/master Now having said all that, we should probably revisit this and possibly other issues and for the ones we can

Re: git fetch documentation problem or bug

2012-10-08 Thread Nguyen Thai Ngoc Duy
On Tue, Oct 9, 2012 at 6:33 AM, Junio C Hamano gits...@pobox.com wrote: * Unify pathspec semantics This has happened and commands that used to take only path prefix style pathspecs now take globs as well [ND] I've been thinking about it lately and will probably restart soon with a