Exemplo n.º 1
0
        public static string HashWithGit(string filename)
        {
            string newHash = null;

            gitHelper.CommandOutputPipe(stdout => newHash = stdout.ReadLine().Trim(),
                                        "hash-object", "-w", filename);
            return(newHash);
        }