<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git, branch gitgui-0.7.1</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=gitgui-0.7.1</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=gitgui-0.7.1'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2007-05-17T22:10:26Z</updated>
<entry>
<title>git-gui: Gracefully handle bad TCL_PATH at compile time</title>
<updated>2007-05-17T22:10:26Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-17T22:01:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=b9e7efb8b5f7d424466dd1ce61fd20658f60543f'/>
<id>urn:sha1:b9e7efb8b5f7d424466dd1ce61fd20658f60543f</id>
<content type='text'>
Petr Baudis pointed out the main git.git repository's Makefile dies
now if git-gui 0.7.0-rc1 or later is being used and TCL_PATH was not
set to a working tclsh program path.  This breaks people who may have
a working build configuration today and suddenly upgrade to the latest
git release.

The tclIndex is required for git-gui to load its associated lib files,
but using the Tcl auto_load procedure to source only the files we need
is a performance optimization.  We can emulate the auto_load by just
source'ing every file in that directory, assuming we source class.tcl
first to initialize our crude class system.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git gui 0.7.0</title>
<updated>2007-05-10T21:54:45Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-10T21:54:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=d6da71a9d16b8cf27f9d8f90692d3625c849cbc8'/>
<id>urn:sha1:d6da71a9d16b8cf27f9d8f90692d3625c849cbc8</id>
<content type='text'>
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Paperbag fix blame in subdirectory</title>
<updated>2007-05-10T21:53:34Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-09T22:35:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=6b3d8b97cb48bcc6e2ac020312a56e1d9a2828b2'/>
<id>urn:sha1:6b3d8b97cb48bcc6e2ac020312a56e1d9a2828b2</id>
<content type='text'>
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Format author/committer times in ISO format</title>
<updated>2007-05-09T04:48:27Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-09T04:48:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=76486bbefbaeb606f662dadde0ca5dac59a4ec31'/>
<id>urn:sha1:76486bbefbaeb606f662dadde0ca5dac59a4ec31</id>
<content type='text'>
This is a simple change to match what gitk does when it shows
a commit; we format using ISO dates (yyyy-mm-dd HH:MM:SS).

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Cleanup minor nits in blame code</title>
<updated>2007-05-09T04:36:25Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-09T04:36:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0511798f06d3456885682605b54bd3bc378e8fda'/>
<id>urn:sha1:0511798f06d3456885682605b54bd3bc378e8fda</id>
<content type='text'>
We can use [list ...] rather than "", especially when we are talking
about values as then they are properly escaped if necessary.  Small
nit, but probably not a huge deal as the only data being inlined here
is Tk paths.

Some of the lines in the parser code were longer than 80 characters
wide, and they actually were all the same value on the end part of
the line.  Rather than keeping the mess copied-and-pasted around we
can set the last argument into a local variable and reuse it many
times.

The commit display code was also rather difficult to read on an 80
character wide terminal, so I'm moving it all into a double quoted
string that is easier to read.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Generate blame on uncommitted working tree file</title>
<updated>2007-05-09T02:48:47Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-09T02:48:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=a0db0d61fbc447f13cb0aadf01c83eb193b22dc9'/>
<id>urn:sha1:a0db0d61fbc447f13cb0aadf01c83eb193b22dc9</id>
<content type='text'>
If the user doesn't give us a revision parameter to our blame
subcommand then we can generate blame against the working tree
file by passing the file path off to blame with the --contents
argument.  In this case we cannot obtain the contents of the
file from the ODB; instead we must obtain the contents by
reading the working directory file as-is.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Smarter command line parsing for browser, blame</title>
<updated>2007-05-09T02:36:01Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-09T02:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=3e45ee1ef268c73539903f89c737af89034d391f'/>
<id>urn:sha1:3e45ee1ef268c73539903f89c737af89034d391f</id>
<content type='text'>
The browser subcommand now optionally accepts a single revision
argument; if no revision argument is supplied then we use the
current branch as the tree to browse.  This is very common, so
its a nice option.

Our blame subcommand now tries to perform the same assumptions
as the command line git-blame; both the revision and the file
are optional.  We assume the argument is a filename if the file
exists in the working directory, otherwise we assume the argument
is a revision name.  A -- can be supplied between the two to force
parsing, or before the filename to force it to be a filename.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Use prefix if blame is run in a subdirectory</title>
<updated>2007-05-09T01:58:25Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-09T01:58:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c6127856eb318157121b0aeab150c074e9eeb3de'/>
<id>urn:sha1:c6127856eb318157121b0aeab150c074e9eeb3de</id>
<content type='text'>
I think it was Andy Parkins who pointed out that git gui blame HEAD f
does not work if f is in a subdirectory and we are currently running
git-gui within that subdirectory.  This is happening because we did
not take the user's prefix into account when we computed the file
path in the repository.

We now assume the prefix as returned by rev-parse --show-prefix is
valid and we use that during the command line blame subcommand when
we apply the parameters.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Convert blame to the "class" way of doing things</title>
<updated>2007-05-09T01:38:55Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-09T01:33:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=685caf9af672811b45ebeaaa299b8f9fbd743d82'/>
<id>urn:sha1:685caf9af672811b45ebeaaa299b8f9fbd743d82</id>
<content type='text'>
Our blame viewer code has historically been a mess simply
because the data for multiple viewers was all crammed into
a single pair of Tcl arrays.  This made the code hard to
read and even harder to maintain.

Now that we have a slightly better way of tracking the data
for our "meta-widgets" we can make use of it here in the
blame viewer to cleanup the code and make it easier to work
with long term.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Don't attempt to inline array reads in methods</title>
<updated>2007-05-09T01:38:54Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-09T01:31:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=28bf928cf81eec720bc8a31179a0c9cf688d5af3'/>
<id>urn:sha1:28bf928cf81eec720bc8a31179a0c9cf688d5af3</id>
<content type='text'>
If a variable reference to a field is to an array, and it is
the only reference to that field in that method we cannot make
it an inlined [set foo] call as the regexp was converting the
Tcl code wrong.  We were producing "[set foo](x)" for "$foo(x)",
and that isn't valid Tcl when foo is an array.  So we just punt
if the only occurance has a ( after it.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
</feed>
