hi sitaram:
sorry for late reply due to vacation.
I setup a new server, did a test once again, it actually fail here.
so, before I'm investigating more, could you kindly give me any hints?
And let me make my case more clear, operations as follow
1) setup mirror mode, say two git servers, MasterA, SlaveB
2) clone from MasterA, made one commit: git commit -asm "one message"
3) git push origin HEAD:refs/heads/master (push to MasterA)
4) verify difference of the branch "master" from MasterA and SlaveB,
should be the same
let mean the mirror operation is successfully made
5) git commit -as --amend "one message, but amend"
6) git push --force origin HEAD:refs/heads/master (push to MasterA, again)
this actually remove previous commit, and override with another one
7) try to fetch MasterA, SlaveB, and verify the difference, SlaveB's
master branch still stall at previous commit, not updated
And wonder anyone else encountered this problem? or did I miss something?
Dennis