danix
's git repository
home
/
my projects
/
git_shell.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modified create command to ensure a prompt for the project description is displayed
[git_shell.git]
/
create
diff --git
a/create
b/create
index
04d299a
..
f3fa041
100755
(executable)
--- a/
create
+++ b/
create
@@
-23,7
+23,8
@@
function is_bare() {
function git_init() {
PROJECT=$1
echo "creating project \"${PROJECT}.git\""
function git_init() {
PROJECT=$1
echo "creating project \"${PROJECT}.git\""
- read -p "Describe your project in one line: " DESCRIPTION
+ echo -n "Describe your project in one line: "
+ read DESCRIPTION
if [ ! -d ${GITDIR}/${PROJECT}.git ]; then
mkdir ${GITDIR}/${PROJECT}.git
fi
if [ ! -d ${GITDIR}/${PROJECT}.git ]; then
mkdir ${GITDIR}/${PROJECT}.git
fi