mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
enhance: supports checking updates with hotfix version
This commit is contained in:
parent
40d5a7c7f3
commit
183cb8a658
3 changed files with 15 additions and 18 deletions
|
@ -5,11 +5,11 @@ namespace SourceGit.Commands
|
|||
{
|
||||
public partial class AssumeUnchanged
|
||||
{
|
||||
partial class ViewCommand : Command
|
||||
{
|
||||
[GeneratedRegex(@"^(\w)\s+(.+)$")]
|
||||
private static partial Regex REG();
|
||||
[GeneratedRegex(@"^(\w)\s+(.+)$")]
|
||||
private static partial Regex REG_PARSE();
|
||||
|
||||
class ViewCommand : Command
|
||||
{
|
||||
public ViewCommand(string repo)
|
||||
{
|
||||
WorkingDirectory = repo;
|
||||
|
@ -25,7 +25,7 @@ namespace SourceGit.Commands
|
|||
|
||||
protected override void OnReadline(string line)
|
||||
{
|
||||
var match = REG().Match(line);
|
||||
var match = REG_PARSE().Match(line);
|
||||
if (!match.Success)
|
||||
return;
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ namespace SourceGit.Commands
|
|||
{
|
||||
public partial class QueryStashChanges : Command
|
||||
{
|
||||
|
||||
[GeneratedRegex(@"^(\s?[\w\?]{1,4})\s+(.+)$")]
|
||||
private static partial Regex REG_FORMAT();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue