Message ID | 20241115-vfs-netfs-7df3b2479ea4@brauner (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [GIT,PULL] vfs netfs | expand |
On Fri, 15 Nov 2024 at 06:00, Christian Brauner <brauner@kernel.org> wrote: > > A pidfs patch ended up in the branch and I didn't notice it. I decided > to leave it in here instead of rebasing the whole branch. What happened here? Not only isn't there a pidfs patch in here, it also doesn't have the afs patches you claim it has, because all of those came in long ago in commit a5f24c795513: "Pull vfs fixes from Christian Brauner". So I've pulled this, but your pull request was all wonky because you used some odd base commit. Linus
The pull request you sent on Fri, 15 Nov 2024 15:00:21 +0100:
> git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.13.netfs
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8dcf44fcad5ef5c1ff915628255c19cbe91f2588
Thank you!
On Mon, Nov 18, 2024 at 10:29:42AM -0800, Linus Torvalds wrote: > On Fri, 15 Nov 2024 at 06:00, Christian Brauner <brauner@kernel.org> wrote: > > > > A pidfs patch ended up in the branch and I didn't notice it. I decided > > to leave it in here instead of rebasing the whole branch. > > What happened here? The base of the branch is definitely v6.12-rc1. The branch is simply vfs.netfs with vfs-6.13.netfs tag. And the branch looks perfectly fine. I think the issue was that I sent you the fixes tag you mention below that contained some fixes that were in vfs.netfs. So afterwards I just didn't rebase vfs.netfs but merged two other series on top of it with v6.12-rc1 as parent. And I think that might've somehow confused the git request-pull call. Rebasing would've been the cleaner thing here since I had a long time until the merge window. But other than that it doesn't look like I did something that was actively wrong? But I might just be missing something. > > Not only isn't there a pidfs patch in here, it also doesn't have the > afs patches you claim it has, because all of those came in long ago in > commit a5f24c795513: "Pull vfs fixes from Christian Brauner". > > So I've pulled this, but your pull request was all wonky because you > used some odd base commit. > > Linus
On Wed, 20 Nov 2024 at 00:49, Christian Brauner <brauner@kernel.org> wrote: > > The base of the branch is definitely v6.12-rc1. The branch is simply > vfs.netfs with vfs-6.13.netfs tag. And the branch looks perfectly fine. The branch looks fine, it was just the pull request that contained old stale commits that you had already sent me. > I think the issue was that I sent you the fixes tag you mention below > that contained some fixes that were in vfs.netfs. So afterwards I just > didn't rebase vfs.netfs but merged two other series on top of it with > v6.12-rc1 as parent. And I think that might've somehow confused the git > request-pull call. Oh, you shouldn't rebase. But it also sounds like you are actually tracking the bases for your branches manually. You shouldn't do that either. All you need to do is fetch from upstream, so that git sees what I have, and then when you do the pull request, you tell it not the base of the branch, but just what upstream has. git will then figure out the base from that. Linus
On Wed, Nov 20, 2024 at 09:09:44AM -0800, Linus Torvalds wrote: > On Wed, 20 Nov 2024 at 00:49, Christian Brauner <brauner@kernel.org> wrote: > > > > The base of the branch is definitely v6.12-rc1. The branch is simply > > vfs.netfs with vfs-6.13.netfs tag. And the branch looks perfectly fine. > > The branch looks fine, it was just the pull request that contained old > stale commits that you had already sent me. > > > I think the issue was that I sent you the fixes tag you mention below > > that contained some fixes that were in vfs.netfs. So afterwards I just > > didn't rebase vfs.netfs but merged two other series on top of it with > > v6.12-rc1 as parent. And I think that might've somehow confused the git > > request-pull call. > > Oh, you shouldn't rebase. But it also sounds like you are actually I don't as I'm well aware how much you dislike that. Here I had a bunch of fixes and I usually carry them on a separate branch and have another feature branch for new stuff. But in this case I ended up using the branch for some hot fixes instead of carrying them on the separate vfs.fixes branch. But when I pulled in the features I should have reset/rebased the branch. > tracking the bases for your branches manually. You shouldn't do that > either. > > All you need to do is fetch from upstream, so that git sees what I > have, and then when you do the pull request, you tell it not the base > of the branch, but just what upstream has. git will then figure out > the base from that. Yeah, that's what I do. I do a git fetch upstream and then just point git request-pull to that and then things work fine. Anyway, thanks for pointing it out and sorry for the confusion.