diff options
| author | Chris Ball <chris@printf.net> | 2015-05-30 10:42:56 -0400 |
|---|---|---|
| committer | Chris Ball <chris@printf.net> | 2015-05-30 10:43:07 -0400 |
| commit | b0e02b10bc7f163bf68aa1d55121ee22db78e2f4 (patch) | |
| tree | f0ea0856de4a76fbd9c2badef2a48c18c235ec40 /gittorrentd | |
| parent | ef27491bdebe1026b1be58c295c8d1c9fe5f99c1 (diff) | |
Disable publishing name/email for now, as requested by #9
Diffstat (limited to 'gittorrentd')
| -rwxr-xr-x | gittorrentd | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gittorrentd b/gittorrentd index e584b14..e8a17d1 100755 --- a/gittorrentd +++ b/gittorrentd @@ -44,19 +44,6 @@ var userProfile = { repositories: {} } -// These would be better as execSync, but node didn't get that until 0.12. -exec('git config user.name', function (error, stdout, stderr) { - userProfile.name = stdout.trim() - if (error !== null) { - die("Couldn't get git user name: " + error) - } -}) -exec('git config user.email', function (error, stdout, stderr) { - userProfile.email = stdout.trim() - if (error !== null) { - die("Couldn't get git user email: " + error) - } -}) var key = create_or_read_keyfile() function create_or_read_keyfile () { |
