This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!prefixcmp(argv[i], "--basis=")) { | |
char* new = xmalloc(strlen(argv[i]) - 8 + 2); | |
new[0] = '^'; | |
strcpy(new + 1, argv[i] + 8); | |
argv[i] = new; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vienna:git pieter$ git push repo master | |
Counting objects: 46, done. | |
Compressing objects: 100% (35/35), done. | |
Writing objects: 100% (35/35), 5.67 KiB, done. | |
Total 35 (delta 25), reused 0 (delta 0) | |
error: unable to create temporary sha1 filename ./objects/6d: Permission denied | |
fatal: failed to write object | |
error: unpack failed: unpacker exited with error code | |
To repo.or.cz:/srv/git/git/pieter.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 4c168e77f207bd393c984647dd8fe4563ea711e3 Mon Sep 17 00:00:00 2001 | |
From: Pieter de Bie <pdebie@ai.rug.nl> | |
Date: Mon, 4 Aug 2008 19:21:18 +0200 | |
Subject: [PATCH] builtin-bundle: add a --basis option that specifies a basis | |
While basis can already be specified using the ^ref syntax, a separate | |
parameter is more userfriendly. | |
Signed-off-by: Pieter de Bie <pdebie@ai.rug.nl> | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oeuaou |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def macro_GitLink(macro, args): | |
entry, description = args.split(",", 1) | |
return "<!-- GitLink[" + entry + "] " + description.lstrip() + " -->" + "\n" + \ | |
"<a href='#" + entry + "'></a>" | |
# print macro_GitLink(None, "Hello, this is a, test") | |
# Add this file to data/plugin/macro | |
# (See http://moinmo.in/HelpOnMacros#Writingyourownmacro) | |
# And then we can add FAQ entries in tho GitFAQ page, and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
invalid syntax (GitLink.py, line 3) | |
args = ('invalid syntax', ('/srv/moinwiki/git/data/plugin/macro/GitLink.py', 3, 10, ' return "<!-- GitLink[" + entry + "] " + description.lstrip() + " -->" + "\\n" + \\\n')) | |
filename = '/srv/moinwiki/git/data/plugin/macro/GitLink.py' | |
lineno = 3 | |
msg = 'invalid syntax' | |
offset = 10 | |
print_file_and_line = None | |
text = ' return "<!-- GitLink[" + entry + "] " + description.lstrip() + " -->" + "\\n" + \\\n' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From f5e52704c59ae43f53dace0df063b7c386159aee Mon Sep 17 00:00:00 2001 | |
From: Pieter de Bie <pdebie@ai.rug.nl> | |
Date: Tue, 2 Sep 2008 21:05:48 +0200 | |
Subject: [PATCH] Builtin-commit: show on which branch a commit was added | |
This outputs the current branch on which a commit was created, just for | |
reference. For example: | |
Created commit 6d42875 on master: Fix submodule invalid command error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://pastie.org/272630 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST COMPARISON FROM TO DETAILS | |
============================================================================= | |
** TOTAL **: 1.65x as fast 2041.8ms +/- 0.2% 1233.8ms +/- 0.3% significant | |
============================================================================= | |
3d: 1.33x as fast 284.0ms +/- 0.5% 213.6ms +/- 1.1% significant | |
cube: 1.20x as fast 88.6ms +/- 1.3% 73.6ms +/- 1.5% significant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 86606ef81564f439b3b2539f2af0019cd4ce6744 Mon Sep 17 00:00:00 2001 | |
From: Pieter de Bie <pdebie@ai.rug.nl> | |
Date: Fri, 26 Sep 2008 23:02:49 +0200 | |
Subject: [PATCH] Add a --commit option to the CLI client | |
This changes a lot of code, so quick review: | |
* RepositoryDocumentController now returns the document without selecting a ref | |
* PBGitWindowController now optionally shows the default view, or selects no view at all | |
* PBGitRepository keeps a pointer to its WindowController so that it can change views |