]> git.phdru.name Git - git-scripts.git/blob - edit-description
1e7605e817e6281e6811afc3d7cc942a1859c54b
[git-scripts.git] / edit-description
1 #! /bin/sh
2
3 g="`git rev-parse --git-dir`" &&
4
5 if [ "`cat $g/description`" = "Unnamed repository; edit this file 'description' to name the repository." ]
6 then
7    exec `git var GIT_EDITOR` "$g"/description < /dev/tty
8 fi