看板 Soft_Job
標題
Fw: [請益] git問題 -> git am xxx.patch有binary
作者 stenler
時間 2013/12/05 00:19:16
人氣 推:0 噓:0 留言:6
熱門文章不漏接,馬上點此訂閱每日熱門文章通知
訂閱Line日報 熱門文章不漏接,馬上點此訂閱
※ [本文轉錄自 PHP 看板 #1IdrMUvj ] 作者: stenler (挖哈哈思壓) 看板: PHP 標題: [請益] git問題 -> git am xxx.patch有binary 時間: Thu Dec 5 00:17:32 2013 如題,當用git am xxx.patch要上patch的時候 系統會出現 error: the patch applies to 'xxx.bin', which does not match the current contents 然後 patch apply就會失敗 請問這有解嗎 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 1.34.188.93 ※ 發信站: 批踢踢實業坊(ptt.cc) ※ 轉錄者: stenler (1.34.188.93), 時間: 12/05/2013 00:19:16
typepeter:原檔所基於的內容已不同 何不手動上patch 12/05 08:30
stenler:是binary 檔案長的完全不同 不曉得怎麼直接取代 12/05 23:33
anotherday:patch製作時有加--binary參數嗎? 12/06 21:55
stenler:不確定 是從別人那邊拿到的 patch ... 12/07 12:32
stenler:奇怪的是 git apply --binary xxxx.patch也不行 OTL 12/07 12:33
stenler:這個參數不就是要允許取代binary的嗎 12/07 12:33
近期熱門文章
Soft_Job 看板熱門文章