diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-09-26 22:32:44 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-09-26 22:32:44 -0700 |
commit | a2dbb0e56a27b8cffe81fb533ee5ca858ba73043 (patch) | |
tree | 13e4bd596159e75993c892f3016cadb311f87ff1 | |
parent | db84838b44fe1fbba2d95b067a527919670ca1f2 (diff) | |
download | kup-a2dbb0e56a27b8cffe81fb533ee5ca858ba73043.tar.gz |
When generating content locally, record the canonical SHA signatures
-rwxr-xr-x | korgupload | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -274,6 +274,8 @@ sub get_tar_data(@) fatal("400 Invalid tree reference"); } + syslog(LOG_INFO, "tar ref ${sha}"); + git_cmd_try { $repo->command_noisy('archive', '--prefix='.$prefix, '-o', $tmpdir.'/data', $ref); @@ -316,6 +318,8 @@ sub get_diff_data(@) fatal("400 Invalid tree reference"); } + syslog(LOG_INFO, "diff refs ${sha1}..${sha2}"); + git_cmd_try { my $oldstdout; my $out; |