|
3 | 3 | Two-column web-based git difftool. |
4 | 4 |
|
5 | 5 | <p align="center"> |
6 | | - <a href="https://pypi.org/project/webdiff/" target="_blank"> |
7 | | - <img alt="PyPI - Version" src="https://img.shields.io/pypi/v/webdiff"> |
8 | | - </a> |
9 | | - <a href="https://dl.circleci.com/status-badge/redirect/gh/danvk/webdiff/tree/master" target="_blank"> |
10 | | - <img alt="CircleCI 📝" src="https://dl.circleci.com/status-badge/img/gh/danvk/webdiff/tree/master.svg?style=svg"> |
11 | | - </a> |
12 | | - <a href="https://github.com/danvk/webdiff/blob/master/LICENSE" target="_blank"> |
13 | | - <img alt="License: Apache2 📝" src="https://img.shields.io/github/license/danvk/webdiff"> |
14 | | - </a> |
15 | | - <a href="https://github.com/sponsors/danvk" target="_blank"> |
16 | | - <img alt="Sponsor: On GitHub 💸" src="https://img.shields.io/badge/sponsor-on_github_💸-21bb42.svg" /> |
17 | | - </a> |
| 6 | + <a href="https://pypi.org/project/webdiff/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/webdiff" /></a> |
| 7 | + <a href="https://dl.circleci.com/status-badge/redirect/gh/danvk/webdiff/tree/master" target="_blank"><img alt="CircleCI 📝" src="https://dl.circleci.com/status-badge/img/gh/danvk/webdiff/tree/master.svg?style=svg" /></a> |
| 8 | + <a href="https://github.com/danvk/webdiff/blob/master/LICENSE" target="_blank"><img alt="License: Apache2 📝" src="https://img.shields.io/github/license/danvk/webdiff" /></a> |
| 9 | + <a href="https://github.com/sponsors/danvk" target="_blank"><img alt="Sponsor: On GitHub 💸" src="https://img.shields.io/badge/sponsor-on_github_💸-21bb42.svg" /></a> |
18 | 10 | </p> |
19 | 11 |
|
20 | 12 | Features include: |
@@ -90,7 +82,8 @@ Options are: |
90 | 82 | | Setting | Default | Notes | |
91 | 83 | | -------------- | ------------- | ------ | |
92 | 84 | | webdiff.theme | googlecode | Syntax highlighting theme (see [themes] directory). | |
93 | | -| webdiff.port | -1 | Port on which to serve webdiff. Default is random open port. This can be overridden with `--port`. | |
| 85 | +| webdiff.port | -1 | Port on which to serve webdiff. Default is random open port. This can be overridden with the `--port` command line flag or the `WEBDIFF_PORT` environment variable. | |
| 86 | +| webdiff.host | localhost | Host name on which to serve the webdiff UI. Use `0.0.0.0` to serve publicly. The special value `<hostname>` uses your computer's network name. This can be overridden with the `--host` command line flag or the `WEBDIFF_HOST` environment variable. | |
94 | 87 | | webdiff.maxDiffWidth | 100 | Maximum length of lines in the diff display. After this width, lines will wrap. | |
95 | 88 | | webdiff.unified | 8 | Lines of context to display by default (`git diff -U`) | |
96 | 89 | | webdiff.extraDirDiffArgs | "" | Any extra arguments to pass to `git diff` when diffing directories. | |
|
0 commit comments