Enumeration

GgitDiffOption

Declaration

flags Ggit.DiffOption

Description [src]

How the diff should be generated.

Members

GGIT_DIFF_NORMAL

Normal.

  • Value: 0
  • Available since: 1.0
GGIT_DIFF_REVERSE

Reverse the sides of the diff.

  • Value: 1
  • Available since: 1.0
GGIT_DIFF_INCLUDE_IGNORED

Include ignored files.

  • Value: 2
  • Available since: 1.0
GGIT_DIFF_RECURSE_IGNORED_DIRS

Also add all files under ignored dirs.

  • Value: 4
  • Available since: 1.0
GGIT_DIFF_INCLUDE_UNTRACKED

Include untracked files.

  • Value: 8
  • Available since: 1.0
GGIT_DIFF_RECURSE_UNTRACKED_DIRS

Recurse to untracked directories.

  • Value: 16
  • Available since: 1.0
GGIT_DIFF_INCLUDE_UNMODIFIED

Include unmodified files.

  • Value: 32
  • Available since: 1.0
GGIT_DIFF_INCLUDE_TYPECHANGE

Enable generation of typechange detal records.

  • Value: 64
  • Available since: 1.0
GGIT_DIFF_INCLUDE_TYPECHANGE_TREES

Try to label tree transitions as type changes.

  • Value: 128
  • Available since: 1.0
GGIT_DIFF_IGNORE_FILE_MODE

Ignore file mode changes.

  • Value: 256
  • Available since: 1.0
GGIT_DIFF_IGNORE_SUBMODULES

Ignore submodules.

  • Value: 512
  • Available since: 1.0
GGIT_DIFF_IGNORE_CASE

Use case insensitive filename comparison.

  • Value: 1024
  • Available since: 1.0
GGIT_DIFF_DISABLE_PATHSPEC_MATCH

Use exact path matching.

  • Value: 4096
  • Available since: 1.0
GGIT_DIFF_SKIP_BINARY_CHECK

Disable updating the binary flag in delta records.

  • Value: 8192
  • Available since: 1.0
GGIT_DIFF_ENABLE_FAST_UNTRACKED_DIRS

Immediately label untracked directories as untracked, without checking inside.

  • Value: 16384
  • Available since: 1.0
GGIT_DIFF_FORCE_TEXT

Force text.

  • Value: 1048576
  • Available since: 1.0
GGIT_DIFF_FORCE_BINARY

Treat all files as binary, disabling text diffs.

  • Value: 2097152
  • Available since: 1.0
GGIT_DIFF_IGNORE_WHITESPACE

Ignore whitespace.

  • Value: 4194304
  • Available since: 1.0
GGIT_DIFF_IGNORE_WHITESPACE_CHANGE

Ignore whitespace change.

  • Value: 8388608
  • Available since: 1.0
GGIT_DIFF_IGNORE_WHITESPACE_EOL

Ignore whitespace at end-of-line.

  • Value: 16777216
  • Available since: 1.0
GGIT_DIFF_SHOW_UNTRACKED_CONTENT

Include content of untracked files. this implies GGIT_DIFF_INCLUDE_UNTRACKED but not GGIT_DIFF_RECURSE_UNTRACKED_DIRS.

  • Value: 33554432
  • Available since: 1.0
GGIT_DIFF_SHOW_UNMODIFIED

Show unmodified files.

  • Value: 67108864
  • Available since: 1.0
GGIT_DIFF_PATIENCE

Generate using the “patience diff” algorithm.

  • Value: 268435456
  • Available since: 1.0
GGIT_DIFF_MINIMAL

Take extra time to find minimal diff.

  • Value: 536870912
  • Available since: 1.0
GGIT_DIFF_SHOW_BINARY

Include deflate/delta information for binary files.

  • Value: 1073741824
  • Available since: 1.0