Skip to contentSkip to conversation

Documentation Bugs

DISCUSSION Uwe Kleine-König 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

1) git-fetch(1) (from maint) states:

-q, --quiet
Pass --quiet to git-fetch-pack and silence any other internally used programs.

but git-fetch doesn't like -q. (master has a858c006fae17cef44dd63737771f2bebb6eeae8, but maint only has 42905294de0c1885f5636319c4790f184d767875)

Maybe more difficult:
2) rebase a merged tree:

If I made a local commit and pulled from origin, I get:

	zeisberg@cassiopeia:~/gsrc/git$ git show
	commit 15386213004a20dfdf92c654c737795079202545
	Merge: 9d740f0... 9159afb...
	Author: Uwe Kleine-König <[email protected]>
	Date:   Sun May 6 14:49:59 2007 +0200

Merge branch 'master' of git://git.kernel.org/pub/scm/git/git

zeisberg@cassiopeia:~/gsrc/git$ git rebase junio/master Current branch master is up to date.

(where junio/master is the tracking branch for
git://git.kernel.org/pub/scm/git/git) but git-rebase(1) states:

All changes made by commits in the current branch but that are not in <upstream> are saved to a temporary area. This is the same set of commits that would be shown by git log <upstream>..HEAD.

and git-log junio/master..HEAD is not empty.

I didn't have the time to look into 2). So I only report it for now.

Best regards
Uwe

Signature · 3 lines
Uwe Kleine-König

http://www.google.com/search?q=sin%28pi%2F2%29
#1 lore raw

Hello,

Quoted 18 lines

2) rebase a merged tree:

If I made a local commit and pulled from origin, I get:

	zeisberg@cassiopeia:~/gsrc/git$ git show
	commit 15386213004a20dfdf92c654c737795079202545
	Merge: 9d740f0... 9159afb...
	Author: Uwe Kleine-König <[email protected]>
	Date:   Sun May 6 14:49:59 2007 +0200

Merge branch 'master' of git://git.kernel.org/pub/scm/git/git

zeisberg@cassiopeia:~/gsrc/git$ git rebase junio/master Current branch master is up to date.

(where junio/master is the tracking branch for
git://git.kernel.org/pub/scm/git/git) but git-rebase(1) states:

Quoted 6 lines

All changes made by commits in the current branch but that are not in <upstream> are saved to a temporary area. This is the same set of commits that would be shown by git log <upstream>..HEAD.

and git-log junio/master..HEAD is not empty.

After having thought about that one once more, here some more info: The two patches I had in master were merged in the meantime. So it was correct for git-rebase to state that master is up to date. Rereading the documentation I realize there is no bug. I just missed that both patches were already merged and format-patch generated a patch anyhow.

The first issue remains however.

Best regards
Uwe

Signature · 4 lines
Uwe Kleine-König

If a lawyer and an IRS agent were both drowning, and you could only save
one of them, would you go to lunch or read the paper?