Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master quill by Ismael Luceno (ba2b03846715778dc4305b77af5aa439e43dac11)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master quill by Ismael Luceno (ba2b03846715778dc4305b77af5aa439e43dac11)
  • Date: Mon, 24 May 2021 12:54:41 +0000

GIT changes to master quill by Ismael Luceno <ismael AT sourcemage.org>:

usr/bin/quill | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba2b03846715778dc4305b77af5aa439e43dac11
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

quill: Simplify parsing of Github URLs

Extract the name using a fixed index; counting from the end can vary the
relative index in case of full refs.

Fixes: 4668bcd70ba8 ("quill: Fix parsing of Github URLs")

diff --git a/usr/bin/quill b/usr/bin/quill
index 79167cf..7380ba3 100755
--- a/usr/bin/quill
+++ b/usr/bin/quill
@@ -105,7 +105,7 @@ if [[ -z $QUILL_TARGET ]]; then
;;
https://github.com/*/archive/*)
SPELL_SRC_URL="$1"
- QUILL_ORIG_TARGET=$(awk -F/ '{print $(NF-2)}' <<< "$1")
+ QUILL_ORIG_TARGET=$(awk -F/ '{print $5}' <<< "$1")
;;
*:*)
SPELL_SRC_URL="$1"



  • [SM-Commit] GIT changes to master quill by Ismael Luceno (ba2b03846715778dc4305b77af5aa439e43dac11), Ismael Luceno, 05/24/2021

Archive powered by MHonArc 2.6.24.

Top of Page