librelist archives

« back to archive

libgit2sharp: Repository.RepositoryStatus question

libgit2sharp: Repository.RepositoryStatus question

From:
Sean M. Collins
Date:
2012-03-03 @ 16:53
All,

I'm getting some strange entries back from Repository.GetStatus() 

https://gist.github.com/1959639 

I'm trying to rework the RCheckin part of GitTfs, and
need to make sure the working directory & index are clean,
since RCheckin does a rebase after pushing a commit into TFS.


https://github.com/sc68cal/git-tfs/blob/libgit2sharp_dev/GitTfs/Commands/Rcheckin.cs#L77


https://github.com/sc68cal/git-tfs/blob/libgit2sharp_dev/GitTfs/Core/GitRepository.cs#L383

It's odd, because the status entries returned in that Gist, I cannot 
account for. They are not part of the commit I am trying to push
back into TFS, nor are they new files.

All help is appreciated. 

-- 
Sean M. Collins

Re: [libgit2] libgit2sharp: Repository.RepositoryStatus question

From:
Emeric Fermas
Date:
2012-03-04 @ 13:30
Hello Sean,

Would you be able to .zip the repo in this state and share it with me?
I'd glad to take a look at this issue.

Cheers,
Em.



On Sat, Mar 3, 2012 at 5:53 PM, Sean M. Collins <sean@coreitpro.com> wrote:
> All,
>
> I'm getting some strange entries back from Repository.GetStatus()
>
> https://gist.github.com/1959639
>
> I'm trying to rework the RCheckin part of GitTfs, and
> need to make sure the working directory & index are clean,
> since RCheckin does a rebase after pushing a commit into TFS.
>
> 
https://github.com/sc68cal/git-tfs/blob/libgit2sharp_dev/GitTfs/Commands/Rcheckin.cs#L77
>
> 
https://github.com/sc68cal/git-tfs/blob/libgit2sharp_dev/GitTfs/Core/GitRepository.cs#L383
>
> It's odd, because the status entries returned in that Gist, I cannot
> account for. They are not part of the commit I am trying to push
> back into TFS, nor are they new files.
>
> All help is appreciated.
>
> --
> Sean M. Collins

Re: [libgit2] libgit2sharp: Repository.RepositoryStatus question

From:
Sean M. Collins
Date:
2012-03-04 @ 17:42
On Sun, Mar 04, 2012 at 02:30:24PM +0100, Emeric Fermas wrote:
> Would you be able to .zip the repo in this state and share it with me?
> I'd glad to take a look at this issue.

Sorry, I am not able to do that. I am happy to run any commands or
scripts that you provide.

-- 
Sean M. Collins

Re: [libgit2] libgit2sharp: Repository.RepositoryStatus question

From:
Russell Belfer
Date:
2012-03-05 @ 23:28
Sean, are you using submodules?

-- Russell

On Sun, Mar 4, 2012 at 9:42 AM, Sean M. Collins <sean@coreitpro.com> wrote:

> On Sun, Mar 04, 2012 at 02:30:24PM +0100, Emeric Fermas wrote:
> > Would you be able to .zip the repo in this state and share it with me?
> > I'd glad to take a look at this issue.
>
> Sorry, I am not able to do that. I am happy to run any commands or
> scripts that you provide.
>
> --
> Sean M. Collins
>

Re: [libgit2] libgit2sharp: Repository.RepositoryStatus question

From:
Sean M. Collins
Date:
2012-03-06 @ 00:48
No, I am not.

-- 
Sean M. Collins

Re: [libgit2] libgit2sharp: Repository.Index.RetrieveStatus question

From:
Sean M. Collins
Date:
2012-03-03 @ 17:09
Sorry for the confusion,

I mean to say Repository.Index.RetrieveStatus()

-- 
Sean M. Collins

Re: [libgit2] libgit2sharp: Repository.Index.RetrieveStatus question

From:
Sean M. Collins
Date:
2012-03-08 @ 17:25
I rolled up my sleeves and have started to debug the issue.
The good news is that it is trivial to reproduce in the repo that
I have.

Here are my notes: https://gist.github.com/2002082