Skip to content

Commit 1e04784

Browse files
committed
fix shebang
1 parent 3b08f89 commit 1e04784

File tree

7 files changed

+14
-6
lines changed

7 files changed

+14
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
git-shlep
22
git-diff-size
3+
git-blam

git-delete-merged-branches

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22

33
git branch --no-color --merged | grep -v "\*" | grep -vE '^master|trunk' \
44
| xargs -n 1 git branch -d

git-dig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#!/bin/bash
2+
13
git log --pretty='format:%C(yellow)%h%Cred%d %Creset%s%Cblue [%cn %C(cyan)%cr]' --decorate --abbrev-commit -G"$1"

git-find

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/bash
12

23
PREFIX=$(git rev-parse --show-prefix)
34
COLOUR=always

git-open

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#!/bin/bash
12
# open all changed files
3+
24
prefix=$(git rev-parse --show-prefix)
3-
${GIT_OPEN:-$EDITOR} $(git status -s --porcelain -uall | cut -c4- | sed "s,${prefix:-ºº},," | tr '\n' ' ')
5+
6+
${GIT_OPEN:-$EDITOR} $(git status -s --porcelain -uall | cut -c4- \
7+
| sed "s,${prefix:-ºº},," | tr '\n' ' ')

git-sort

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
#!/bin/bash
2+
13
git rev-list HEAD --topo-sort -n 100 | grep -f shas.txt
2-
# git log --oneline -300 --format=%h | grep -Ff shas.txt

git-stash-merge

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# git-stash-merge
2-
# ---------------
3-
#
1+
#!/bin/bash
2+
43
# Applies stash on top of local changes - triggers a merge
54
# and allows you to resolve any conflicts.
65

0 commit comments

Comments
 (0)