sourcegit/src/Commands/QueryRepositoryRootPath.cs

11 lines
256 B
C#

namespace SourceGit.Commands
{
public class QueryRepositoryRootPath : Command
{
public QueryRepositoryRootPath(string path)
{
WorkingDirectory = path;
Args = "rev-parse --show-toplevel";
}
}
}