modifications to dirOption
This commit is contained in:
parent
384391add1
commit
434ba07d59
@ -36,12 +36,7 @@ public class CommitDetail
|
||||
|
||||
public CommitDetail(string? dir)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(dir)) {
|
||||
_selectedDir = dir;
|
||||
} else {
|
||||
_selectedDir = Directory.GetCurrentDirectory();
|
||||
}
|
||||
|
||||
_selectedDir = !String.IsNullOrEmpty(dir) ? dir : Directory.GetCurrentDirectory();
|
||||
_authors = new List<string>();
|
||||
_commitDetails = new SortedList<string, int>();
|
||||
_currentBranch = GetCurrentBranch();
|
||||
|
Loading…
Reference in New Issue
Block a user