mirror of
https://git.ludikovsky.name/git/fugitive.git
synced 2024-10-05 15:35:29 +02:00
11 lines
332 B
Bash
11 lines
332 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
blog_url=`git config --get fugitive.blog-url`
|
||
|
if [ "$blog_url" = "" ]; then
|
||
|
echo -n "[fugitive] ERROR: git config fugitive.blog-url is empty and" >&2
|
||
|
echo -n " should not be, please set it with " >&2
|
||
|
echo -n '`git config fugitive.blog-url "<url>"` ' >&2
|
||
|
echo "on the remote repository, aborting." >&2
|
||
|
exit 1
|
||
|
fi
|