<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/technical/api-diff.txt, branch gitk-resize-error</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=gitk-resize-error</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=gitk-resize-error'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2019-11-18T06:21:28Z</updated>
<entry>
<title>diff: move doc to diff.h and diffcore.h</title>
<updated>2019-11-18T06:21:28Z</updated>
<author>
<name>Heba Waly</name>
<email>heba.waly@gmail.com</email>
</author>
<published>2019-11-17T21:04:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=13c4d7eb228ea29dba77f8800daf2bd0ac54755a'/>
<id>urn:sha1:13c4d7eb228ea29dba77f8800daf2bd0ac54755a</id>
<content type='text'>
Move the documentation from Documentation/technical/api-diff.txt to both
diff.h and diffcore.h as it's easier for the developers to find the usage
information beside the code instead of looking for it in another doc file.

Also documentation/technical/api-diff.txt is removed because the information
it has is now redundant and it'll be hard to keep it up to date and
synchronized with the documentation in the header files.

There are three members documented in the doc file that weren't found in
the header files, assuming the doc wasn't up to date and the members
no longer exist:
touched_flags, COLOR_DIFF_WORDS and QUIET.

Signed-off-by: Heba Waly &lt;heba.waly@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff.c: remove implicit dependency on the_index</title>
<updated>2018-09-21T16:48:10Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-09-21T15:57:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e675765235001c382ba30d336bb69618296c012b'/>
<id>urn:sha1:e675765235001c382ba30d336bb69618296c012b</id>
<content type='text'>
A new variant repo_diff_setup() is added that takes 'struct repository *'
and diff_setup() becomes a thin macro around it that is protected by
NO_THE_REPOSITORY_COMPATIBILITY_MACROS, similar to NO_THE_INDEX_....
The plan is these macros will always be defined for all library files
and the macros are only accessible in builtin/

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff_opt: track whether flags have been set explicitly</title>
<updated>2013-05-10T17:24:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-05-10T15:10:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=6c374008b1a4e3b66469168aace47003e9771e2d'/>
<id>urn:sha1:6c374008b1a4e3b66469168aace47003e9771e2d</id>
<content type='text'>
The diff_opt infrastructure sets flags based on defaults and command
line options.  It is impossible to tell whether a flag has been set
as a default or on explicit request.  Update the structure so that
this detection is possible:

 * Add an extra "opt-&gt;touched_flags" that keeps track of all the
   fields that have been touched by DIFF_OPT_SET and DIFF_OPT_CLR.

 * You may continue setting the default values to the flags, like
   commands in the "log" family do in cmd_log_init_defaults(), but
   after you finished setting the defaults, you clear the
   touched_flags field;

 * And then you let the usual callchain call diff_opt_parse(),
   allowing the opt-&gt;flags be set or unset, while keeping track of
   which bits the user touched;

 * There is an optional callback "opt-&gt;set_default" that is called
   at the very beginning to let you inspect touched_flags and update
   opt-&gt;flags appropriately, before the remainder of the diffcore
   machinery is set up, taking the opt-&gt;flags value into account.

Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation/technical/api-diff.txt: correct name of diff_unmerge()</title>
<updated>2011-05-26T21:50:24Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2011-05-26T20:46:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=7a45c313964e293f45384ca0a2ae1d326c83a061'/>
<id>urn:sha1:7a45c313964e293f45384ca0a2ae1d326c83a061</id>
<content type='text'>
Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Correct name of diff_flush() in API documentation</title>
<updated>2008-02-28T21:35:09Z</updated>
<author>
<name>Daniel Barkalow</name>
<email>barkalow@iabervon.org</email>
</author>
<published>2008-02-28T17:24:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=a6f13ccf2460a7905e223cd40ff06631294a4189'/>
<id>urn:sha1:a6f13ccf2460a7905e223cd40ff06631294a4189</id>
<content type='text'>
Signed-off-by: Daniel Barkalow &lt;barkalow@iabervon.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: typofix</title>
<updated>2008-01-07T22:02:00Z</updated>
<author>
<name>Ralf Wildenhues</name>
<email>Ralf.Wildenhues@gmx.de</email>
</author>
<published>2008-01-07T21:43:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=f1cdcc70dc654a5364871a8712c073a610b6027b'/>
<id>urn:sha1:f1cdcc70dc654a5364871a8712c073a610b6027b</id>
<content type='text'>
Signed-off-by: Ralf Wildenhues &lt;Ralf.Wildenhues@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Start preparing the API documents.</title>
<updated>2007-12-15T06:29:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-11-25T07:48:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=530e741c726a612d78de21957d531dd2215483b4'/>
<id>urn:sha1:530e741c726a612d78de21957d531dd2215483b4</id>
<content type='text'>
Most of them are still stubs, but the procedure to build the HTML
documentation, maintaining the index and installing the end product are
there.

I placed names of people who are likely to know the most about the topic
in the stub files, so that volunteers will know whom to ask questions as
needed.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
