git merge --date --author

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

 



Hi,

I was trying to rebuild some history and found myself trying to use some
options with git merge which are available in git commit:

 git merge \
     --date "2013-12-31 23:59:59 +0000" \
     --author "Happy New Year <happy.new-year@gregorian.calendar>" \
     current-year

But unfortunately, unlike git commit, git merge doesn't support either
--date or --author.

I can work around with environment variables:

 GIT_AUTHOR_DATE="2013-12-31 23:59:59 +0000" \
 GIT_AUTHOR_NAME="Happy New Year" \
 GIT_AUTHOR_EMAIL="happy.new-year@gregorian.calendar"  \
 git merge current-year

But I'd like to know if there's a specific reason for git merge to not
support --date and --author ?

Regards.

-- 
Yann Droneaud
OPTEYA


--
To unsubscribe from this list: 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]