Making it possible to search which files previously matched a specific search result #118891
-
Select Topic AreaProduct Feedback BodyThere really needs to be a way to search which files previously matched a specific search result in addition to which files currently match a specific search result. Since I'm trying to search for a specific title across various files in a given repository. But I'm trying to search for which files previously matched a specific search result. Not just the files that currently match a specific search result. I have tried to search for the following things in the Wikia and svn2github repositories:
The problem is that the revisions that contain the information that I'm after are past revisions, not current revisions. So searching for the things that I've already mentioned isn't helpful, because the only revisions that are listed are the latest revisions. And they don't contain the information that I'm looking for. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 20 replies
-
Hi @CSyde65! Making sure I understand the question. I understand the gits of the question to be: You are trying to search the revision history of certain files? (and the current version) |
Beta Was this translation helpful? Give feedback.
-
I have tried searching the commit history manually in the past. But the repositories are very large. So I can't guarantee that I'll be able to get the information I need in a timely manner. Which is why I wanted something more automatic. Something that can tell me what files have previously matched a specific input. What I'm trying to do is:
|
Beta Was this translation helpful? Give feedback.
-
They are links similar to the ones that I've been using to verify what month and year some of the other usergroups were introduced and/or retired. Although many of them were ones that I already had some idea of when they were introduced/retired. I haven't had it as easy with the ones that I've mentioned. Even with change logs, commits, and pull requests existing. Since I can't always tell by the change logs which revisions will contain what I'm after. It's possible that some of the information that I'm after may have been deleted from the repositories. Which is why I wanted to be able to use a feature that would be able to tell me whether or not the information still exists. And if it still exists, which files previously contained the information that I'm after. I also linked various points of the Community Central user rights log, as I've been using that to get some idea when some of the usergroups were introduced/retired at the latest. |
Beta Was this translation helpful? Give feedback.
-
I don't have copilot enabled. So unless there's some way I can enable it for free, I'm not going to be able to find the information I'm after, myself. |
Beta Was this translation helpful? Give feedback.
-
No I'm not a student, nor am I part of a larger organisation that has an enterprise account. |
Beta Was this translation helpful? Give feedback.
-
Something similar came up in another discussion; its not exactly what we have been working on, but I wonder if its helpful. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to provide a step by step list of instructions of what I need to do in order to extract all the information that I'm looking for? I tried to get the free trial of Copilot, but it was too complicated for me to set up. As it required information that I don't know off the top of my head. |
Beta Was this translation helpful? Give feedback.
-
How do I do that? |
Beta Was this translation helpful? Give feedback.
At this time, GitHub does not maintain a search index that would make these queries possible. You will need to clone the repositories and use git commands to find what you're looking for. For example
git log -p -S
.