Commit graph

9 commits

Author SHA1 Message Date
Edwin Kofler 3ddc315a76
Format comparisons, functions, and redirections to be consistent (#1201)
* Format comparisons and functions to be consistent

* Add `checkstyle.py` script and add check to CI

* Fix Ruff lints
2025-06-06 11:10:50 +08:00
John Evans 555282985d Add -m flag to git-setup to set the initial commit message. 2016-03-03 01:12:19 -05:00
Jianjin Fan 6df9673936 Allow empty initial commit when setup repo.
When hit `git setup` in an empty directory, it doesn't create a commit. But often we need an empty initial commit for future rebasing and reseting, etc. Fixes #318.
2015-02-20 12:25:25 +08:00
hemanth.hm 7b7913fab1 More portable she-bangs. 2014-11-30 17:47:26 +05:30
Adam Parkin 2b6e35d5eb Address issue #190, git-setup should test for existing .git in target directory
- now exits with an error message if the target directory already has a .git directory
2013-10-01 13:26:55 -07:00
Jonhnny Weslley b8023be66a git-setup: create a directory if the provided one does not exist yet. Additionally, enables the creation of directories with names containing spaces in a more fashion way. Example: 'git setup path/to/repo name'.
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
2011-05-19 14:26:47 -07:00
Tj Holowaychuk 1b5d9890f9 git-setup argument is now optional, defaulting to the CWD 2010-09-14 14:52:41 -07:00
Aggelos Orfanakos 488a15de7a Use test -d for a more compatible directory check 2010-09-02 20:06:08 +03:00
Aggelos Orfanakos 9a1fcf98e9 Add git-setup 2010-09-02 08:31:57 +03:00