git replace --graft does error checking too late

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

 



When running `git replace --graft A B' where B is a non-commit (eg. a
tag) it displays an error, but creates the replace ref anyway.  I think
it should verify that B names a commit object before creating the ref.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



[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]

  Powered by Linux