mirror of
https://github.com/tj/git-extras.git
synced 2026-09-12 16:36:22 -04:00
optimisation of mkdir
This commit is contained in:
parent
691d640b2d
commit
f30005acfd
|
|
@ -42,7 +42,7 @@ function show_private {
|
|||
|
||||
function add_private {
|
||||
cd "$(git root)"
|
||||
mkdir -p .git/info
|
||||
test -d .git/info || mkdir -p .git/info
|
||||
add_patterns .git/info/exclude "$@"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue