User Tools

Site Tools


en:developers:documentation:submittingpatches

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:developers:documentation:submittingpatches [2022/02/18 13:38]
Kalle Valo [Who to address] don't use wireless-drivers
en:developers:documentation:submittingpatches [2022/04/01 11:27]
Kalle Valo [Fixes line is incorrect] Add example how to use git alias
Line 126: Line 126:
 Alternatively you can specify the exact tree you are targetting by adding the name of the git tree inside PATCH brackets: Alternatively you can specify the exact tree you are targetting by adding the name of the git tree inside PATCH brackets:
  
-<​code>​[PATCH ​mac80211] mac80211: fix foo +<​code>​[PATCH ​wireless] mac80211: fix foo 
-[PATCH ​mac80211-next] mac80211: implement very-cool-feature +[PATCH ​wireless-next] mac80211: implement very-cool-feature 
-[PATCH wireless-drivers] ath10k: fix foo +[PATCH wireless] ath10k: fix foo 
-[PATCH wireless-drivers-next] ath10k: implement awesome-feature+[PATCH wireless-next] ath10k: implement awesome-feature
 </​code>​ </​code>​
  
Line 330: Line 330:
   Fixes: c742e623e941 ("​mwifiex:​ sdio card reset enhancement"​)   Fixes: c742e623e941 ("​mwifiex:​ sdio card reset enhancement"​)
  
 +Here's how one can configure git to provide the fixes tag in correct format:
 +
 +  $ git config --global --add alias.fixes 'show -q --format=fixes'​
 +  $ git config --global --add pretty.fixes '​Fixes:​ %h ("​%s"​)'​
 +  $ git config --global --add core.abbrev 12
 +  $ git fixes ba9177fcef21
 +  Fixes: ba9177fcef21 ("​ath11k:​ Add basic WoW functionalities"​)
 ==== Commit reference is wrong ==== ==== Commit reference is wrong ====
  
en/developers/documentation/submittingpatches.txt · Last modified: 2024/02/01 20:12 by Jeff Johnson