summaryrefslogtreecommitdiffstats
path: root/fast-import.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-03-09 05:07:49 +0100
committerJunio C Hamano <gitster@pobox.com>2008-03-09 05:07:57 +0100
commitad416ed433fdcf838916a84177fe9e810be19eff (patch)
treedcba56533726b1e791b4c9ab8f44c7f8fd4a1b2e /fast-import.c
parentmerge-tool documentation: describe custom command usage (diff)
parentGIT 1.5.4.4 (diff)
downloadgit-ad416ed433fdcf838916a84177fe9e810be19eff.tar.xz
git-ad416ed433fdcf838916a84177fe9e810be19eff.zip
Merge branch 'maint' to sync with 1.5.4.4
* maint: GIT 1.5.4.4 ident.c: reword error message when the user name cannot be determined Fix dcommit, rebase when rewriteRoot is in use Really make the LF after reset in fast-import optional
Diffstat (limited to 'fast-import.c')
-rw-r--r--fast-import.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fast-import.c b/fast-import.c
index 7f197d5e36..655913ddb2 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -2291,7 +2291,8 @@ static void cmd_reset_branch(void)
else
b = new_branch(sp);
read_next_command();
- if (!cmd_from(b) && command_buf.len > 0)
+ cmd_from(b);
+ if (command_buf.len > 0)
unread_command_buf = 1;
}