]>
git.madduck.net Git - code/vcsh.git/blobdiff - vcsh
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
cd "$GIT_WORK_TREE"
git init
git config core.worktree "$GIT_WORK_TREE"
cd "$GIT_WORK_TREE"
git init
git config core.worktree "$GIT_WORK_TREE"
- git config core.excludesfile ".gitignore.d/$REPO_NAME"
- touch "$HOME/.gitignore.d/$REPO_NAME"
- git add "$HOME/.gitignore.d/$REPO_NAME"
+ git config core.excludesfile ".gitignore.d/$VCSH_ REPO_NAME"
+ touch "$HOME/.gitignore.d/$VCSH_ REPO_NAME"
+ git add "$HOME/.gitignore.d/$VCSH_ REPO_NAME"
[ "$file" = "$new" ] && break
file="$new"
done;
[ "$file" = "$new" ] && break
file="$new"
done;
- done | sort -u | sed 's/^/!/' )
tempfile=$(mktemp) ||
(echo "$SELF: fatal: could not create tempfile" && exit 1)
echo '*' > "$tempfile"
for gitignore in $gitignores; do
tempfile=$(mktemp) ||
(echo "$SELF: fatal: could not create tempfile" && exit 1)
echo '*' > "$tempfile"
for gitignore in $gitignores; do
- echo "$gitignore" >> "$tempfile"
+ echo "$gitignore" | sed 's/^/!/' >> "$tempfile"
+ [ -d "$gitignore" ] && echo "$gitignore/*" | sed 's/^/!/'>> "$tempfile"
done
diff -N "$tempfile" "$HOME/.gitignore.d/$VCSH_REPO_NAME" > /dev/null &&
rm -f "$tempfile" &&
done
diff -N "$tempfile" "$HOME/.gitignore.d/$VCSH_REPO_NAME" > /dev/null &&
rm -f "$tempfile" &&