blame
parent
1dcfa3829b
commit
3084e1337f
|
|
@ -17,7 +17,7 @@ if [[ $text =~ (Assets\/[^:\(]+)\/([^:\(]+\.cs)[:\(]([0-9]+) ]]; then
|
|||
echo "blame line_num: $line_number"
|
||||
cd ../../ProjectNLD/"$path" || exit
|
||||
last_commit_author=$(git blame -L "$line_number" "$fileName" | awk '{print $2; exit}')
|
||||
message="author:${last_commit_author:1}"
|
||||
message="fileName:$fileName \r\n line_num:$line_number \r\n author:${last_commit_author:1}"
|
||||
echo "message:$message"
|
||||
cd "$script_directory" || exit
|
||||
sh to_inner_wechat_robot.sh "$message"
|
||||
|
|
|
|||
Loading…
Reference in New Issue