Re: [PATCH 2/2] cvsimport: cleanup commit function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why run "env" and not just muck with %ENV?

M.


+       my $pid = open2(my $commit_read, my $commit_write,
+               'env',
+               "GIT_AUTHOR_NAME=$author_name",
+               "GIT_AUTHOR_EMAIL=$author_email",
+               "GIT_AUTHOR_DATE=$commit_date",
+               "GIT_COMMITTER_NAME=$author_name",
+               "GIT_COMMITTER_EMAIL=$author_email",
+               "GIT_COMMITTER_DATE=$commit_date",
+               'git-commit-tree', $tree, @commit_args);
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]