gitkraken在提交视图中未显示已删除的文件

发布于 2025-01-21 03:10:08 字数 1815 浏览 0 评论 0 原文

在提交88f076

此删除<

a href =“ https://github.com/maxsu/balancers2/commit/88f076f28195867b9f4b9f4b6fe9f287cff63b7ba51c“ 。

​CLI:

$ git show 88f076
    Author: Max Suica <[email protected]>
Date:   Sun Mar 27 10:37:40 2022 -0700

    Fix Header Include Order

    * Use C++ convention (x.cpp includes x.h)
    * Rename c headers (.h) to c++ headers (.hpp)
    * Headerize util.cpp - fixes template function issue

 rename lib/{exists_balancer.h => exists_balancer.hpp} (63%)
 rename lib/{network_tools.h => network_tools.hpp} (96%)
 rename lib/{output_ratios.h => output_ratios.hpp} (82%)
 rename lib/{types.h => types.hpp} (100%)
 delete mode 100644 lib/utils.cpp
 delete mode 100644 lib/utils.h
 create mode 100644 lib/utils.hpp
 rename tests/{test_cases.h => test_cases.hpp} (89%)
 rename tests/{test_utils.h => test_utils.hpp} (60%)

但是,它没有出现在Gitkraken的提交评论中:

”

我在Ubuntu上运行Gitkraken,并首先在合作者的OSX计算机上发现了此问题。

复制

  1. 克隆回购:

  2. ”在gitkraken

    中打开
  3. ,检查commit 88f076-“ fix标头订单”

问题

为什么会导致gitkraken隐藏此已删除的文件,我可以配置它以显示文件吗?

In commit 88f076 (github link) of my repo, I deleted the file lib/utils.cpp.

This deletion appears on github:

enter image description here

and in my git CLI:

$ git show 88f076
    Author: Max Suica <[email protected]>
Date:   Sun Mar 27 10:37:40 2022 -0700

    Fix Header Include Order

    * Use C++ convention (x.cpp includes x.h)
    * Rename c headers (.h) to c++ headers (.hpp)
    * Headerize util.cpp - fixes template function issue

 rename lib/{exists_balancer.h => exists_balancer.hpp} (63%)
 rename lib/{network_tools.h => network_tools.hpp} (96%)
 rename lib/{output_ratios.h => output_ratios.hpp} (82%)
 rename lib/{types.h => types.hpp} (100%)
 delete mode 100644 lib/utils.cpp
 delete mode 100644 lib/utils.h
 create mode 100644 lib/utils.hpp
 rename tests/{test_cases.h => test_cases.hpp} (89%)
 rename tests/{test_utils.h => test_utils.hpp} (60%)

However, it does not appear in Gitkraken's commit review:

lib/utils.cpp should appear as a deleted file

I'm running Gitkraken on Ubuntu, and first discovered this issue on a collaborator's OSX machine.

To replicate

  1. Clone the repo: https://github.com/maxsu/balancers2.git

  2. Open in Gitkraken

  3. Inspect commit 88f076 - "Fix Header Include Order"

Question

Why causes Gitkraken to hide this deleted file, and can I configure it to show the file?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文