4bc94d2 | Junio C Hamano | 19 February 2007, 00:18:43 UTC | GIT 1.5.0.1 Signed-off-by: Junio C Hamano <junkio@cox.net> | 19 February 2007, 00:18:43 UTC |
38eb932 | Fredrik Kuivinen | 18 February 2007, 09:36:51 UTC | Documentation/i18n.txt: it is i18n.commitencoding not core.commitencoding Similarly for i18n.logoutputencoding. Signed-off-by: Fredrik Kuivinen <frekui@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net> | 18 February 2007, 23:58:20 UTC |
256c3fe | Fredrik Kuivinen | 18 February 2007, 09:36:22 UTC | Read the config in rev-list Otherwise "git rev-list --header HEAD" will not do the right thing if i18n.commitencoding is set. Signed-off-by: Fredrik Kuivinen <frekui@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net> | 18 February 2007, 23:58:08 UTC |
21b4875 | Junio C Hamano | 17 February 2007, 23:47:46 UTC | Update draft release notes for 1.5.0.1 Signed-off-by: Junio C Hamano <junkio@cox.net> | 18 February 2007, 00:15:22 UTC |
460ca30 | Junio C Hamano | 18 February 2007, 00:13:08 UTC | Merge git://git.kernel.org/pub/scm/gitk/gitk into maint * git://git.kernel.org/pub/scm/gitk/gitk: Make gitk save and restore window pane position on Linux and Cygwin. Make gitk save and restore the user set window position. [PATCH] gitk: Use show-ref instead of ls-remote [PATCH] Make gitk work reasonably well on Cygwin. [PATCH] gitk - remove trailing whitespace from a few lines. Change git repo-config to git config | 18 February 2007, 00:13:17 UTC |
d7f078b | Shawn O. Pearce | 17 February 2007, 09:43:42 UTC | Convert update-index references in docs to add. Since `git add` is the approved porcelain for an end-user to invoke when they want to manipulate the index, porcelain documentation should steer the user to this command rather than the pure plumbing update-index. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 17 February 2007, 18:20:27 UTC |
5ca2db5 | Shawn O. Pearce | 17 February 2007, 09:31:50 UTC | Attempt to improve git-rebase lead-in description. It was mentioned on #git this morning that the lead-in description of git-rebase is very confusing. Too many branch this and branch that in a very short run of text. This new description attempts to walk the user through the command syntax, while also describing exactly what git-rebase is doing to their repository. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 17 February 2007, 18:08:21 UTC |
185c975 | Junio C Hamano | 17 February 2007, 06:43:48 UTC | Do not take mode bits from index after type change. When we do not trust executable bit from lstat(2), we copied existing ce_mode bits without checking if the filesystem object is a regular file (which is the only thing we apply the "trust executable bit" business) nor if the blob in the index is a regular file (otherwise, we should do the same as registering a new regular file, which is to default non-executable). Noticed by Johannes Sixt. Signed-off-by: Junio C Hamano <junkio@cox.net> | 17 February 2007, 06:56:06 UTC |
f442132 | Tommi Kyntola | 16 February 2007, 08:50:58 UTC | git-blame: prevent argument parsing segfault The 3rd branch in builtin-blame.c should also check for lacking arguments. Running that in top dir does not trigger the problem because the 'prefix' is NULL. Signed-off-by: Tommi Kyntola <tommi.kyntola@ray.fi> Signed-off-by: Junio C Hamano <junkio@cox.net> | 17 February 2007, 05:39:21 UTC |
de6f0de | Junio C Hamano | 16 February 2007, 23:08:25 UTC | git-merge: minor fix for no_trivial_merge_strategies. The shell loop to determine if we should skip the trivial in-index merge stage based on what strategy is given was not prepared to have more than one strategy listed in the variable $no_trivial_merge_strategies. This does not trigger unless you use a modified git but the fix is simple and straightforward, so let's fix it before 1.5.0.1. Signed-off-by: Junio C Hamano <junkio@cox.net> | 16 February 2007, 23:08:25 UTC |
efa13f7 | Junio C Hamano | 16 February 2007, 01:02:06 UTC | pretend-sha1: grave bugfix. We stashed away objects that we pretend to have, but did not save the actual data. Signed-off-by: Junio C Hamano <junkio@cox.net> | 16 February 2007, 01:03:11 UTC |
204d409 | Junio C Hamano | 14 February 2007, 19:33:04 UTC | GIT-VERSION-FILE: check ./version first. When somebody else extracts git tarball inside a larger project, 'git describe' would reported the version number of that upper level project. Sometimes, using the consistent versioning across subdirectories of a larger project is useful, but it may not always be the right thing to do. This changes the script to check ./vertion file first, and then fall back to "git describe". This way, by default, tarball distribution will get our own version. If the upper level wants to use consistent versioning across its subdirectories, its Makefile can overwrite ./version file to force whatever version number they want to give us before descending into us. Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 23:25:27 UTC |
78a28df | Alexandre Julliard | 14 February 2007, 17:11:40 UTC | sha1_file.c: Round the mmap offset to half the window size. This ensures that a given area is mapped at most twice, and greatly reduces the virtual address space usage. Signed-off-by: Alexandre Julliard <julliard@winehq.org> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 23:22:08 UTC |
9ca72f4 | Mark Levedahl | 13 February 2007, 00:19:34 UTC | Make gitk save and restore window pane position on Linux and Cygwin. Subtle bugs remained on both Cygwin and Linux that caused the various window panes to be restored in positions different than where the user last placed them. Sergey Vlasov posed a pair of suggested fixes to this, what is done here is slightly different. The basic fix here involves a) explicitly remembering and restoring the sash positions for the upper window, and b) using paneconfigure to redundantly set height and width of other elements. This redundancy is needed as Cygwin Tcl has a nasty habit of setting pane sizes to zero if their slaves are not configured with a specific size, but Linux Tcl does not honor the specific size given. Signed-off-by: Mark Levedahl <mdl123@verizon.net> Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 22:13:14 UTC |
b6047c5 | Mark Levedahl | 09 February 2007, 03:22:24 UTC | Make gitk save and restore the user set window position. gitk was saving widget sizes and positions when the main window was destroyed, which is after all child widgets are destroyed. The cure is to trap the WM_DELETE_WINDOW event before the gui is torn down. Also, the saved geometry was captured using "winfo geometry .", rather than "wm geometry ." Under Linux, these two return different answers and the latter one is correct. [jc: credit goes to Brett Schwarz for suggesting the use of "wm protocol"; I also squashed the follow-up patch to remove extraneous -0 from expressions.] Signed-off-by: Mark Levedahl <mdl123@verizon.net> Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 22:12:53 UTC |
7426eb7 | Junio C Hamano | 30 January 2007, 05:53:28 UTC | [PATCH] gitk: Use show-ref instead of ls-remote It used to be ls-remote on self was the only easy way to grab the ref information. Now we have show-ref which does not involve fork and IPC, so use it. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Paul Mackerras <paulus@samba.org> | 14 February 2007, 22:01:59 UTC |
e9937d2 | Junio C Hamano | 01 February 2007, 13:46:38 UTC | [PATCH] Make gitk work reasonably well on Cygwin. The gitk gui layout was completely broken on Cygwin. If gitk was started without previous geometry in ~/.gitk, the user could drag the window sashes to get a useable layout. However, if ~/.gitk existed, this was not possible at all. The fix was to rewrite makewindow, changing the toplevel containers and the particular geometry information saved between sessions. Numerous bugs in both the Cygwin and the Linux Tk versions make this a delicate balancing act: the version here works in both but many subtle variants are competely broken in one or the other environment. Three user visible changes result: 1 - The viewer is fully functional under Cygwin. 2 - The search bar moves from the bottom to the top of the lower left pane. This was necessary to get around a layout problem on Cygwin. 3 - The window size and position is saved and restored between sessions. Again, this is necessary to get around a layout problem on Cygwin. Signed-off-by: Mark Levedahl <mdl123@verizon.net> Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Paul Mackerras <paulus@samba.org> | 14 February 2007, 21:57:14 UTC |
40b87ff | Mark Levedahl | 01 February 2007, 13:44:46 UTC | [PATCH] gitk - remove trailing whitespace from a few lines. Signed-off-by: Mark Levedahl <mdl123@verizon.net> Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Paul Mackerras <paulus@samba.org> | 14 February 2007, 21:57:14 UTC |
27cb61c | Paul Mackerras | 14 February 2007, 21:54:34 UTC | Change git repo-config to git config This is the gitk part of e0d10e1c63bc52b37bbec99b07deee794058d9b4 from Tom Prince. Signed-off-by: Paul Mackerras <paulus@samba.org> | 14 February 2007, 21:54:34 UTC |
5faaf24 | Junio C Hamano | 14 February 2007, 21:20:41 UTC | Make sure packedgitwindowsize is multiple of (pagesize * 2) The next patch depends on this. Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 21:20:41 UTC |
bd07326 | Junio C Hamano | 14 February 2007, 19:01:41 UTC | Add RelNotes 1.5.0.1 In the same spirit as commit 6fc66686, let's keep notes as we fix things. Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 19:05:11 UTC |
37b73cf | Junio C Hamano | 14 February 2007, 18:54:25 UTC | Still updating 1.5.0 release notes. In cruft removal section we had a cruft we needed to remove. Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 18:55:24 UTC |
2027688 | Alexandre Julliard | 14 February 2007, 17:10:26 UTC | git-daemon: Avoid leaking the listening sockets into child processes. This makes it possible to restart git-daemon even if some children are still running. Signed-off-by: Alexandre Julliard <julliard@winehq.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 18:25:41 UTC |
958545c | Junio C Hamano | 14 February 2007, 09:50:28 UTC | Clarify two backward incompatible repository options. It was unclear if the backward compatible features were disabled or the configuration variables that controls them were set to false by default from the description. Obviously we meant the former, but the problem was made worse by the fact that one configuration variable breaks compatibility when set to true and the other one breaks it when set to false. Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 09:50:28 UTC |
4b02c52 | Junio C Hamano | 14 February 2007, 06:45:22 UTC | Makefile: update check-docs target Old aliases are not linked to the main command list. Also the internal git-add--interactive does not need to be on the list. Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 06:45:22 UTC |
727d38d | Junio C Hamano | 14 February 2007, 06:42:51 UTC | cmd-list: add git-remote Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 06:42:51 UTC |
7a33631 | Junio C Hamano | 14 February 2007, 06:32:36 UTC | Documentation: Drop full-stop from git-fast-import title. Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 06:32:36 UTC |
a989a5e | Nicolas Pitre | 14 February 2007, 03:25:08 UTC | Minor corrections to release notes Update section about warning when leaving a detached head. Also fix a few indentations that weren't like the rest of the file. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 14 February 2007, 04:58:56 UTC |
437b1b2 | Junio C Hamano | 14 February 2007, 00:00:00 UTC | GIT 1.5.0 | 14 February 2007, 00:00:00 UTC |
26cfcfb | Junio C Hamano | 13 February 2007, 23:15:05 UTC | Add release notes to the distribution. This also adds a hook in the Makefile I can use to automatically include pointers to documentation for older releases when updating the pages at http://kernel.org/pub/software/scm/git/docs/. Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 23:15:05 UTC |
ea44949 | Junio C Hamano | 13 February 2007, 21:48:52 UTC | Merge branch 'master' of git://repo.or.cz/git-gui * 'master' of git://repo.or.cz/git-gui: git-gui: fix typo in GIT-VERSION-GEN, "/dev/null" not "/devnull" | 13 February 2007, 21:48:52 UTC |
cec8d14 | Junio C Hamano | 13 February 2007, 16:58:01 UTC | Documentation: Moving out of detached HEAD does not warn anymore. The documentation still talked about the unnecessary 'safety' in git-checkout. Pointed out by Matthias Lederhofer. Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 18:12:37 UTC |
bd3a5b5 | Linus Torvalds | 13 February 2007, 17:23:59 UTC | Mark places that need blob munging later for CRLF conversion. Here's a patch that I think we can merge right now. There may be other places that need this, but this at least points out the three places that read/write working tree files for git update-index, checkout and diff respectively. That should cover a lot of it [jc: git-apply uses an entirely different codepath both for reading and writing]. Some day we can actually implement it. In the meantime, this points out a place for people to start. We *can* even start with a really simple "we do CRLF conversion automatically, regardless of filename" kind of approach, that just look at the data (all three cases have the _full_ file data already in memory) and says "ok, this is text, so let's convert to/from DOS format directly". THAT somebody can write in ten minutes, and it would already make git much nicer on a DOS/Windows platform, I suspect. And it would be totally zero-cost if you just make it a config option (but please make it dynamic with the _default_ just being 0/1 depending on whether it's UNIX/Windows, just so that UNIX people can _test_ it easily). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 18:12:37 UTC |
e19b91b | Nicolas Pitre | 13 February 2007, 16:39:01 UTC | Update RPM core package description Git isn't as stupid as it used to be Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 18:12:37 UTC |
72f627d | Andy Parkins | 13 February 2007, 14:23:58 UTC | Fix potential command line overflow in hooks--update In a repository with a large number of refs, the following command line could easily overflow the command line size limitations git-rev-list $newref $(git-rev-parse --not --all) Fortunately, git-rev-list already has the means to cope with this situation with the --stdin switch git-rev-parse --not --all | git-rev-list --stdin $newref Which is exactly what this patch does. Signed-off-by: Andy Parkins <andyparkins@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 17:33:09 UTC |
c2120e5 | Johannes Schindelin | 13 February 2007, 13:01:42 UTC | git-gc: run pack-refs by default unless the repo is bare The config variable gc.packrefs is tristate now: "true", "false" and "notbare", where "notbare" is the default. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 17:19:34 UTC |
022fef3 | Andy Parkins | 13 February 2007, 15:26:16 UTC | git-gui: fix typo in GIT-VERSION-GEN, "/dev/null" not "/devnull" Signed-off-by: Andy Parkins <andyparkins@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 13 February 2007, 15:35:58 UTC |
85b1f98 | Junio C Hamano | 11 February 2007, 21:41:23 UTC | "git-fetch --tags $URL" should not overwrite existing tags Use the same --exclude-existing filter as we use for automatic tag following to avoid overwriting existing tags with replacement ones the other side created. Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 07:31:00 UTC |
acb39f6 | Junio C Hamano | 13 February 2007, 07:21:34 UTC | for-each-reflog: not having $GIT_DIR/logs directory is not an error. Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 07:22:07 UTC |
25b51e2 | Junio C Hamano | 13 February 2007, 07:06:54 UTC | Do not forget to pack objects reachable from HEAD reflog. Similar to commit eb8381c8, we need to use for_each_reflog() to make sure we do not miss objects reachable from HEAD reflog. Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 07:06:54 UTC |
7b3fab8 | Michael Spang | 13 February 2007, 00:33:37 UTC | Work around Subversion race in git-svn tests. Some of the git-svn tests can fail on fast machines due to a race in Subversion: if a file is modified in the same second it was checked out (or in for that matter), Subversion will not consider it modified. This works around the problem by increasing the timestamp by one second before each commit. [jc: with "touch -r -d" replacement from Eric] Acked-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Michael Spang <mspang@uwaterloo.ca> Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 06:17:04 UTC |
ccf5aa8 | Pavel Roskin | 13 February 2007, 05:43:44 UTC | Clarify that git-update-server-info should be run for every git-push The old text suggested that git-update-server-info only needs to be run if new tags or branches are created, but not for new commits. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 06:00:45 UTC |
07fef5f | Aneesh Kumar K.V | 12 February 2007, 17:30:28 UTC | blameview: Move the commit info to a pane below the blame window. Also spawn the the new blameview in the background Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 03:20:08 UTC |
1e8b0d4 | Matthias Lederhofer | 05 February 2007, 11:37:27 UTC | git merge documentation: -m is optional Changed -m=<msg> to -m <msg> too. Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 03:19:45 UTC |
2055f3b | Mark Levedahl | 13 February 2007, 00:19:34 UTC | Make gitk save and restore window pane position on Linux and Cygwin. Subtle bugs remained on both Cygwin and Linux that caused the various window panes to be restored in positions different than where the user last placed them. Sergey Vlasov posed a pair of suggested fixes to this, what is done here is slightly different. The basic fix here involves a) explicitly remembering and restoring the sash positions for the upper window, and b) using paneconfigure to redundantly set height and width of other elements. This redundancy is needed as Cygwin Tcl has a nasty habit of setting pane sizes to zero if their slaves are not configured with a specific size, but Linux Tcl does not honor the specific size given. Signed-off-by: Mark Levedahl <mdl123@verizon.net> Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 00:40:25 UTC |
9236053 | Junio C Hamano | 13 February 2007, 00:28:15 UTC | Add RPM target for git-gui Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 00:32:04 UTC |
d647c2e | Shawn O. Pearce | 12 February 2007, 23:20:34 UTC | Link git-gui into the master Makefile. I'm exporting gitexecdir because git-gui wants to know where it should install git-gui and git-citool. These belong under gitexecdir, just like git-diff, as the git wrapper is able to invoke these commands for the end-user. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 13 February 2007, 00:18:12 UTC |
67c7575 | Junio C Hamano | 13 February 2007, 00:07:29 UTC | Merge branch 'master' of git://repo.or.cz/git-gui * 'master' of git://repo.or.cz/git-gui: git-gui: Change base version to 0.6. git-gui: Guess our version accurately as a subproject. git-gui: Handle gitgui tags in version gen. git-gui: Generate a version file on demand. git-gui: Rename GIT_VERSION to GITGUI_VERSION. git-gui: Allow gitexecdir, INSTALL to be set by the caller. | 13 February 2007, 00:07:29 UTC |
fdf6cfc | Shawn O. Pearce | 12 February 2007, 22:45:21 UTC | git-gui: Change base version to 0.6. This is the start of the 0.6 series of git-gui. I'm calling it 0.6 (rather than any other value) as I already had a private tag on one system based on 0.5, and that tag is quite a bit behind this version. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 22:45:21 UTC |
07d082b | Shawn O. Pearce | 12 February 2007, 22:05:10 UTC | git-gui: Guess our version accurately as a subproject. When we are included as a subproject, such as how git.git carries us, we want to retain our own version number and not the version number assigned by git.git's own tags. Consequently we need to locate the correct tag which applies to our tree content and its commit lineage. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 22:05:10 UTC |
6a6459b | Shawn O. Pearce | 12 February 2007, 21:38:29 UTC | git-gui: Handle gitgui tags in version gen. I've decided to use gitgui-0.5 as the format for tags in the git-gui repository. The prefix of gitgui was chosen here to make its namespace different from the namespace used by git itself, allowing developers to pull both tag namespaces into the same repository. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 21:38:29 UTC |
5d643cd | Shawn O. Pearce | 12 February 2007, 21:14:44 UTC | git-gui: Generate a version file on demand. Because git-gui is being shipped as a subproject of the main Git project and will often have a different lifecycle than the main Git project, we should ship our own version number in the release tarball rather than relying on the main Git version file. Git's master Makefile will invoke our own with the target dist-version, asking us to save off our GITGUI_VERSION value into our own version file, so that our GIT-VERSION-GEN script can recover it at build time. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 21:14:44 UTC |
7e81d4e | Shawn O. Pearce | 12 February 2007, 21:12:04 UTC | git-gui: Rename GIT_VERSION to GITGUI_VERSION. Now that the decision has been made to treat git-gui as a subproject, rather than merging it directly into git, we should use a different substitution for our version value to avoid any possible confusion. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 21:12:04 UTC |
663e7cf | Shawn O. Pearce | 12 February 2007, 20:37:50 UTC | git-gui: Allow gitexecdir, INSTALL to be set by the caller. When used as a subproject within git.git our Makefile must honor the gitexecdir which git.git's Makefile is passing down to us, ensuring that we install our executables into the libexec chosen by the end-user or packager. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 20:37:50 UTC |
d63ea11 | Michael Loeffler | 12 February 2007, 14:17:11 UTC | import-tars: brown paper bag fix for file mode. There is a bug with this $git_mode variable which should be 0644 or 0755, but nothing else I think. Signed-off-by: Michael Loeffler <zvpunry@zvpunry.de> Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 17:19:45 UTC |
ea5e370 | Shawn O. Pearce | 12 February 2007, 09:08:43 UTC | fast-import: Support reusing 'from' and brown paper bag fix reset. It was suggested on the mailing list that being able to use `from` in any commit to reset the current branch is useful in some types of importers, such as a darcs importer. We originally did not permit resetting an existing branch with a new `from` command during a `commit` command, but this restriction was only to help debug the hacked up cvs2svn that Jon Smirl was developing in parallel with git-fast-import. It is probably more of a problem to disallow it than to allow it. So now we permit a `from` during any `commit`. While making the changes required to permit multiple `from` commands on the same branch, I discovered we no longer needed the last_commit field to be set to 0 during a reset, so that was removed. (Reset was originally setting the field to 0 to signal cmd_from() that it was OK to execute on the branch.) While poking around in this section of fast-import I also realized the `reset` command was not working as intended if the corresponding `from` command was omitted (as allowed by the BNF grammar and the code). If `from` was omitted we cleared out the tree but we left the tree SHA-1 and parent commit SHA-1 intact. This is not what the user intended in this case. Instead they would be trying to reset the branch to have no parent and to have no tree, making the branch look new-born during the next commit. We now clear these SHA-1 values during `reset`, ensuring the branch looks new-born if `from` does not get supplied. New test cases for these were also added. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 17:17:31 UTC |
b4d2b04 | Junio C Hamano | 12 February 2007, 07:04:00 UTC | Merge git-gui This merges git-gui project of Shawn as a subproject of git.git at git-gui/ subdirectory. This merge only melds two histories together. The toplevel Makefile does not even know about git-gui yet. Signed-off-by: Junio C Hamano <junkio@cox.net> | 12 February 2007, 07:04:00 UTC |
4853534 | Junio C Hamano | 12 February 2007, 06:29:12 UTC | Add discussion section to git-tag documentation. Signed-off-by: Junio C Hamano <junkio@cox.net> | 12 February 2007, 06:29:12 UTC |
2092a1f | Junio C Hamano | 12 February 2007, 06:05:36 UTC | Teach git-am to pass -p option down to git-apply This is originally from Andy Parkins whose patch used --patchdepth; let's use -p which is more in line with the underlying git-apply. Signed-off-by: Junio C Hamano <junkio@cox.net> | 12 February 2007, 06:05:36 UTC |
c5c3fc9 | Junio C Hamano | 12 February 2007, 06:03:55 UTC | Documentation: git-rebase -C<n> Replace -CNUM in Synopsis section with -C<n> to make it consistent with the description text. Signed-off-by: Junio C Hamano <junkio@cox.net> | 12 February 2007, 06:03:55 UTC |
b578e50 | Junio C Hamano | 12 February 2007, 04:34:57 UTC | Merge branch 'master' of git://repo.or.cz/git/fastimport * 'master' of git://repo.or.cz/git/fastimport: bash: Hide git-fast-import. fast-import: Add tip about importing renames. fast-import: Hide the pack boundary commits by default. | 12 February 2007, 04:34:57 UTC |
c6ec3b1 | Shawn O. Pearce | 12 February 2007, 00:55:22 UTC | bash: Hide git-fast-import. The new git-fast-import command is not intended to be invoked directly by an end user. So offering it as a possible completion for a subcommand is not very useful. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 00:55:22 UTC |
c734615 | Shawn O. Pearce | 12 February 2007, 00:50:50 UTC | fast-import: Add tip about importing renames. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 00:50:50 UTC |
bdf1c06 | Shawn O. Pearce | 12 February 2007, 00:45:56 UTC | fast-import: Hide the pack boundary commits by default. Most users don't need the pack boundary information that fast-import was printing to standard output, especially if they were calling it with --quiet. Those users who do want this information probably want it captured so they can go back and use it to repack the imported repository. So dumping the boundary commits to a log file makes more sense then printing them to standard output. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 12 February 2007, 00:45:56 UTC |
0960f7d | Shawn O. Pearce | 11 February 2007, 22:19:38 UTC | git-gui: Stop deleting gitk preferences. Now that git 1.5.0 and later contains a version of gitk that uses correct geometry on Windows platforms, even if ~/.gitk exists, we should not delete the user's ~/.gitk to work around the bug. It is downright mean to remove a user's preferences for another app. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 11 February 2007, 22:19:38 UTC |
d414461 | Michael S. Tsirkin | 09 February 2007, 10:23:23 UTC | Document that git-am can read standard input. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 22:07:47 UTC |
602598f | Mark Levedahl | 09 February 2007, 03:22:24 UTC | Make gitk save and restore the user set window position. gitk was saving widget sizes and positions when the main window was destroyed, which is after all child widgets are destroyed. The cure is to trap the WM_DELETE_WINDOW event before the gui is torn down. Also, the saved geometry was captured using "winfo geometry .", rather than "wm geometry ." Under Linux, these two return different answers and the latter one is correct. [jc: credit goes to Brett Schwarz for suggesting the use of "wm protocol"; I also squashed the follow-up patch to remove extraneous -0 from expressions.] Signed-off-by: Mark Levedahl <mdl123@verizon.net> Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 21:47:55 UTC |
7887432 | Junio C Hamano | 11 February 2007, 21:28:42 UTC | t4016: test quoting funny pathnames in diff output Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 21:28:42 UTC |
e5bfbf9 | Alexandre Julliard | 10 February 2007, 14:39:00 UTC | diff.c: More logical file name quoting for renames in diffstat. Quote both file names separately when printing a rename, yielding something like "foo" => "bar" instead of the current "foo => bar" Signed-off-by: Alexandre Julliard <julliard@winehq.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 21:08:10 UTC |
0d26a64 | Alexandre Julliard | 10 February 2007, 14:37:48 UTC | diff.c: Properly quote file names in diff --summary output. Signed-off-by: Alexandre Julliard <julliard@winehq.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 20:53:05 UTC |
b9f4416 | Alexandre Julliard | 10 February 2007, 14:36:47 UTC | diff.c: Reuse the pprint_rename function for diff --summary output. This avoids some code duplication, and yields more readable results for directory renames. Signed-off-by: Alexandre Julliard <julliard@winehq.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 20:47:22 UTC |
1187d75 | Dotan Barak | 11 February 2007, 15:54:40 UTC | Make it easier to override path to asciidoc command Allow setting the path of asciidoc in only one place when creating the documentation. Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il> Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 20:44:09 UTC |
4f75b11 | Ren,bi(B Scharfe | 11 February 2007, 13:29:58 UTC | Avoid ugly linewrap in git help Some of the short help texts that are shown e.g. when running 'git' without any parameters wrap on a 80-column terminal. They are just one character over the line. This patch avoids it by decreasing the number of spaces around the preceding command name from four to three (on both sides for symmetry). Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 20:42:01 UTC |
b4f020c | Mukund | 10 February 2007, 18:12:01 UTC | Fixed some typos in git-repack docs Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 06:48:57 UTC |
7774284 | Eric Wong | 11 February 2007, 05:07:12 UTC | git-svn: correctly handle boolean options via git-config We don't append a space after '--bool', so we can't expect a regular expression to match the space. Semi-noticed by Junio C Hamano :) Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 06:48:18 UTC |
dfd42a3 | Theodore Ts'o | 11 February 2007, 00:33:58 UTC | Allow aliases to expand to shell commands If the alias expansion is prefixed with an exclamation point, treat it as a shell command which is run using system(3). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 06:46:34 UTC |
f3dd015 | Theodore Ts'o | 11 February 2007, 00:33:57 UTC | Print a sane error message if an alias expands to an invalid git command Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Junio C Hamano <junkio@cox.net> | 11 February 2007, 06:46:30 UTC |
471efb0 | Junio C Hamano | 10 February 2007, 06:18:19 UTC | diff_flush_name(): take struct diff_options parameter. Among the low-level output functions called from flush_one_pair(), this was the only function that did not take (filepair, options) as arguments. Signed-off-by: Junio C Hamano <junkio@cox.net> | 10 February 2007, 06:43:02 UTC |
cc46a74 | Junio C Hamano | 10 February 2007, 00:22:42 UTC | wt_status_prepare(): clean up structure initialization. Otherwise it would be a pain to add members to it. Signed-off-by: Junio C Hamano <junkio@cox.net> | 10 February 2007, 00:26:02 UTC |
02f571c | Junio C Hamano | 09 February 2007, 23:41:35 UTC | git-fetch: document automatic tag following. Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 23:41:35 UTC |
ad34a02 | Nicolas Pitre | 09 February 2007, 17:18:28 UTC | remove mailmap.linux This file is incomplete, unmaintained, and it doesn't belong in the GIT package anyway. A more complete version is already included in the Linux -mm tree and is about to make its way into mainline RSN. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 20:14:40 UTC |
d258985 | David Kågedal | 09 February 2007, 08:22:19 UTC | git-blame.el: Autoupdate while editing This adds the support for automatically updating the buffer while editing. A configuration variable git-blame-autoupdate controls whether this should be enabled or not. Signed-off-by: David Kågedal <davidk@lysator.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 08:52:53 UTC |
96df551 | David Kågedal | 09 February 2007, 08:21:51 UTC | git-blame.el: Doc fixes and cleanup Signed-off-by: David Kågedal <davidk@lysator.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 08:52:53 UTC |
f0f39bb | David Kågedal | 09 February 2007, 08:21:32 UTC | git-blame.el: blame unsaved changes Make git-blame use the current buffer contents for the blame, instead of the saved file. This makes the blame correct even if there are unsaved changes. Also added a git-reblame command. Signed-off-by: David Kågedal <davidk@lysator.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 08:52:53 UTC |
fa88211 | David Kågedal | 09 February 2007, 08:21:03 UTC | git-blame.el: improve color handling Signed-off-by: David Kågedal <davidk@lysator.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 08:52:52 UTC |
9f85fb3 | David Kågedal | 09 February 2007, 08:20:38 UTC | Handle uncommitted changes and cache descriptions Signed-off-by: David Kågedal <davidk@lysator.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 08:52:52 UTC |
f6f125f | Jakub Narebski | 09 February 2007, 08:19:59 UTC | git-blame: Change installation instructions Change installation instructions to using either "(require 'git-blame)" or appropriate autoload instruction in GNU Emacs init file, .emacs This required adding "(provide 'git-blame)" at the end of git-blame.el and adding [preliminary] docstring to `git-blame-mode' function for consistency (to mark function as interactive in `autoload' we have to provide docstring as DOCSTRING is third arg, and INTERACTIVE fourth, and both are optional). `git-blame-mode' is marked to autoload. While at it ensure that we add `git-blame-mode' to `minor-mode-alist' only once (in a way that does not depend on `cl' package). Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 08:52:52 UTC |
b52ba1a | Jakub Narebski | 09 February 2007, 08:19:28 UTC | git-blame: Add Emacs Lisp file headers and GNU GPL boilerplate Add Emacs Lisp file headers, according to "Coding Conventions" chapter in Emacs Lisp Reference Manual and Elisp Area Convetions for EmacsWiki: http://www.emacswiki.org/cgi-bin/wiki/ElispAreaConventions Those include: copyright notice, GNU GPL boilerplate, description and instalation instructions as provided in email and in commit message introducing git-blame.el, compatibility notes from another email by David Kågedal about what to change to use it in GNU Emacs 20, and "git-blame ends here" to detect if file was truncated. First line includes setting file encoding via first line local variable values (file variables). Added comment to "(require 'cl)" to note why it is needed; "Coding Conventions" advises to avoid require the `cl' package of Common Lisp extensions at run time. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 08:52:52 UTC |
9e2586f | Junio C Hamano | 09 February 2007, 07:35:43 UTC | Documentation/git-pull: describe default behaviour and config interactions The way 'git pull' without explicit parameters work were not explained well in any existing documentation. Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 07:35:43 UTC |
d585e78 | Shawn O. Pearce | 09 February 2007, 07:28:32 UTC | git-gui: Focus into blame panels on Mac OS. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 09 February 2007, 07:28:32 UTC |
40facde | Junio C Hamano | 09 February 2007, 07:24:51 UTC | reflog: handle $name => remotes/%s/HEAD mapping consistently for logs When refs/remotes/gfi/master and refs/remotes/gfi/HEAD exist, and the latter is a symref that points at the former, dwim_ref() resolves string "gfi" to "refs/remotes/gfi/master" as expected, but dwim_log() does not understand "gfi@{1.day}" and needs to be told "gfi/master@{1.day}". This is confusing. Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 07:24:51 UTC |
486ef52 | Shawn O. Pearce | 09 February 2007, 06:59:38 UTC | git-gui: Improve annotated file display. Rather than trying to mark the background color of the line numbers to show which lines have annotated data loaded, we now show a ruler between the line numbers and the file data. This ruler is just 1 character wide and its background color is set to grey to denote which lines have annotation ready. I had to make this change as I kept loosing the annotation marker when a line was no longer colored as part of the current selection. We now color the lines blamed on the current commit in yellow, the lines in the commit which came after (descendant) in red (hotter, less tested) and the lines in the commit before (ancestor) in blue (cooler, better tested). Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 09 February 2007, 06:59:38 UTC |
1351ba1 | Shawn O. Pearce | 09 February 2007, 03:41:51 UTC | git-gui: Jump to the first annotation block as soon as its available. To help clue users into the fact that annotation data arrives incrementally, and that they should try to locate the region they want while the tool is running, we jump to the first line of the first annotation if the user has not already clicked on a line they are interested in and if the window is still looking at the very top of the file. Since it takes a second (at least on my PowerBook) to even generate the first annotation for git-gui.sh, the user should have plenty of time to adjust the scrollbar or click on a line even before we get that first annotation record in, which allows the user to bypass our automatic jumping. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 09 February 2007, 03:41:51 UTC |
6910ae8 | Shawn O. Pearce | 09 February 2007, 02:39:27 UTC | git-gui: Redesign the display of annotated files. Using 180 columns worth of screen space to display just 20 columns of file data and 160 columns worth of annotation information is not practically useful. Users need/want to see the file data, and have the anotation associated with it displayed in a detail pane only when they have focused on a particular region of the file. Now our file viewer has a small 10-line high pane below the file which shows the commit message for the commit this line was blamed on. The columns have all been removed, except the current line number column as that has some real value when trying to locate an interesting block. To keep the user entertained we have a progress meter in the status bar of the viewer which lets them know how many lines have been annotated, and how much has been completed. We use a grey background on the line numbers for lines which we have obtained annotation from, and we color all lines in the current commit with a yellow background, so they stand out when scanning through the file. All other lines are kept with a white background, making the yellow really pop. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 09 February 2007, 02:39:27 UTC |
eb3a482 | Johannes Schindelin | 09 February 2007, 00:28:23 UTC | log --reflog: use dwim_log Since "git log origin/master" uses dwim_log() to match "refs/remotes/origin/master", it makes sense to do that for "git log --reflog", too. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 01:48:22 UTC |
e00de24 | Johannes Schindelin | 09 February 2007, 00:43:54 UTC | format-patch -n: make sorting easier by padding number Now, when format-patch outputs more than 9 patches, the numbers are padded accordingly. Example: [PATCH 009/167] The 9th patch of a series of 167 Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 01:47:38 UTC |
df6287e | Shawn O. Pearce | 09 February 2007, 00:53:36 UTC | git-gui: Use git-config now over git-repo-config. Now that core Git has "renamed" git-repo-config to git-config, we should do the same. I don't know how long core Git will keep the repo-config command, and since git-gui's userbase is so small and almost entirely on some flavor of 1.5.0-rc2 or later, where the rename has already taken place, it should be OK to rename now. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 09 February 2007, 00:53:36 UTC |
24d2bf2 | Shawn O. Pearce | 09 February 2007, 00:44:49 UTC | git-gui: Relabel the Add All action. One user that I spoke with recently was confused why the 'Add All' button did not add all of his 'Changed But Not Updated' files. The particular files in question were new, and thus not known to Git. Since the 'Add All' routine only updates files which are already tracked, they were not added automatically. I suspect that calling this action 'Add Existing' would be less confusing, so I'm renaming it. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 09 February 2007, 00:44:49 UTC |
258871d | Shawn O. Pearce | 09 February 2007, 00:41:32 UTC | git-gui: Select subcommands like git does. If we are invoked as `git-foo`, then we should run the `foo` subcommand, as the user has made some sort of link from `git-foo` to our actual program code. So we should honor their request. If we are invoked as `git-gui foo`, the user has not made a link (or did, but is not using it right now) so we should execute the `foo` subcommand. We now can start the single commit UI mode via `git-citool` and also through `git gui citool`. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> | 09 February 2007, 00:41:32 UTC |
4e244cb | Johannes Schindelin | 08 February 2007, 20:58:33 UTC | log --reflog: honour --relative-date If you say "git log -g --relative-date", it is very likely that you want to see the reflog names in terms of a relative date. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net> | 09 February 2007, 00:20:52 UTC |