=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== gita-0.11.9/.gita-completion.zsh-18- #gita_path=${XDG_CONFIG_HOME:-$HOME/.config}/gita/repo_path gita-0.11.9/.gita-completion.zsh:19: #repos=`awk '{split($0, paths, ":")} END {for (i in paths) {n=split(paths[i],b, /\//); print b[n]}}' ${gita_path}` gita-0.11.9/.gita-completion.zsh-20- gita-0.11.9/.gita-completion.zsh:21: # FIXME(Steve-Xyh): the secondary auto-completion(such as `$repos`) contains first commands / 二级补全候选项中包含一级补全中的 `$commands` gita-0.11.9/.gita-completion.zsh-22- # XXX(Steve-Xyh): the auto-completion is currently case-sensitive / 当前的补全区分大小写, 应该改成大小写不敏感 ############################################## gita-0.11.9/.gita-completion.bash-15- #gita_path=${XDG_CONFIG_HOME:-$HOME/.config}/gita/repo_path gita-0.11.9/.gita-completion.bash:16: #repos=`awk '{split($0, paths, ":")} END {for (i in paths) {n=split(paths[i],b, /\//); print b[n]}}' ${gita_path}` gita-0.11.9/.gita-completion.bash-17- ############################################## gita-0.11.9/README.md-101- gita-0.11.9/README.md:102:Repo paths are saved in `$XDG_CONFIG_HOME/gita/repo_path` (most likely `~/.config/gita/repo_path`). gita-0.11.9/README.md-103- ############################################## gita-0.11.9/README.md-155- gita-0.11.9/README.md:156:Custom delegating sub-commands can be defined in `$XDG_CONFIG_HOME/gita/cmds.yml` gita-0.11.9/README.md-157-(most likely `~/.config/gita/cmds.yml`). ############################################## gita-0.11.9/README.md-191-The used and unused information items are shown with `gita info` and one can gita-0.11.9/README.md:192:create `$XDG_CONFIG_HOME/gita/info.yml` to customize it. gita-0.11.9/README.md-193-(I am thinking of hiding all these details from user at the moment, which means ############################################## gita-0.11.9/README.md-203-To create your own information items, define a dictionary called `extra_info_items` gita-0.11.9/README.md:204:in `$XDG_CONFIG_HOME/gita/extra_repo_info.py`. It should map strings to functions, gita-0.11.9/README.md-205-where the strings are the information item names and the functions take repo path ############################################## gita-0.11.9/README.md-215-If it works, you will see these extra items in the 'Unused' section of the gita-0.11.9/README.md:216:`gita info` output. To use them, edit `$XDG_CONFIG_HOME/gita/extra_repo_info.py`. gita-0.11.9/README.md-217- ############################################## gita-0.11.9/doc/README_CN.md-67- gita-0.11.9/doc/README_CN.md:68:库的路径存在`$XDG_CONFIG_HOME/gita/repo_path` (多半是`~/.config/gita/repo_path`)。 gita-0.11.9/doc/README_CN.md-69- ############################################## gita-0.11.9/doc/README_CN.md-123- gita-0.11.9/doc/README_CN.md:124:定制的代理子命令要放在`$XDG_CONFIG_HOME/gita/cmds.yml` (多半是`~/.config/gita/cmds.yml`)。 gita-0.11.9/doc/README_CN.md-125-如果存在命名冲突,它们会覆盖掉默认的指令。 ############################################## gita-0.11.9/doc/README_CN.md-152-另一个自定义功能是针对`gita ll`展示的信息项。 gita-0.11.9/doc/README_CN.md:153:`gita info`可以展示所有用到的和没用到的信息项,并且可以通过修改`$XDG_CONFIG_HOME/gita/info.yml`支持自定义。举个栗子,默认的信息项显示配置相当于是: gita-0.11.9/doc/README_CN.md-154- ############################################## gita-0.11.9/doc/README_CN.md-159-为了创建自己的信息项,命名一个目录为`extra_info_items`。 gita-0.11.9/doc/README_CN.md:160:在`$XDG_CONFIG_HOME/gita/extra_repo_info.py`中,要把信息项的名字作为字符串映射到方法中,该方法将库的路径作为输入参数。举个栗子: gita-0.11.9/doc/README_CN.md-161- ############################################## gita-0.11.9/doc/design.md-73-| ------------------------------------------------------------------------------ | ------------------------------------------- | --------------------------------------- | gita-0.11.9/doc/design.md:74:| repo name and path | `get_repos() -> Dict[str, str]` | parse `$XDG_CONFIG_HOME/gita/repo_path` | gita-0.11.9/doc/design.md-75-| branch name | `get_head(path: str) -> str` | parse `.git/HEAD` |