git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[ANNOUNCEMENT] two new tools in InterfacesFrontendsAndTools

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
Jul 12, 2011, 19:36 UTC
Message-ID
<CAKPyHN0JFfurvuMxBsqAo2n6m3-Nt3BnWCGaqxMQMiEYqQo4KQ@mail.gmail.com>
Hi everyone,
I added two new tools to the git wiki. Here is a copy of the descriptions:
* git-edit-index[1] is a tool which lets you edit files directly from
the index, without changing the working copy. The temporary file sits
next to the original file, and the index will be updated with the new
content (including the file mode).
* git-build is a tool which records the output from an arbitrary
command, but also the state of the working directory (including
untracked but not ignored files), the start directory used, and the
exit status of the command by creating a commit of these and storing
it in a special ref refs/builds/default. The commit message is the
command. The author date is set to the start date and the committer
date to that of the end date of the command. The reflog is used to
automatically discard old records. My main intention is to use this
for builds, such as './configure && make && make check'. Thats why
this is called git-build, and also to have a command history by using
the reflog. Dumping the environment at command start is on my TODO.
Any other hints what should be recored is welcomed.
Any feedback is welcomed.

Regards, Bert

[1] http://kgb2.thruhere.net/git/?p=bertw/homerc.git;a=blob_plain;f=bin/git-edit-index [2] http://kgb2.thruhere.net/git/?p=bertw/homerc.git;a=blob_plain;f=bin/git-build

Message 1 of 1 in “[ANNOUNCEMENT] two new tools in InterfacesFrontendsAndTools”
  1. Bert WesargJul 12, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.