Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean up dead code.

  • Loading branch information...
commit c76b73fc0976495796e6df0fffbfb807da0e8656 1 parent 254934a
@davidfowl davidfowl authored
View
2  Kudu.Core/SourceControl/Git/GitExecutable.cs
@@ -7,7 +7,6 @@ internal class GitExecutable : Executable
public GitExecutable(string workingDirectory)
: base(PathUtility.ResolveGitPath(), workingDirectory)
{
- //EnvironmentVariables[KnownVariables.GIT_DIR] = workingDirectory;
}
public void SetTraceLevel(int level)
@@ -38,7 +37,6 @@ private class KnownVariables
public const string GIT_CURL_VERBOSE = "GIT_CURL_VERBOSE";
public const string GIT_TRACE = "GIT_TRACE";
public const string GIT_SSL_NO_VERIFY = "GIT_SSL_NO_VERIFY";
- public const string GIT_DIR = "GIT_DIR";
}
}
}
View
17 Kudu.Services/GitServer/RpcService.cs
@@ -72,23 +72,6 @@ public HttpResponseMessage UploadPack(HttpRequestMessage request)
}
}
- //[Description("Handles a 'git push' command.")]
- //[WebInvoke(UriTemplate = "git-receive-pack")]
- //public HttpResponseMessage ReceivePack(HttpRequestMessage request)
- //{
- // using (_tracer.Step("RpcService.ReceivePack"))
- // {
- // var memoryStream = new MemoryStream();
-
- // _deploymentLock.LockHttpOperation(() =>
- // {
- // _gitServer.Receive(GetInputStream(request), memoryStream);
- // });
-
- // return CreateResponse(memoryStream, "application/x-git-{0}-result".With("receive-pack"));
- // }
- //}
-
private Stream GetInputStream(HttpRequestMessage request)
{
using (_tracer.Step("RpcService.GetInputStream"))
Please sign in to comment.
Something went wrong with that request. Please try again.