在GitHub上查找不使用';我没有GitHub帐户

在GitHub上查找不使用';我没有GitHub帐户,git,github,Git,Github,假设我想在Linux内核中找到某个参与者的提交。 例如,有一篇文章是由Anna Schumaker撰写的(我接受了当前历史中不是由github帐户编写的最新提交) 关于该主题的其他一些问题建议使用https://github.com/torvalds/linux/commits/master?author=AUTHOR查找同一作者的更多提交 然而: 给了我一个相当大的提交列表 给出空结果。出于好奇,我还尝试搜索签署此提交的用户:-也没有结果。我还试着输入全名和电子邮件,而不仅仅是姓名 这是

假设我想在Linux内核中找到某个参与者的提交。

例如,有一篇文章是由Anna Schumaker撰写的(我接受了当前历史中不是由github帐户编写的最新提交)

关于该主题的其他一些问题建议使用
https://github.com/torvalds/linux/commits/master?author=AUTHOR
查找同一作者的更多提交

然而:

  • 给了我一个相当大的提交列表
  • 给出空结果。出于好奇,我还尝试搜索签署此提交的用户:-也没有结果。我还试着输入全名和电子邮件,而不仅仅是姓名
这是Github中缺少的功能吗?我做错了吗


另外,我知道使用git命令行工具实现这一点的方法。我特别想用Github来实现这一点,因为我希望能够生成一个指向搜索的链接,以便其他人可以在web上查看搜索结果。

好吧,一次又一次,解决问题的最佳方法是公开宣布我不知道如何解决它。。。发布问题后,我立即意识到我没有尝试只搜索电子邮件:


给出了预期的结果。

好吧,一次又一次,解决问题的最好办法是公开宣布我不知道如何解决它。。。发布问题后,我立即意识到我没有尝试只搜索电子邮件:


给出预期结果。

您可以在
作者
参数中传递用户名或电子邮件地址。正如您所注意到的,使用
?author=torvalds
可以进行提交

由于Anna没有GitHub帐户,您可以使用她的电子邮件。但是如何找到她的电子邮件知道提交

具有(如下所示:
https://github.com/torvalds/linux/commit/39d0d3bdf7bab3021a31e501172ac0f18947f9b3
),在末尾追加
.patch
代码段。你应该得到类似于:

https://github.com/torvalds/linux/commit/39d0d3bdf7bab3021a31e501172ac0f18947f9b3.patch

响应如下所示:

From 39d0d3bdf7bab3021a31e501172ac0f18947f9b3 Mon Sep 17 00:00:00 2001
From: Anna Schumaker <Anna.Schumaker@netapp.com>
Date: Mon, 5 Oct 2015 16:43:26 -0400
Subject: [PATCH] NFS: Fix a tracepoint NULL-pointer dereference

Running xfstest generic/013 with the tracepoint nfs:nfs4_open_file
enabled produces a NULL-pointer dereference when calculating fileid and
filehandle of the opened file.  Fix this by checking if state is NULL
before trying to use the inode pointer.

Reported-by: Olga Kornievskaia <aglo@umich.edu>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
---
 fs/nfs/nfs4trace.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfs/nfs4trace.h b/fs/nfs/nfs4trace.h
index 28df12e..671cf68 100644
--- a/fs/nfs/nfs4trace.h
+++ b/fs/nfs/nfs4trace.h
@@ -409,7 +409,7 @@ DECLARE_EVENT_CLASS(nfs4_open_event,
            __entry->flags = flags;
            __entry->fmode = (__force unsigned int)ctx->mode;
            __entry->dev = ctx->dentry->d_sb->s_dev;
-           if (!IS_ERR(state))
+           if (!IS_ERR_OR_NULL(state))
                inode = state->inode;
            if (inode != NULL) {
                __entry->fileid = NFS_FILEID(inode);

您可以在
author
参数中输入用户名或电子邮件地址。正如您所注意到的,使用
?author=torvalds
可以进行提交

由于Anna没有GitHub帐户,您可以使用她的电子邮件。但是如何找到她的电子邮件知道提交

具有(如下所示:
https://github.com/torvalds/linux/commit/39d0d3bdf7bab3021a31e501172ac0f18947f9b3
),在末尾追加
.patch
代码段。你应该得到类似于:

https://github.com/torvalds/linux/commit/39d0d3bdf7bab3021a31e501172ac0f18947f9b3.patch

响应如下所示:

From 39d0d3bdf7bab3021a31e501172ac0f18947f9b3 Mon Sep 17 00:00:00 2001
From: Anna Schumaker <Anna.Schumaker@netapp.com>
Date: Mon, 5 Oct 2015 16:43:26 -0400
Subject: [PATCH] NFS: Fix a tracepoint NULL-pointer dereference

Running xfstest generic/013 with the tracepoint nfs:nfs4_open_file
enabled produces a NULL-pointer dereference when calculating fileid and
filehandle of the opened file.  Fix this by checking if state is NULL
before trying to use the inode pointer.

Reported-by: Olga Kornievskaia <aglo@umich.edu>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
---
 fs/nfs/nfs4trace.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfs/nfs4trace.h b/fs/nfs/nfs4trace.h
index 28df12e..671cf68 100644
--- a/fs/nfs/nfs4trace.h
+++ b/fs/nfs/nfs4trace.h
@@ -409,7 +409,7 @@ DECLARE_EVENT_CLASS(nfs4_open_event,
            __entry->flags = flags;
            __entry->fmode = (__force unsigned int)ctx->mode;
            __entry->dev = ctx->dentry->d_sb->s_dev;
-           if (!IS_ERR(state))
+           if (!IS_ERR_OR_NULL(state))
                inode = state->inode;
            if (inode != NULL) {
                __entry->fileid = NFS_FILEID(inode);

我补充了一个更详细的答案。也许对后人有用。:)@jkff,老板,如果答案对你有帮助,请接受这个答案!因为对方已经尽力提供了一个详细的答案,而你的只是一个链接,它可能会随着时间的推移而腐烂。我添加了一个更详细的答案。也许对后人有用。:)@jkff,老板,如果答案对你有帮助,请接受这个答案!因为对方已经尽力提供了一个详细的答案,而你的答案只是一个链接,可能会随着时间的推移而腐烂。老板,如果答案对你有帮助,请接受答案!老板,如果答案对你有帮助,请接受!