basepi / libgit2

The Library
http://libgit2.github.com
Other
0 stars 0 forks source link

Flags variable is getting passed in uninitialized (full 'o garbage) #37

Open hausdorf opened 13 years ago

hausdorf commented 13 years ago

PROBLEM: We're sending in a flags parameter as part of the diff query. Normally, it's the job of a set of helper function (e.g. the hypothetical function print_std_out()) to create a git_diffresults_conf struct that configures the result of the diff -- whether we are printing it or merging it, etc. This does not exist yet, and so the flags param is not set, and thus it tends to be full of garbage.