Skip to content

Commit

Permalink
Use 'GED' as debug switch
Browse files Browse the repository at this point in the history
  • Loading branch information
extsoft authored and rultor committed Aug 23, 2017
1 parent 104a0c6 commit f42ae92
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ Homebrew

To find out more [click here](https://github.com/extsoft/homebrew-insight).

For development
---------------
1. clone the repository
2. run `./install.bash dev`

Usage
=====
```bash
Expand All @@ -38,3 +33,16 @@ clone
add
clear-local
```

Development
===========
Installation
---------------
1. clone the repository
2. run `./install.bash dev`

Debug
-----
`export GED=1` to turn on the debug of `git elegant` execution.

`unset GED` to turn off the debug of `git elegant` execution.
2 changes: 1 addition & 1 deletion src/main/git-elegant
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -e
[ "$DEBUG" = "yes" ] && set -x
[ -n "$GED" ] && set -x

BINS=$(dirname "$0")

Expand Down

2 comments on commit f42ae92

@0pdd
Copy link

@0pdd 0pdd commented on f42ae92 Aug 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 6-8bd69a57 discovered in src/main/git-elegant and submitted as #30.

@0pdd
Copy link

@0pdd 0pdd commented on f42ae92 Aug 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 6-228df600 discovered in src/main/git-elegant and submitted as #31.

Please sign in to comment.