I hereby claim:
- I am nulltoken on github.
- I am nulltoken (https://keybase.io/nulltoken) on keybase.
- I have a public key whose fingerprint is 7574 A483 0590 8365 FE46 31C2 443A 12BC CAB4 B650
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| D:\libgit2\libgit2-msvc>SETLOCAL | |
| D:\libgit2\libgit2-msvc>SET BUILD=RelWithDebInfo | |
| D:\libgit2\libgit2-msvc>RD /S /q "cmake-build" | |
| The system cannot find the file specified. | |
| D:\libgit2\libgit2-msvc>MD "cmake-build" | |
| D:\libgit2\libgit2-msvc>PUSHD "cmake-build" |
| #!/bin/sh | |
| retrieve_head() { | |
| local oid=$(git reflog HEAD@{0} -n 1 --format=format:%H); | |
| echo "$oid" | |
| } | |
| add_commit() { | |
| echo "$1" > file.txt | |
| git add . |
| LibGit2Sharp.Tests/ConfigurationFixture.cs | 38 ++++++++++++++++++++++++++- | |
| LibGit2Sharp/Configuration.cs | 36 +++++++++++++++++++------- | |
| LibGit2Sharp/Core/Ensure.cs | 22 +++++++++++---- | |
| 3 files changed, 78 insertions(+), 18 deletions(-) | |
| diff --git a/LibGit2Sharp.Tests/ConfigurationFixture.cs b/LibGit2Sharp.Tests/ConfigurationFixture.cs | |
| index 7e1ebd9..634ed21 100644 | |
| --- a/LibGit2Sharp.Tests/ConfigurationFixture.cs | |
| +++ b/LibGit2Sharp.Tests/ConfigurationFixture.cs | |
| @@ -1,6 +1,6 @@ |
| internal class Program | |
| { | |
| private static void Main(string[] args) | |
| { | |
| string originalAssemblypath = new Uri(Assembly.GetExecutingAssembly().CodeBase).LocalPath; | |
| string parentPath = Path.GetDirectoryName(originalAssemblypath); | |
| string currentArchSubPath = "NativeBinaries/" + ProcessorArchitecture; | |
| string path = Path.Combine(parentPath, currentArchSubPath); | |
| Console.WriteLine("{0} = {1}", "originalAssemblypath", originalAssemblypath); |
| using System; | |
| using System.IO; | |
| using System.Reflection; | |
| using LibGit2Sharp; | |
| namespace ConsoleApplication2 | |
| { | |
| internal class Program | |
| { | |
| private static void Main(string[] args) |
| [Fact] | |
| /* | |
| * $ git init . | |
| * $ echo -ne 'a' > file.txt | |
| * $ git add . | |
| * $ git commit -m "No line ending" | |
| * $ echo -ne '\n' >> file.txt | |
| * $ git add . | |
| * $ git diff --cached | |
| * diff --git a/file.txt b/file.txt |
| using System.IO; | |
| using System.Linq; | |
| using System.Text; | |
| using LibGit2Sharp.Tests.TestHelpers; | |
| using Xunit; | |
| namespace LibGit2Sharp.Tests | |
| { | |
| public class DiffTreeToTargetFixture : BaseFixture | |
| { |
| 0039git-upload-pack /libgit2/libgit2.git.host=github.com.009b0536afcaa9c27105b184d2fccac1a7b9e778f27c HEAD.multi_ack thin-pack side-band side-band-64k ofs-delta shallow no-progress include-tag multi_ack_detailed | |
| 004432dc20b5af696724753ea54a4dacc3fa479774a1 refs/heads/clay-rename | |
| 004255f207110fac886861b100831305c32c94da01da refs/heads/clay-test | |
| 0049107e30e9c58facc3fdafefa7bb17ab6f04ddd2ec refs/heads/config-int-types | |
| 00478cd767ef52ad35331f082394ec93df8e57757120 refs/heads/config-parsing | |
| 00440536afcaa9c27105b184d2fccac1a7b9e778f27c refs/heads/development | |
| 004a4ef14af93517b3842bc0dfa24147cf10dd029582 refs/heads/development-merge | |
| 0047bdd31dd5e832126b2f22fccbe244a1106c241ab0 refs/heads/error-handling | |
| 0040d3789825d3823bdbbebe278172345243618ca541 refs/heads/fileops | |
| 0040ce49c7a8a902bd3a74a59a356dd11886e83d2e92 refs/heads/filters |
| [Fact] | |
| public void RetrievingTheStatusOfAnEmptyRepositoryHonorsTheGitIgnoreDirectives() | |
| { | |
| SelfCleaningDirectory scd = BuildSelfCleaningDirectory(); | |
| using (Repository repo = Repository.Init(scd.DirectoryPath)) | |
| { | |
| string relativePath = "look-ma.txt"; | |
| string fullFilePath = Path.Combine(repo.Info.WorkingDirectory, relativePath); | |
| File.WriteAllText(fullFilePath, "I'm going to be ignored!"); |