Skip to content

Commit 2876854

Browse files
author
adam
committed
handling paths
1 parent 395e837 commit 2876854

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

bin/git-cdup

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
exec git rev-parse --show-cdup "$@"

bin/git-prefix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
exec git rev-parse --show-prefix "$@"

bin/git-root

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
exec dirname `git rev-parse --git-dir` "$@"

0 commit comments

Comments
 (0)