|
发表于 2020-7-11 15:53:47
3798 浏览 1 回复
如果用git指令,查看当前commit id中所有修改文件的文件名
执行指令如下:
- git show "commim id" --name-only
- 比如:
- tangh@xy02:/a1/tangh/6763/K738/alps-release-o1.mp1-V1/kernel-4.4$ git show 7500152 --name-only
- commit 7500152fc7be062697fc897b67ec18e4404240a1
- Author: xiayy <xiayy@qq.com>
- Date: Thu Jun 18 16:19:44 2020 +0800
- change system some args
- bionic/libc/bionic/system_properties.cpp
- device/mediateksample/k63v2_64_bsp/init.project.rc
- device/mediateksample/k63v2_64_bsp/system.prop
- frameworks/base/core/java/android/view/DisplayInfo.java
- frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaPhone.java
- kernel-4.4/arch/arm64/kernel/cpuinfo.c
- packages/apps/SwitchSystem/app/src/main/java/com/system/aswitch/switchsystem/MainActivity.java
- packages/apps/SwitchSystem/app/src/main/res/layout/switch_list.xml
- vendor/mediatek/proprietary/packages/apps/Launcher3/res/xml/default_workspace_4x4.xml
复制代码
|
|
手机微信同号:13682654092
|
|
|
|
|
|
楼主|
发表于 2020-8-20 09:12:24
git show --stat commit_id
- tangh@xy02:~/6762/alps-release-p0.mp1-V5$ git show --stat cb702d2
- commit cb702d2b60aba2a245a8d02a4d4e36bcdeb557c8
- Author: longrz <longrz@new-mobi.com>
- Date: Tue Mar 3 15:30:30 2020 +0800
- k62v1_64_bsp:add 6762CA-C modem
- device/mediateksample/k62v1_64_bsp/ProjectConfig.mk | 2 +-
- vendor/mediatek/proprietary/modem/lwctg_r3_6762_c_6177/Android.mk | 98 +
- ...............................
复制代码 |
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|