Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
325e7a30f5 |
+1
-1
@@ -1 +1 @@
|
|||||||
1.0.83
|
1.0.84
|
||||||
|
|||||||
@@ -26,6 +26,6 @@ using System.Runtime.InteropServices;
|
|||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("1.0.83")]
|
[assembly: AssemblyVersion("1.0.84")]
|
||||||
[assembly: AssemblyFileVersion("1.0.83")]
|
[assembly: AssemblyFileVersion("1.0.84")]
|
||||||
[assembly: AssemblyInformationalVersion("1.0.83")]
|
[assembly: AssemblyInformationalVersion("1.0.84")]
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ namespace JiraTimeBot.RepositoryProviders
|
|||||||
date = date.GetValueOrDefault(DateTime.Now.Date);
|
date = date.GetValueOrDefault(DateTime.Now.Date);
|
||||||
|
|
||||||
var workTasks = new List<TaskTimeItem>();
|
var workTasks = new List<TaskTimeItem>();
|
||||||
foreach (var repoDirectory in Directory.GetDirectories(settings.RepositoryPath))
|
foreach (var repoDirectory in Directory.GetDirectories(settings.RepositoryPath, ".git", SearchOption.AllDirectories))
|
||||||
{
|
{
|
||||||
if (cancellationToken.IsCancellationRequested)
|
if (cancellationToken.IsCancellationRequested)
|
||||||
{
|
{
|
||||||
@@ -43,16 +43,15 @@ namespace JiraTimeBot.RepositoryProviders
|
|||||||
}
|
}
|
||||||
|
|
||||||
//var project = new DirectoryInfo(repoDirectory).Name;
|
//var project = new DirectoryInfo(repoDirectory).Name;
|
||||||
if (!Directory.Exists(Path.Combine(repoDirectory, ".git")))
|
var repoRootDirectory = repoDirectory.Replace(".git", "");
|
||||||
|
var directoryInfo = new DirectoryInfo(repoRootDirectory);
|
||||||
|
if (!directoryInfo.Exists)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
var directoryInfo = new DirectoryInfo(repoDirectory);
|
|
||||||
|
|
||||||
|
|
||||||
var repo = new LibGit2Sharp.Repository(repoDirectory);
|
|
||||||
|
|
||||||
|
var repo = new LibGit2Sharp.Repository(repoRootDirectory);
|
||||||
if (settings.PullBeforeProcess)
|
if (settings.PullBeforeProcess)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user