the currently active branch heads will become unpacked,
--
1.8.3.3.754.g9c3c367
Jonathon Mah
m...@jonathonmah.com
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
repository via its
`.git/objects/info/alternates`:
-$ git prune $(cd ../another $(git rev-parse --all))
+$ git prune $(cd ../another git rev-parse --all)
Notes
--
1.8.3.3.754.g9c3c367
Jonathon Mah
m...@jonathonmah.com
--
To unsubscribe from this list: send
The option has been the default for a while, and doesn't otherwise
appear in the page.
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
Forgot sign-off in v1. Also, I was unsure whether to rewrap the lines (and if
so, to how many columns); erred on the side of minimal changes
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
Documentation/git-prune.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-prune.txt b/Documentation/git-prune.txt
index 80d01b0..bf82410 100644
--- a/Documentation/git-prune.txt
+++ b/Documentation/git
a little digging.
Jonathon Mah
m...@jonathonmah.com
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
+ git status --untracked-files=no --porcelain actual
+ test_cmp actual expect
+'
+
test_done
--
1.8.0
Jonathon Mah
m...@jonathonmah.com
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
notes_cache_match_validity call would
dereference NULL.
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
I found an old email where Jeff noted that this would be bad (yet the buffer
manipulation remained).
http://permalink.gmane.org/gmane.comp.version-control.git/188000
builtin/fsck.c
[Adding Jeff King to CC; I meant to copy you in the original but forgot, sorry]
On 2013-01-23, at 14:19, Junio C Hamano gits...@pobox.com wrote:
Jonathon Mah j...@me.com writes:
Add a new function free_object_buffer, which marks the object as
un-parsed and frees the buffer. Only trees
On 2013-01-23, at 23:07, Jeff King p...@peff.net wrote:
On Wed, Jan 23, 2013 at 01:25:04PM -0800, Jonathon Mah wrote:
Several areas of code would free buffers for object structs that
contained them (struct tree and struct commit), but without clearing
the parsed flag. parse_object would
On 2013-01-23, at 23:07, Jeff King p...@peff.net wrote:
On Wed, Jan 23, 2013 at 01:25:04PM -0800, Jonathon Mah wrote:
Several areas of code would free buffers for object structs that
contained them (struct tree and struct commit), but without clearing
the parsed flag. parse_object would
in a 'protected scope'.
Are the objections to using a reference count?
Jonathon Mah
m...@jonathonmah.com
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
The previous message was incorrect when not enough arguments were
specified:
$ git branch -m
fatal: too many branches for a rename operation
I changed to branch name required instead of new branch name required in
the hope
to avoid (it's redundant data, and would slow down backups of my
drive). I found myself git-grepping through parts of the tree, looking
through the results, and then git-showing interesting files. Having a real
object name in the grep output allows copy-and-paste of the object path.
Jonathon Mah
m
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
Adjust prune test directly, much nicer.
t/t5304-prune.sh | 13 +
t/t5710-info-alternate.sh | 4 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/t/t5304-prune.sh b/t/t5304-prune.sh
index e32e46d
for_each_file_in_obj_subdir function swallows ENOENT, so an error only
shows if the alternate's path was last filled with a valid object
(where statting /path/to/existing/00/0bjectfile/00 fails).
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
sha1_file.c | 10 +++---
1 file changed, 7
case to save allocation of only one path.
Updated the test patch.
Jonathon Mah
m...@jonathonmah.com
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
for_each_file_in_obj_subdir function swallows ENOENT, so an error only
shows if the alternate's path was last filled with a valid object
(where statting /path/to/existing/00/0bjectfile/00 fails).
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
sha1_file.c | 10 +++---
1 file changed, 7
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
Messed up the v2 patch, sorry.
t/t5304-prune.sh | 13 +
1 file changed, 13 insertions(+)
diff --git a/t/t5304-prune.sh b/t/t5304-prune.sh
index e32e46d..e825be7 100755
--- a/t/t5304-prune.sh
+++ b/t/t5304-prune.sh
@@ -253,4
for_each_file_in_obj_subdir function swallows ENOENT, so an error only
shows if the alternate's path was last filled with a valid object
(where statting /path/to/existing/00/0bjectfile/00 fails).
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
Squashed test and fix.
sha1_file.c | 10
for_each_file_in_obj_subdir function swallows ENOENT, so an error only
shows if the alternate's path was last filled with a valid object
(where statting /path/to/existing/00/0bjectfile/00 fails).
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
Simplified test per Junio (verified that it fails
for_each_file_in_obj_subdir function swallows ENOENT, so an error only
shows if the alternate's path was last filled with a valid object
(where statting /path/to/existing/00/0bjectfile/00 fails).
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
sha1_file.c | 10 +++---
1 file changed, 7
Signed-off-by: Jonathon Mah m...@jonathonmah.com
---
t/t5710-info-alternate.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t5710-info-alternate.sh b/t/t5710-info-alternate.sh
index 5a6e49d..d82844a 100755
--- a/t/t5710-info-alternate.sh
+++ b/t/t5710-info
onto new-base,
excluding commit old-base (and its parents)
In all cases this would change the order of the arguments compared to --onto,
making it more consistent with the no-option rebase.
What do others think? Is my view of “onto” common or unusual?
Jonathon Mah
m...@jonathonmah.com
Hi git, I've been seeing git segfault over the past few days. I'm on Mac OS X
10.12, 64-bit, compiling with clang (Apple LLVM version 8.0.0 (clang-800.0.40)).
I first noticed it during a checkout, then also during `log -u`. I'm still
debugging, but wanted to give a heads-up in case anyone else
> On 2016-09-14, at 17:56, Jeff King <p...@peff.net> wrote:
>
> On Wed, Sep 14, 2016 at 05:42:29PM -0700, Jonathon Mah wrote:
>
>> Hi git, I've been seeing git segfault over the past few days. I'm on Mac OS
>> X 10.12, 64-bit, compiling with clang (Apple LLVM ver
25 matches
Mail list logo