[PR #1069] [MERGED] Makefile: Use hash over which #15748

Closed
opened 2025-11-02 11:53:41 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1069
Author: @silverwind
Created: 2/26/2017
Status: Merged
Merged: 2/26/2017
Merged by: @tboerger

Base: masterHead: hash-over-which


📝 Commits (1)

  • c3144ff Makefile: Use hash over which

📊 Changes

1 file changed (+4 additions, -4 deletions)

View changed files

📝 Makefile (+4 -4)

📄 Description

hash is a much faster shell-builtin alternative to which. I checked and it's available even on minimal shells like busybox, so I think it's save to use.

As suggested by @tboerger.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1069 **Author:** [@silverwind](https://github.com/silverwind) **Created:** 2/26/2017 **Status:** ✅ Merged **Merged:** 2/26/2017 **Merged by:** [@tboerger](https://github.com/tboerger) **Base:** `master` ← **Head:** `hash-over-which` --- ### 📝 Commits (1) - [`c3144ff`](https://github.com/go-gitea/gitea/commit/c3144ffdedaed47f0c23fe9d2b30e0eaca9fe0b1) Makefile: Use hash over which ### 📊 Changes **1 file changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+4 -4) </details> ### 📄 Description `hash` is a much faster shell-builtin alternative to `which`. I checked and it's available even on minimal shells like busybox, so I think it's save to use. As [suggested](https://github.com/go-gitea/gitea/pull/1068#issuecomment-282553114) by @tboerger. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:53:41 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15748